How to use
Paste JSON into the box or open a file. A table preview and the CSV appear below right away — copy it or download it as a file. Everything runs in your browser; the file isn’t uploaded.
The converter understands:
- an array of objects
[{...}, {...}]— one table row per object; - an object with an array inside — like an API response
{"data": [...], "meta": {...}}: rows come from the array, and if there are several arrays you can pick one; - a single object — one row;
- JSON Lines — one object per line, as in log and MongoDB exports.
How nested data becomes columns
- Nested objects spread into columns joined with a dot:
{"address": {"city": "Lisbon"}}→ columnaddress.city. - Arrays of values — your choice: one cell joined with “; ” (
a; b), separate columnstags.0,tags.1, or a JSON string["a","b"]. - Arrays of objects always go into the cell as a JSON string, so nothing is lost.
- Objects with different fields — columns are collected from every object in order of appearance; a missing field leaves the cell empty.
Opening the file in Excel
The default delimiter here is a comma, which Excel in the US and UK expects. In countries that use a decimal comma — most of Europe and Latin America — Excel usually expects semicolons between columns instead, so choose “;” there. The “For Excel” option adds a UTF-8 byte order mark so Excel shows accented and non-Latin letters correctly. For Excel it’s often simpler to get an XLSX file right away — numbers stay numbers whatever the settings.
FAQ
What if my JSON is an object, not an array? If there’s an array of objects inside, rows come from it; otherwise the whole object becomes one row.
How large a file can I open? There’s no limit beyond your browser’s memory; large files just take longer. The preview shows the first 50 rows; the CSV has all of them.
Why aren’t all values quoted? Quotes are added only where the CSV standard (RFC 4180) needs them: when a value contains the delimiter, a quote or a line break.
How do I convert back? Use the CSV to JSON converter.