JSON → CSV
Turn a JSON array of objects into a CSV file you can open in a spreadsheet.
About this tool
Turn a JSON array of objects into rows and columns — every object becomes a row, every distinct key becomes a column — ready to open in Excel, Google Sheets, or any tool that expects a plain CSV file.
How columns are chosen
Columns come from the union of every key across all objects, in the order each key first appears — not just the keys in the first object. If later rows introduce a field earlier ones don't have, that column still gets added, and earlier rows simply get an empty cell there.
Nested objects and arrays
A spreadsheet cell can't hold a nested structure, so any value that's itself an object or array is serialized to a compact JSON string in that cell rather than being silently dropped or flattened unpredictably — you can see exactly what was there.
Frequently asked questions
What if my objects don't all have the same fields?
That's expected and handled automatically — the column set is the union of every key seen, and any row missing a given field just gets a blank cell for it.
Does it work with a single object instead of an array?
Yes — a single JSON object is treated as a one-row array automatically, so you don't need to wrap it in [ ] yourself.