JSON to CSV Converter
Flatten JSON into a table, copy it as TSV, or download it as CSV. Conversion runs in your browser. Your data stays on your device.
Exports up to 50,000 data rows.
How to convert JSON to CSV
- Paste a JSON array of objects, an object with one array property containing the rows, or newline-delimited JSON (NDJSON) with one object per line.
- Select Convert to CSV. If the syntax is invalid, use the reported line and column to find the problem.
- Select Download CSV to save the file, or Copy TSV to paste the table into a spreadsheet.
FAQ
How are columns chosen? Columns follow the order in which keys first appear across the exported rows. Nested keys use dots, as in address.city. Missing and null values leave empty cells.
How do arrays appear in cells? Primitive values are joined with a semicolon and space. Arrays containing objects or nested arrays stay as JSON within the cell.
What happens if I paste a single object? If it has exactly one top-level array property, that array supplies the rows and the converter shows its name. Otherwise the object becomes a single row. To keep a single object with an array field as a row, wrap the object in square brackets.
What do the export options do? The UTF-8 BOM helps Excel recognize the CSV file’s encoding. Formula protection adds an apostrophe before formula-like headers and values so spreadsheets can treat them as text.
For tables on web pages, see TableGrab.