Convert JSON to CSV for Excel, or CSV, XML and YAML to JSON and back. Nested objects become columns. Free, works in your browser, data never uploaded.
Runs in your browser. Your files are never uploaded. How it works
The converter turns JSON into CSV for spreadsheets and turns CSV, TSV, XML or YAML into JSON, in any direction between the five. Paste the data or open a file (an Excel .xlsx works too, see Excel to JSON); the input format is detected, and ⇄ swaps the direction to convert the result back.
How fast
Conversion
Input
Output
Time
JSON → CSV
5,000 nested orders, 660 KB
5,000 rows, 7 columns
0.1 s
XML → JSON
3,000 products with attributes, 299 KB
534,000 characters
0.1 s
YAML → JSON
500 Kubernetes documents, 109 KB
228,000 characters
0.1 s
CSV → JSON
5,000 rows, semicolons, 146 KB
480,000 characters
0.1 s
Chrome on a Core i5-13500H laptop, 30 October 2026, measured from the click to the result.
Three of the test orders: customer.name and customer.city became columns, the items list one cell.
Typical jobs
API response to Excel: paste the JSON, choose CSV, download. Nested fields become their own columns.
Spreadsheet to JSON: save the sheet as CSV, paste it. Numbers, true/false and empty cells become proper JSON values.
Config files: YAML to JSON for a tool that only reads JSON, or the other way round for readability.
Old XML feeds: XML to JSON to work with them in JavaScript.
Keys are joined with a dot: {"user":{"name":"Ana"}} becomes a column user.name. Lists of plain values go into one cell separated by semicolons; lists of objects stay as JSON text in the cell. Converting the CSV back to JSON rebuilds the nesting from the dots.
My JSON is an object, not a list. What happens?
The converter looks for the first list of records inside it, such as data, items or results in an API response, and makes one row per record. A single object becomes one row.
How do I open the CSV in Excel?
Download it: the file is saved as UTF-8 with a byte-order mark, so Excel shows accents and other alphabets correctly. Or choose TSV, copy the result and paste it straight into a sheet.
How is XML converted?
Elements become keys, attributes keys starting with @, and text inside an element with attributes #text. Repeated elements become a list. JSON to XML does the reverse.
Is my data uploaded?
No. Parsing and conversion run in your browser, which matters for API responses, exports and anything with customer data.