How to convert JSON to CSV
Create CSV rows from structured JSON for viewing, spreadsheet analysis or plain-text interchange. A typical input is an array of objects; the converter combines the objects’ property names into a common set of columns.
- Paste the JSON or open the file.
- Choose an array where each object represents a row.
- Convert, then check the column names, blanks and nested values before copying or downloading the CSV.
Example input
[{"sku":"00104","item":"Notebook"},{"sku":"00105","item":"Pencil"}]Example use
Turn an inventory API response into a spreadsheet. If the records are under a larger property such as items, select that array first. If records have an embedded address object, inspect the JSON text stored in the address column.
Output and compatibility
CSV stores a flat grid. Nested objects and arrays are written as JSON text inside cells. Missing fields create blank cells where relevant. Spreadsheet software can reinterpret identifiers, dates and values after import even if the CSV itself is correct.
Troubleshooting
If you get a column containing the whole records array, isolate the array you want first. If a spreadsheet changes 00104 into 104, import that column as text or try JSON to Excel from the source. Check long numeric IDs before converting because ordinary JSON parsing can round large numeric literals.
Use CSV Viewer to check the finished table or Select CSV Columns to prepare a smaller export.
Frequently asked questions
Can I convert nested JSON to CSV?
Nested objects and arrays are kept as JSON text in a cell.
What if records have different fields?
Columns are gathered from the records, with blanks where values are missing.
Should I paste the outer API response object?
For one row per record, use the array of records inside that object.
Will CSV keep long numbers exactly?
Use quoted strings for identifiers requiring exact digits and verify the output after import.
Is the output directly editable in Excel?
Excel can open CSV; choose text import for columns that must preserve their displayed characters.
Can I convert newline-delimited JSON?
Run NDJSON to JSON first to build a JSON array.