Data Format Converter - CSV, JSON, XML Transformation
Pricing
$30.00 / 1,000 data converteds
Data Format Converter - CSV, JSON, XML Transformation
Convert data between common formats: CSV, JSON, and XML. Bulk transform files without manual work.
Pricing
$30.00 / 1,000 data converteds
Rating
0.0
(0)
Developer
daehwan kim
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share
Data Format Converter
Convert between CSV, JSON, and XML formats instantly. Supports URL input or direct text. Perfect for ETL pipelines and data engineering workflows.
Features
- Multi-format conversion: CSV ↔ JSON ↔ XML
- Flexible input: URL or direct text
- Customizable delimiters: Support any CSV delimiter
- Pretty printing: Optional formatting for JSON/XML
- Open source: Built with papaparse and fast-xml-parser
- Pay-per-use pricing: $0.03 per conversion event
Input Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
inputUrl | string | No | — | URL to the input file (CSV, JSON, or XML) |
inputText | string | No | — | Paste your data directly here if no URL |
sourceFormat | enum | Yes | csv | Format of input data: csv, json, or xml |
targetFormat | enum | Yes | json | Format to convert to: csv, json, or xml |
delimiter | string | No | , | Delimiter character for CSV (only for CSV input/output) |
prettyPrint | boolean | No | true | Format JSON/XML output for readability |
Note: Either inputUrl or inputText is required.
Output
The actor returns a dataset with the following fields:
| Field | Type | Description |
|---|---|---|
sourceFormat | string | Input format (csv, json, or xml) |
targetFormat | string | Output format (csv, json, or xml) |
inputRows | integer | Number of rows/items in input |
outputText | string | Converted output data |
outputSize | integer | Output size in bytes |
disclaimer | string | Data accuracy disclaimer |
Pricing
$0.03 per conversion event — charged once per successful conversion regardless of data size.
Examples
Example 1: CSV to JSON (Direct Text)
{"inputText": "name,age,city\nAlice,30,Seoul\nBob,25,Busan","sourceFormat": "csv","targetFormat": "json","prettyPrint": true}
Output:
[{"name": "Alice","age": "30","city": "Seoul"},{"name": "Bob","age": "25","city": "Busan"}]
Example 2: JSON to CSV (URL Input)
{"inputUrl": "https://example.com/data.json","sourceFormat": "json","targetFormat": "csv","delimiter": ";"}
Example 3: XML to JSON
{"inputUrl": "https://example.com/data.xml","sourceFormat": "xml","targetFormat": "json","prettyPrint": true}
Disclaimer
This tool converts data between common formats using open source libraries. Output accuracy depends on input data structure and encoding. Complex nested structures may not convert perfectly between all formats. Always validate converted data before use in production systems.
Libraries Used
- papaparse (MIT) — CSV parser and serializer
- fast-xml-parser (MIT) — XML parser and builder
- apify (Apache 2.0) — Apify SDK
License
Open source. Libraries used under their respective licenses (MIT, Apache 2.0).