JSON to CSV
Flatten an array of objects into a table.
Loading tool
Give it an array of similar objects and get a spreadsheet-friendly CSV. Nested objects become dotted headers.
How to use this tool
- Paste the snippet. Drop JSON, code, or a token into the input. It is not sent to a server.
- Run the action. Format, decode, or generate. Parse errors stay on the page.
- Copy the output. Copy the result back into your editor or terminal.
Shape
The first object's keys set the default columns. Missing keys become empty cells. Arrays of primitives become a single column.
Frequently asked
How are commas inside fields handled?
Fields are quoted and internal quotes are doubled, per RFC 4180.
Can I pick a delimiter?
Comma, semicolon, or tab.
What if the JSON is one object?
It is treated as a single-row table.
Are dates left as ISO strings?
Yes. There is no spreadsheet date serial.
Is the file sent to a server?
No.