JSON to CSV
Convert a JSON array of objects into CSV. Runs in your browser with proper RFC 4180 quoting.
Runs in your browser Instant No signup, no tracking
About this tool
Turn a JSON array of flat objects into CSV, ready to open in Excel, Google Sheets, or import into a database. Column headers are the union of every object's keys, so mixed-shape arrays still convert cleanly. Nested objects and arrays are JSON-stringified in place. Values are quoted per RFC 4180. Everything runs in your browser.
Example
Paste the input on the left and you will get output like this:
Sample JSON array
[
{ "id": 1, "name": "Ada Lovelace", "email": "ada@example.com", "active": true },
{ "id": 2, "name": "Alan Turing", "email": "alan@example.com", "active": true },
{ "id": 3, "name": "Grace Hopper", "email": "grace@example.com", "active": false }
]Resulting CSV
id,name,email,active 1,Ada Lovelace,ada@example.com,true 2,Alan Turing,alan@example.com,true 3,Grace Hopper,grace@example.com,false
How to use JSON to CSV
- Paste or type your JSON array into the left pane.
- The CSV appears instantly in the right pane. Conversion runs in your browser — nothing is uploaded.
- Copy the result to your clipboard or download it as a file.
FAQ
- Do I need every object to have the same keys?
- No. The header row is the union of keys across all rows; missing values become empty cells.
- How are nested objects handled?
- They are JSON-encoded into a single cell. Flatten your data first if you want a real column per nested field.
- Which delimiter is used?
- Comma. Convert to TSV with the TSV/CSV tool afterwards if you need tab-separated output.