Data Format Converter - CSV, JSON, XML Transformation avatar

Data Format Converter - CSV, JSON, XML Transformation

Pricing

$30.00 / 1,000 data converteds

Go to Apify Store
Data Format Converter - CSV, JSON, XML Transformation

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

daehwan kim

Maintained by Community

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

ParameterTypeRequiredDefaultDescription
inputUrlstringNoURL to the input file (CSV, JSON, or XML)
inputTextstringNoPaste your data directly here if no URL
sourceFormatenumYescsvFormat of input data: csv, json, or xml
targetFormatenumYesjsonFormat to convert to: csv, json, or xml
delimiterstringNo,Delimiter character for CSV (only for CSV input/output)
prettyPrintbooleanNotrueFormat JSON/XML output for readability

Note: Either inputUrl or inputText is required.

Output

The actor returns a dataset with the following fields:

FieldTypeDescription
sourceFormatstringInput format (csv, json, or xml)
targetFormatstringOutput format (csv, json, or xml)
inputRowsintegerNumber of rows/items in input
outputTextstringConverted output data
outputSizeintegerOutput size in bytes
disclaimerstringData 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

License

Open source. Libraries used under their respective licenses (MIT, Apache 2.0).