JSON to CSV
This tool converts a JSON array of objects into CSV that you can open in a spreadsheet app. Each object becomes a row and each key becomes a column.
- Runs in your browser
- Free, no account needed
- Copy or download the result
Result
The short answer
To turn JSON into CSV, each distinct key across the objects becomes a column and each object becomes a row. If an object lacks a key, its cell is left empty, and nested values are written as JSON text unless you choose to reject them. Fields with commas, quotes or line breaks get double quotes.
FormulaColumns = every distinct key in the array; row i = the values of object i in column order, with missing keys left empty
Worked exampleThe 3 objects give the header name,team,score,tags; Priya Shah has no tags, so her row ends with an empty cell, her null score is written as null, and the tags of Ada Lovelace are written as the quoted JSON text ["lead","remote"].
Example
[{"name":"Ada Lovelace","team":"Research","score":92,"tags":["lead","remote"]},{"name":"Lin Chen","team":"Design","score":85,"tags":[]},{"name":"Priya Shah","team":"Sales","score":null}]name,team,score,tags Ada Lovelace,Research,92,"[""lead"",""remote""]" Lin Chen,Design,85,[] Priya Shah,Sales,null,
How to use the json to csv
- Paste a JSON array of objects into the JSON array of objects box.
- Set Separator, Nested values and Null values.
- Choose Formula-like text: Protect or Keep exact.
- The CSV updates as you type. Press Copy result, or Download to save it.
How it works
Every key found in any object becomes a column. If an object lacks a key, that cell is left blank.
Nested objects and arrays are written as JSON text inside the cell by default. Choose Reject under Nested values to stop with an error instead.
Null cells can be written as the word null or left blank.
The formula option adds an apostrophe before text that starts with =, +, - or @, so a spreadsheet will not run it as a formula. Plain numbers like -5 are left alone.
The input must be a nonempty array that holds only objects, with 1 to 500 different keys in total.
Everything runs in your browser. Your input is not uploaded or stored. If you use Copy link, what you entered is placed in the link.
Questions and answers
How do I convert JSON to CSV?
Paste a JSON array such as [{"name":"Ada"}] and choose your options. The first line of the result is the header row.
What happens to nested JSON?
With JSON in cell, a nested object or array is stored as JSON text in one cell. To see each nested value on its own line with its path, use the JSON flattener.
Why is there an apostrophe before some cells?
Text that starts with =, +, - or @ can run as a formula when opened in a spreadsheet. The apostrophe keeps it as plain text, and you can turn this off with Keep exact.
Is my data sent to a server?
No. Your JSON stays in your browser while it is converted.
Last updated November 1, 2026. Maintained by SnowRock. How our tools work
All 220 SnowRock tools