JSON / CSV / XML Converter

Paste data in any format and convert instantly. Auto-detects JSON, CSV, and XML. Nested JSON is flattened for CSV. Download or copy results with one click — all processing happens in your browser.

Input
Detected format: Paste data below
CSV delimiter: XML root tag: XML item tag:
JSON
CSV
Nested objects are dot-flattened (e.g. address.city). Arrays in values are joined with semicolons.
XML

Frequently Asked Questions

How does the auto-detection work?

The tool inspects the first non-whitespace character. If it's { or [, it tries JSON parsing. If it starts with <, it tries XML. Otherwise it assumes CSV. If parsing fails, an error is shown with details to help you fix the input.

How is nested JSON handled in CSV conversion?

Nested objects are flattened using dot notation. For example, {"address": {"city": "London"}} becomes a column named address.city. Arrays within values are joined with semicolons. Deep nesting is fully supported — there's no depth limit.

Is my data sent to a server?

No. All conversion happens entirely in your browser using JavaScript. Your data never leaves your device. This tool works offline once loaded.

What JSON structures are supported for conversion?

Arrays of objects are the ideal input — each object becomes a row in CSV or an element in XML. A single object is treated as a one-row dataset. Primitive arrays (strings, numbers) are converted to single-column CSV and a simple XML list. Deeply nested arrays of arrays are flattened as best as possible.

Need bulk data conversion via API?

Our API converts JSON, CSV, and XML at scale — process thousands of records per request, with schema validation and custom field mapping.

View API Docs →