Font Metadata Conversion TTF OTF WOFF Subset API
Free tier included · MediaData Format Toolkit API converts between CSV, JSON, XML, XLSX, PDF and RTF, plus cleans, validates, and profiles tabular data. It covers PDF to text, PDF to HTML, RTF to text, CSV/JSON/XML/XLSX conversion, deduplication, schema diffing, markdown and HTML table extraction, YAML/TOML/JSON Lines conversion, with flat pricing and no per-call markup.
Use it to ingest messy third-party exports (CSV, XLSX, PDF statements) into a clean JSON pipeline; to normalise supplier data feeds (JSON↔CSV↔XLSX↔TOML↔YAML↔JSONL) before loading into a data warehouse; to extract tables from HTML/Markdown/PDF reports; or to validate and profile uploaded files in a SaaS onboarding flow. PDF and RTF endpoints extract text and structure; XML validation rejects DTDs and entity declarations (XXE/billion-laughs protection).
The service is stateless and offline: no external network calls, no databases, no request logs. Processing is in-memory with per-instance limits — uploads capped at 20 MB, CSV/JSON at 500 000 rows, XLSX at 100 000 rows, responses at 64 MB, and XLSX archives unpacked to 64 MB with 10 000 zip entries max. Concurrency is bounded by a semaphore (default 2). These are hard limits, not soft quotas.
Endpoints
| Method | Path | What it does |
|---|---|---|
GET | / | API metadata: name, version, and links to the interactive docs and health endpoint. |
GET | /health | Liveness probe; returns status "ok" while the process is up. |
POST | /pdf-to-text | Extract plain text, page count, and metadata from an uploaded PDF file. |
POST | /pdf-to-html | Extract HTML structure, tables, and hyperlinks from an uploaded PDF file. |
POST | /rtf-to-text | Strip RTF formatting tags from an uploaded RTF file and return plain text. |
POST | /csv-to-json | Parse an uploaded CSV file and return its rows as a JSON array of objects. |
POST | /json-to-csv | Convert a JSON array of objects into a CSV file. |
POST | /csv-to-xlsx | Convert an uploaded CSV file into an XLSX workbook. |
POST | /xlsx-to-csv | Read a worksheet of an uploaded XLSX workbook and return it as CSV. |
POST | /clean | Remove duplicate rows, trim whitespace, and drop empty rows from CSV or JSON data. |
POST | /validate | Validate an uploaded CSV, JSON, XML or XLSX file and report its structure. |
POST | /profile | Detect per-column type, missing/unique counts, and numeric ranges for a CSV file. |
POST | /flatten | Flatten a nested JSON object into a single-level map with dot-index keys. |
POST | /unflatten | Rebuild a nested JSON object from dot-index keys produced by /flatten. |
POST | /dedupe | Remove duplicate rows from a CSV file, optionally using selected key columns. |
POST | /html-table-to-csv | Extract one <table> from an HTML document and return it as CSV. |
POST | /schema-diff | Compare two CSV files: added/removed columns and columns whose detected type changed. |
POST | /csv-to-sql | Convert CSV rows into INSERT statements for sqlite or postgres. |
POST | /jsonl-to-json | Parse JSON Lines text and return an array of objects; malformed lines are skipped. |
POST | /json-to-jsonl | Serialise a JSON array as JSON Lines: one line per element. |
POST | /yaml-to-json | Parse YAML text (safe loader) and return the JSON-equivalent object. |
POST | /json-to-yaml | Serialise a JSON object as YAML text. |
POST | /toml-to-json | Parse TOML text and return the JSON-equivalent object. |
POST | /json-to-toml | Serialise a JSON object as TOML text. |
POST | /toml-convert | Auto-detect direction: TOML to JSON or JSON to TOML. |
POST | /md-table-to-csv | Convert a Markdown pipe table to CSV. |
POST | /parquet-to-json | Read a Parquet file and return its records as JSON. |
POST | /json-to-parquet | Convert JSON records to Parquet bytes. |
Quick start
curl -X POST "https://data.p.rapidapi.com/pdf-to-text" \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: data.p.rapidapi.com" \
-F "file=@document.pdf"
FAQ
Are files stored or logged after processing?
No. The API is fully stateless and offline — files are processed in-memory and discarded immediately. No databases, no request logs, no external calls.
What are the hard limits on file size and row counts?
Uploads are capped at 20 MB. CSV/JSON files at 500 000 rows, XLSX at 100 000 rows, responses at 64 MB. XLSX archives are unpacked to a 64 MB limit with 10 000 zip entries max. These are enforced limits, not soft quotas.
Does XML validation protect against XXE and billion-laughs attacks?
Yes. XML with a DTD or entity declarations is rejected anywhere in the document, before parsing.
Can I convert between all supported formats in one call?
Each endpoint handles one conversion direction (e.g., CSV→JSON, JSON→CSV). For multi-step pipelines, chain calls — the API is fast and stateless, so sequential conversions are cheap.
Try Font Metadata Conversion TTF OTF WOFF Subset free
Free tier on every plan. Get an API key and start calling in under a minute.
Open on RapidAPI