Developer
JSON to CSV
Turn a JSON array into CSV without dropping nested values on the floor.
This tool processes files and text locally in your browser. Your content is not uploaded or stored by this site.
Loading the workbench…
What this tool does
The converter expects a JSON array. Each object becomes a row. Nested objects and arrays are stored as JSON text inside a quoted CSV field. Excel-safe mode prefixes formula-like cells with an apostrophe. Transpose swaps rows and columns.
How to use it
- Paste a JSON array of objects.
- Choose a delimiter if Excel in your locale expects a semicolon.
- Turn on Excel-safe if the sheet will be opened in Excel, and BOM if Windows Excel misreads UTF-8.
- Download the CSV or copy it into a spreadsheet.
Supported input
- JSON array of objects or array of arrays, UTF-8, up to 2 MB
Output
- CSV with quoted fields, optional UTF-8 BOM
Privacy
This tool processes files and text locally in your browser. Your content is not uploaded or stored by this site.
ConvertPass does not include your input in analytics, URLs, or error reports. Encoding: UTF-8. Enable BOM if Excel on Windows shows one column or mojibake.. Limit: 2 MB (2.00 MB).
Limitations
- A JSON object that is not an array cannot become CSV without choosing keys to flatten. Flattening is not guessed.
- Column order follows the first row's keys, then extra keys from later rows.
- Excel-safe mode is for stopping formula execution, not for making Excel a database.
Example
[{"name":"Ada","city":"London, UK"},{"name":"Alan","city":"Manchester"}]"name","city" "Ada","London, UK" "Alan","Manchester"
Troubleshooting
- Excel merged everything into one column
- Use Data > From Text and set the delimiter to comma. ConvertPass quotes fields, but Excel's auto-detect can still fail on some locales that expect semicolons.
FAQ
How are commas inside values handled?
Fields are quoted. A city named London, UK stays one cell. That is the core RFC 4180 behaviour this tool is built around.
What happens to nested JSON?
It is stringified into the cell. You will see {"lat":51.5} rather than extra columns. Automatic flattening creates silent data loss, so ConvertPass refuses to invent columns.
Can I use a semicolon delimiter?
Yes. Choose Semicolon in the delimiter control. That is the usual Excel list separator in comma-decimal locales. Comma remains the default.
Are empty arrays allowed?
Yes. The output is an empty CSV with no rows. A header cannot be inferred from empty data.
What does Excel-safe do?
It prefixes cells that look like formulas (=, +, @, |, and non-numeric leading -) with an apostrophe so Excel treats them as text. Plain numbers such as -3 are not prefixed. This is not a malware scanner.
Can I transpose the table?
Yes. Transpose swaps rows and columns before writing CSV. The first row of the result is the original first column.
Related tools
- CSV to JSON
Parse real CSV into JSON without breaking on commas inside quotes.
- JSON formatter
Pretty-print JSON locally, or diff two documents by JSON pointer.
- JSON to YAML
Turn JSON into readable YAML without leaving your machine.
Related guides
Related formats
Last reviewed 16 August 2026. Report a problem. Reports do not include your input.
