JSON to CSV Converter
Paste a JSON list and get a table you can open in Excel, Numbers or Google Sheets. The work happens in your browser, so the data is never uploaded.
- Private: nothing uploaded
- Free
- No sign-up
Runs in your browser. Your files never leave your device.
Paste JSON, or drop a file above. An array of objects works best.
How to use it
Drop a .json file on the box or paste the JSON straight into the text box.
The table and the CSV build themselves as soon as the JSON is valid. There is no Convert button.
Pick a comma, semicolon or tab if the program that will open the file needs a different separator.
Check the preview, then press Download .csv or Copy to take the CSV with you.
About this tool
JSON is how most apps and web services hand data around. A CSV file is what most spreadsheets and accounting programs expect. Turning one into the other sounds trivial until a record has three levels of nesting, and that is exactly where this page helps. It reads the JSON, flattens it into columns, shows a preview and builds a CSV file, all inside your browser tab.
How a list becomes a table
The usual shape is an array of objects, where every object is one row. The tool collects every key it finds across all the rows, in the order it first appears, and uses those keys as column names. If one row has a field that another row is missing, the empty cell is simply blank instead of breaking the layout. A single object, rather than an array, becomes a one row table. A plain list of values becomes one column with the heading value.
Nested objects, dot keys and arrays
A nested object is flattened with a dot between the levels, so a name inside a user object becomes user.name and a city inside that becomes user.city. An array of simple values, such as tags or phone numbers, is joined into one cell with a semicolon and a space between the items. An array of objects has no clean single cell form, so each item is written as compact JSON text inside the cell. That keeps the data visible, but a flattened table is not a perfect round trip: turning the CSV back into JSON gives dot keys and semicolons, not the original shape.
Why the separator matters
A CSV file is only text with a separator between the cells. In the United States and the UK the separator is normally a comma, so the extension fits. In much of Europe a comma is the decimal mark, so spreadsheets there often expect a semicolon. Excel on a machine set to a comma decimal region can open a comma-separated file and put everything in one column. If that happens, choose the semicolon or the tab here and download again. A tab separated file also pastes cleanly into a spreadsheet in one step.
Quoting, preview and the real limit
Any cell that contains the separator, a double quote or a line break is wrapped in double quotes, and a quote inside the text is doubled. That is the standard CSV rule, and it is why a name like Ada, Lovelace does not split into two columns. The preview shows the first 50 rows so a large file does not freeze an old phone, while the downloaded file has every row. Files up to 20 MB are accepted. The tool refuses invalid JSON with a plain message and the character where the parser stopped, which is usually a trailing comma or an unclosed quote.
Going the other way
For the reverse trip, use the CSV to JSON converter. When the goal is a real spreadsheet with leading zeros kept and real number cells, the CSV to Excel converter writes an .xlsx file instead of plain text. Your JSON is never uploaded, and no copy is stored in the browser after the tab closes.