JSON to CSV Converter
Convert JSON to CSV: an array of objects becomes a table with a column per key. Nested objects are flattened to columns like address.city.
Runs in your browser. What you enter is kept for 30 days to improve Toolgrid, then deleted.
How to use the JSON to CSV Converter
- 1 Paste JSON or open a .json file.
- 2 Choose the delimiter and whether to flatten nested objects.
- 3 Copy or download the CSV and open it in a spreadsheet.
About the JSON to CSV Converter
The converter turns JSON data into a CSV table: every object in an array becomes a row and every key a column. Keys that only some objects have still get a column; the other rows leave it empty. The columns appear in the order the keys are first seen.
Nested objects are flattened into columns with a dot, so {"address": {"city": "Utrecht"}} becomes a column address.city. Lists of simple values are joined with commas in one cell; lists of objects are written as JSON. Turn flattening off to write every nested object as JSON in one cell.
API responses that wrap the records in one key, such as {"data": [ … ]}, are unwrapped automatically. An array of arrays is written row by row, and a single object becomes a table with one row.
Frequently asked questions
What happens to nested arrays?
Lists of plain values become one cell with the values separated by commas. Lists of objects are written as JSON text in the cell.
Why are some columns empty for some rows?
Those records do not have that key. CSV needs the same columns for every row, so missing values are left empty.
How do I open the CSV in Excel?
Download it and open it. If all data ends up in one column, choose the semicolon as delimiter, which European Excel versions expect.
Are numbers written correctly?
Yes, numbers are written as in JSON, without rounding. true and false are written as text, and null as an empty cell.