Turn JSON into CSV
Paste an array of objects and get a spreadsheet-ready CSV, with the quoting and the awkward characters handled. Nothing is uploaded.
- Free, no account
- Nothing is uploaded
- Runs in your browser
How it works
- 1 What goes in JSON records
- 2 It runs in your browser On your own device. Nothing is uploaded, there is no queue and no account, and it keeps working with the network switched off.
- 3 What comes back A CSV a spreadsheet will open
What it does
Paste an array of objects and get CSV that opens cleanly in a spreadsheet. Columns are worked out from every row rather than the first, nested values are flattened with a readable path, and the quoting is done properly so a comma inside a value does not become a new column.
This page does the work itself. Your file is handled by the browser and never sent anywhere — there is no server here to send it to.
Questions
Why read every row for the columns?
Because the first row is rarely the whole story. A field that is missing from record one and present in the other four hundred would be silently dropped by a converter that only looks at the first, and you would not find out until the column you needed was not there.
What happens to nested objects?
They are flattened into a column per leaf, with the path as the heading — user.address.city rather than a JSON blob in a cell. Arrays of scalars are joined with a semicolon, because a comma inside a CSV cell is an argument nobody wins.
Why is there a byte order mark option?
Because Excel on Windows opens a UTF-8 CSV as if it were the local codepage unless the file starts with one, which turns every accent and every emoji into mojibake. It is on by default for that reason and off if you are feeding the file to something that does not want it.
Which delimiter should I use?
Comma unless your spreadsheet is set to a locale that uses a comma for decimals — much of Europe — in which case semicolon is what Excel expects and comma will put your whole row in one cell. Tab is the safe choice when you are pasting straight into a sheet.
More data tools
-
Data
JSON formatter
Format, minify, sort and validate JSON in your browser.
-
Data
CSV ⇄ JSON
Convert CSV to JSON and JSON to CSV in your browser.
-
Data
JSON → TypeScript
Paste JSON and get TypeScript interfaces back, with nested objects named, array element types unified and optional keys marked.
-
Data
Unit converter
Type once and see every unit at once — length, weight, temperature, volume, speed, area and data.
-
Data
Tip calculator
Work out the tip and what each person owes, with the awkward rounding done for you.
-
Data
Open a ZIP
See what a ZIP holds before opening it — how many files, how large, which are encrypted or escape their folder — then save what you want.
-
Data
Make a ZIP
Put any files into one compressed ZIP that opens on every system, accented names and all — stored as is where compressing would not help.
-
Data
Excel to CSV
Every sheet of an .xlsx becomes a CSV — values as the cells show them, dates as real dates, comma, semicolon or tab.
-
Data
CSV to Excel
One CSV makes a workbook, several make one workbook with a sheet each.