JSON Input
Output
Convert JSON to CSV, YAML, or XML format instantly. Paste your JSON, select the output format, and copy or download the result. All conversion happens client-side.
Each format has its place: CSV when you need data in a spreadsheet or a quick import into Excel or a database; YAML when a config file should stay human-readable; and XML when a legacy system or SOAP-era integration demands it. The converter parses your JSON first, so malformed input is caught with a clear error instead of producing a broken file.
For CSV output, nested objects are flattened to dot-notation columns and an array of objects becomes one row per object. If your JSON will not parse, check it with the JSON Validator, or read our guide on converting JSON to CSV.
FAQ
How does JSON to CSV handle nested objects?
Nested objects are flattened using dot notation, so {"user": {"name": "Ana"}} becomes a user.name column. If the input is an array of objects, each object becomes a CSV row and the headers are the union of all keys.
Can I convert JSON to YAML or XML too?
Yes. Choose CSV, YAML, or XML as the output format. YAML output preserves nesting and data types, while XML wraps each key in its own element under a root node.
Is my JSON uploaded to a server?
No. All conversion happens in your browser with JavaScript — your data never leaves your machine, so it is safe to convert files that contain private or production data.
What JSON converts best to CSV?
CSV is tabular, so an array of flat objects with consistent keys converts best. Deeply nested or irregular JSON still converts, but produces many dot-notation columns. If the converter reports a parse error, validate your input first with the JSON Validator.