JSON to CSV Converter – Convert JSON Arrays to Excel-Ready CSV
Turn JSON data from an API or export into a CSV file you can open in Excel or Google Sheets. Nested fields are flattened into columns automatically.
Paste a JSON array of objects. Every key becomes a column and every object a row; nested objects become columns like address.zip, and arrays are kept as JSON text. Choose a comma, a semicolon (for Excel in many European languages) or a tab, preview the table and download the CSV.
How to use JSON to CSV Converter
- Paste your JSON array.
- Choose the delimiter.
- Check the preview table.
- Click “Download CSV” or copy the CSV text.
- Open the file in Excel, Google Sheets or Numbers.
How the conversion works
CSV is a flat table, JSON can be deeply nested. The converter:
- uses each object as one row;
- collects all keys from all objects as columns, so rows with missing fields get empty cells;
- flattens nested objects with dots: {"address": {"zip": "1000"}} becomes a column address.zip;
- keeps arrays as JSON text in one cell, for example ["a","b"];
- quotes values that contain the delimiter, quotes or line breaks, following RFC 4180.
If you paste an object instead of an array, the converter looks for the first array inside it (for example a data or items field), which is how many APIs wrap their results.
Example
| JSON | CSV |
|---|---|
| {"name":"Ana","age":31} | name,age → Ana,31 |
| {"address":{"zip":"1000"}} | address.zip → 1000 |
| {"tags":["a","b"]} | tags → "[""a"",""b""]" |
Comma or semicolon?
In countries that use a comma as the decimal separator — Germany, France, Spain, Brazil and many more — Excel expects semicolons between columns. If your CSV opens with everything in column A, switch to semicolon and download again. Tabs work everywhere and avoid the problem entirely.
Excel and special characters
The downloaded file starts with a UTF-8 byte-order mark, so Excel shows accents, € signs and other characters correctly instead of garbled text.
Large files and privacy
Everything is processed in your browser, so customer lists and exports never leave your computer. The preview shows the first 50 rows, while the CSV contains all of them. To clean up or validate the JSON first, use the JSON Formatter. Working with API tokens too? The JWT Decoder reads them.
Going the other way
If you edit the data in a spreadsheet and need JSON again, export the sheet as CSV and convert it with a script or a CSV to JSON tool. Keep the column headers unchanged so the field names match the original structure. For nested fields, the dotted column names make it easy to rebuild the original objects, because each part of the name stands for one level of nesting.
You may also find these free tools useful: JSON Formatter, Password Generator and Regex Tester.
Frequently asked questions
How do I convert JSON to CSV?
Paste a JSON array of objects, choose a delimiter and click “Download CSV”.
What happens to nested JSON?
Nested objects become columns joined with dots, like address.zip. Arrays are kept as JSON text in one cell.
Why does Excel show everything in one column?
Your Excel expects semicolons. Choose “Semicolon” and download again, or use Tab.
Will accents and special characters work in Excel?
Yes. The file includes a UTF-8 marker so Excel reads it correctly.
Is my data uploaded?
No. The conversion runs entirely in your browser.
Last updated: