JSON to CSV Converter
Converts an array of JSON objects into CSV, flattening nested objects into dotted column names.
Loading the tool…
How to use this tool
- Paste an array of JSON objects. A single object is treated as one row.
- Pick the delimiter and how scalar arrays should be joined into a cell.
- Select Convert to CSV, or Preview as table to check the columns first.
- Download the CSV and open it in your spreadsheet.
What json to csv does
An API returns an array of objects; a spreadsheet wants rows and columns. The conversion is straightforward when every object has the same keys, and the interesting part is what happens when they do not. This converter takes the union of every key it sees, so an object missing a field produces an empty cell rather than a shifted row.
Nested objects are flattened into dotted column names, so profile.city becomes a column called profile.city. Arrays of scalars are joined with a separator you choose, because a CSV cell cannot hold a list. Arrays of objects have no honest flat representation, so they are serialised back to JSON inside the cell and left for you to deal with deliberately.