JSON to CSV
Turn a JSON array of objects into a CSV spreadsheet. Nested objects are flattened into dot-notation columns; nested arrays of objects are kept as a single JSON cell — a best-effort mapping, not a lossless round-trip for deeply nested JSON.
Free, with no account needed. It runs in your browser, so your file never leaves your device.
Select JSON file
or drop it here · up to 25 MB
About JSON to CSV
JSON to CSV turns a JSON array of objects into a CSV file, one object per row. Nested objects are flattened into columns with dotted names such as address.city.
Last reviewed
How to use it
- Select a .json file containing an array of objects.
- Press Convert to CSV.
- Download the .csv file and open it in Excel or Google Sheets.
When to use it
- Opening data exported from an app or API in Excel or Google Sheets.
- Preparing a list of records for a mail merge or a bulk upload that expects CSV.
- Sharing data with someone who works in spreadsheets rather than code.
Good to know
- A list of simple values inside an object is joined into one cell, separated by commas. A list of objects inside an object is kept in one cell as JSON text.
- A single object becomes one row. A list of plain values becomes a single column named value.
- To protect you when the CSV is opened in a spreadsheet, a text cell that begins with =, +, - or @ is stored with a leading apostrophe, so it shows as text and is never run as a formula. Real numbers are left alone.
Tips for a better result
- The input should be an array of objects with mostly the same fields. Each object becomes a row.
- To open the CSV in Excel with Indian or other non-English text intact, use Data, From Text/CSV and choose UTF-8.
- Check columns with leading zeros, such as PIN codes and phone numbers. Spreadsheets may drop the zeros when they open the file.
Questions about JSON to CSV
- How are nested objects handled?
- They are flattened. An object like {"address": {"city": "Pune"}} gives a column called address.city.
- Why does a value start with an apostrophe?
- Spreadsheets treat text that starts with = + - or @ as a formula, which can be unsafe in a file from an unknown source. The apostrophe makes it plain text.
- How much does JSON to CSV cost?
- JSON to CSV is free, and you don't need an account. It runs inside your browser, so it costs us nothing to run and there are no credits to spend.
- Is my file kept after I use JSON to CSV?
- Your file never leaves your device. JSON to CSV works inside your browser, so nothing is uploaded and there is nothing for us to keep.
- Do I need an account to use JSON to CSV?
- No. JSON to CSV works without an account or sign-up. Open the page, choose your file and download the result.
- Does JSON to CSV work on a phone?
- Yes. JSON to CSV runs in the browser on phones, tablets and computers, with nothing to install. A very large file can be slow on an older phone, because your own device does the work.
- Is there a file size limit for JSON to CSV?
- We set no upload limit, because nothing is uploaded: the limit is your device's memory. If your browser can't process a file, the page offers to process it on our servers instead. That uses credits and accepts files up to 25 MB.