How to use it
- Choose JSON to CSV or CSV to JSON.
- Paste your data or open a file.
- Pick the delimiter (comma by default).
- Copy the result or download it as a file.
JSON to CSV
Paste a JSON array of objects, the shape most APIs return, and each object becomes a row and each key a column:
[{"name": "Emily Johnson", "city": "Austin", "age": 34, "address": {"zip": "78701"}}]
becomes
| name | city | age | address.zip |
|---|---|---|---|
| Emily Johnson | Austin | 34 | 78701 |
- Nested objects are flattened into dotted column names like
address.zip. - Arrays of simple values become a comma-separated list in one cell; arrays of objects are kept as JSON text.
- If objects have different keys, every key gets a column and missing values are left empty.
- If you paste a single object that contains exactly one list of records (for example
{"data": [...]}), that list is used.
CSV to JSON
Switch the direction and paste CSV with a header row. Each row becomes a JSON object whose keys come from the header. The delimiter is detected automatically, or you can pick comma, semicolon or tab yourself.
With Detect numbers and true/false on, values like 34, -2.5, true and false become real JSON numbers and booleans instead of strings. Turn it off when you need to keep leading zeros, for example in ZIP codes like 02134, product codes or phone numbers.
Quoted fields are handled according to RFC 4180, so commas and line breaks inside quotes stay part of the value.
When to use JSON and when CSV
JSON is the native format of web APIs and JavaScript. It handles nested data, lists, types (numbers, booleans, null) and Unicode cleanly, which makes it the right choice for configuration, API payloads and anything a program reads.
CSV is the lowest common denominator for tables. Every spreadsheet, database and BI tool can import it, it is easy to scan by eye, and it stays small for large numbers of rows. It is the format to hand to a colleague who wants to filter, sort or chart data in Excel or Google Sheets.
A typical workflow: call an API, save the JSON response, convert it to CSV here, and open it in a spreadsheet for analysis. If you then need to send corrected data back to the API, convert the edited CSV back to JSON.
Opening the CSV in Excel or Google Sheets
- Google Sheets: File → Import → Upload, then let Sheets detect the separator.
- Excel (US settings): double-click the downloaded
.csvfile. Comma is the default list separator in US regional settings, so columns split correctly. - Excel with European regional settings expects semicolons. Choose Semicolon as the delimiter if your colleagues use those settings.
If accented characters look garbled in Excel, the file was read with the wrong encoding. Use Data → From Text/CSV and choose UTF-8, or open the file in our CSV viewer and save it with a byte order mark (BOM).
Tips and limits
- Check your JSON first: if conversion fails, the error message points to the problem. The JSON formatter shows the exact line and column.
- CSV has no types: everything is text until a program interprets it. Dates and long numbers may be reformatted by Excel when you open the file.
- Deeply nested data, such as orders containing line items, does not fit a flat table well. Consider exporting one CSV per level.
- Everything runs locally in your browser. Customer lists and exports never leave your computer.
Frequently asked questions
How do I convert JSON to CSV?
Paste a JSON array of objects, keep JSON to CSV selected, and copy or download the result. Each object becomes a row.
What happens to nested objects?
They are flattened into columns with dotted names, such as address.zip.
Which delimiter should I use for Excel?
With US regional settings, use comma. If Excel puts everything in one column, your settings expect semicolons; pick Semicolon instead.
Can I convert CSV back to JSON?
Yes. Choose CSV to JSON and paste CSV with a header row. Numbers and true/false can be detected automatically.
Is my data uploaded?
No. The conversion runs entirely in your browser.
Last updated: November 12, 2026