VOOZH about

URL: https://apify.com/accurate_pouch/data-converter

⇱ Data Converter β€” JSON, CSV & XML Β· Apify


πŸ‘ Data Converter β€” JSON, CSV & XML avatar

Data Converter β€” JSON, CSV & XML

Pricing

$4.00 / 1,000 conversions

Go to Apify Store

Data Converter β€” JSON, CSV & XML

Convert between JSON, CSV, and XML formats in bulk. JSON to CSV, CSV to JSON, JSON to XML, XML to JSON. Handles quoted fields, nested objects. $0.003/conversion.

Pricing

$4.00 / 1,000 conversions

Rating

0.0

(0)

Developer

πŸ‘ Manchitt Sanan

Manchitt Sanan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a month ago

Last modified

Categories

Share

Data Converter -- JSON, CSV & XML

Convert between JSON, CSV, and XML formats in bulk. Handles quoted fields, commas in values, nested objects. No external dependencies -- pure Node.js implementation.

Quick Start

{
"items":[
{
"data":"[{\"name\":\"Alice\",\"age\":30,\"city\":\"New York\"},{\"name\":\"Bob\",\"age\":25,\"city\":\"London\"}]",
"operation":"json-to-csv"
},
{
"data":"name,age,city\nAlice,30,New York\nBob,25,London",
"operation":"csv-to-json"
},
{
"data":"[{\"name\":\"Alice\",\"age\":30}]",
"operation":"json-to-xml",
"options":{"rootElement":"people","itemElement":"person"}
},
{
"data":"<people><person><name>Alice</name><age>30</age></person></people>",
"operation":"xml-to-json"
}
]
}

Input Reference

FieldTypeRequiredDescription
itemsarrayYesArray of conversion items
items[].datastringYesData string to convert (or URL to fetch from)
items[].operationstringYesOne of: json-to-csv, csv-to-json, json-to-xml, xml-to-json
items[].optionsobjectNoOptional conversion settings

Options

OptionTypeDefaultDescription
delimiterstring,CSV delimiter character
rootElementstringrootXML root element name
itemElementstringitemXML item element name
includeHeaderbooleantrueInclude header row in CSV output

Operations

  • json-to-csv: Converts a JSON array of objects to CSV format. Flattens nested objects with dot notation.
  • csv-to-json: Parses CSV (with proper quoted field handling) into a JSON array of objects.
  • json-to-xml: Converts a JSON array of objects to XML with configurable element names.
  • xml-to-json: Parses simple XML into a JSON array of objects.

Output Example

{
"index":0,
"operation":"json-to-csv",
"input":"[{\"name\":\"Alice\",\"age\":30}]",
"output":"name,age\nAlice,30",
"success":true
}

Error Output

{
"index":1,
"operation":"csv-to-json",
"input":"",
"output":null,
"success":false,
"error":"Data content is required"
}

Pricing

  • $0.003 per conversion (per item in the input array)
  • No free tier
  • Pay-per-event billing via Apify platform

Related Tools by manchittlab

You might also like

Data Format Converter - CSV, JSON, XML Transformation

ntriqpro/data-format-converter

Convert data between common formats: CSV, JSON, and XML. Bulk transform files without manual work.

XML to JSON Converter

eloquent_mountain/xml-to-json-converter

XML to JSON Converter Convert any XML file to JSON effortlessly with this Apify actor. Handle complex XML structures and transform them into structured JSON data. Supports input via URL or direct text paste, making it easy to integrate into your data processing workflows.

JSON To XML Converter

zsoftware/json-to-xml-converter

Easily convert structured JSON data into well-formed XML. This actor accepts raw JSON text or a file and outputs clean, standards-compliant XMLβ€”perfect for data transformation pipelines, integrations, or legacy system compatibility.

XML to JSON Converter

rainminer/xml-to-json-converter

Parse XML documents to structured JSON. Accepts a URL or raw XML string. Automatically unwraps repeated elements into individual dataset rows. Built for AI agents and data pipelines.

JSON to CSV Converter

eloquent_mountain/json-to-csv-converter

JSON to CSV Converter. Effortlessly transform JSON data into CSV with our Apify actor. Handle nested structures, expand lists into rows, and customize separators and delimiters. Input via URL or paste JSON text. Ideal for data analysis and reporting!

CSV to JSON Converter

rainminer/csv-to-json-converter

Parse XML documents to structured JSON. Accepts a URL or raw XML string. Automatically unwraps repeated elements into individual dataset rows. Built for AI agents and data pipelines.

RSS / XML Scraper

jupri/rss-xml-scraper

πŸ’« Scrape RSS / XML / Sitemap or other XML

Universal Data Structure Converter

moving_beacon-owner1/my-actor-63

A production-grade Apify actor that converts between HTML, XML, CSV, YAML, and JSON formats. Supports 9+ conversion types with smart auto-detection, nested JSON flattening, HTML table scraping, batch URL processing, and full customization.

2

Related articles

How to parse XML in JavaScript (step-by-step guide)
Read more
How to parse JSON with Python
Read more
How to parse JSON in JavaScript
Read more