Data Format Converter โ JSON YAML XML TOML CSV
Pricing
from $0.0015 / file converted
Data Format Converter โ JSON YAML XML TOML CSV
Convert structured data between JSON, YAML, XML, TOML, NDJSON and CSV. Paste raw data or point at a file URL, auto-detect the source format, and get a clean converted document plus a dataset row.
Pricing
from $0.0015 / file converted
Rating
0.0
(0)
Developer
hiper soft
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share
Data Format Converter โ JSON, YAML, XML, TOML, NDJSON & CSV
Convert structured data between JSON, YAML, XML, TOML, NDJSON and CSV โ paste it in or point at a file URL, and get a clean converted document back.
What it does
- Converts between JSON, YAML, XML, TOML, NDJSON and CSV in any direction.
- Auto-detects the source format so you don't have to specify it.
- Accepts raw text or a file URL to fetch and convert.
- Runs a batch of many conversions in a single run.
- Returns the converted document as a downloadable file plus a tidy dataset row for each conversion.
Use cases
- No-code pipelines (n8n / Make / Zapier) โ run this from the Apify node, then pass the converted output straight to the next step (a webhook, a database, a file store).
- APIs & integrations โ turn a YAML config or an XML feed into JSON your app can consume.
- Data prep โ flatten JSON or NDJSON into CSV for spreadsheets and BI tools.
- Migrations โ move config or fixtures between formats when switching tools.
Input
{"data": "{\"name\":\"Ada\",\"roles\":[\"admin\",\"dev\"]}","from": "auto","to": "yaml"}
Batch mode:
{"items": [{ "data": "a,b\n1,2", "from": "csv", "to": "json" },{ "data": "name: Ada", "from": "yaml", "to": "xml" }]}
| Field | Type | Description |
|---|---|---|
data | string | Raw source document to convert. Provide this or fileUrl. |
fileUrl | string | Public URL of a file to fetch and convert (used when data is empty). |
from | string | Source format: auto, json, yaml, xml, toml, ndjson, csv. |
to | string | Target format: json, yaml, xml, toml, ndjson, csv. |
items | array | Optional batch of { data, from, to } objects for many conversions in one run. |
Output
Each converted document is saved to the run's key-value store and a row is pushed to the dataset.
{"from": "json","to": "yaml","bytes": 34,"resultUrl": "https://api.apify.com/v2/key-value-stores/.../records/converted-0001.yaml","ok": true}
Output schema
| Field | Type | Description |
|---|---|---|
from | string | Detected or specified source format. |
to | string | Target format the document was converted to. |
bytes | integer | Size of the converted document in bytes. |
resultUrl | string | Direct link to download the converted file. |
ok | boolean | Whether the conversion succeeded. |
FAQ
Which formats are supported? JSON, YAML, XML, TOML, NDJSON and CSV โ in any direction.
Do I have to set the input format? No. Leave from on auto and it is detected for you.
Can I convert many documents at once? Yes โ pass an items array and each is converted and saved separately.
Can I use it in n8n? Yes. Trigger it from the Apify node and pass the output to the next step. See Apify integrations and the Apify API.
Notes
Original clean-room implementation.