Convert JSON to CSV
Turn API responses and JSON exports into a table for Excel or Google Sheets – the conversion runs in your browser and your file stays on your device.
- Free
- No sign-up
- No ads
A list of objects becomes a table: one row per object, with a column for every key that appears in any of the objects. Nested objects are flattened into dot-notation columns – {"address": {"city": "Boston"}} becomes “address.city” – and arrays such as ["red", "blue"] are kept as JSON text in a single cell. The file is comma-separated, uses a decimal point and is saved as UTF-8 with a byte order mark, so Excel displays accented characters correctly.
Frequently asked questions
What happens to nested objects and arrays?
Nested objects become their own columns in dot notation, for example “address.city” or “address.geo.lat”. Arrays of strings, numbers or objects are written as JSON text into one cell, such as ["red","blue"], so no value is lost even if it contains commas.
Which JSON structure does the converter expect?
Ideally an array of objects, like a typical API response. A single object becomes one row, an array of arrays turns directly into rows and cells, and an array of plain values becomes a column named “value”. If the array is wrapped in an object that contains nothing else, such as {"data": […]}, that array is used.
Why does Excel put my CSV in one column?
Excel opens CSV files with the list separator from your Windows region settings. Where the decimal separator is a comma, as in Germany, that list separator is a semicolon, so a comma-separated file can end up in a single column. In that case, use Data > From Text/CSV in Excel and choose the comma, or use the German version of this page, which writes semicolons and decimal commas.
How are numbers, true/false and null written?
Numbers keep their decimal point, for example 1234.5. true and false are written as text, and null becomes an empty cell.