The short answer
Paste or open a JSON array of objects, let the converter flatten nested fields into columns, choose the delimiter and download the CSV. Each object becomes a row and each key becomes a column header.
The input should be an array of similar objects. Each object becomes one row.
A worked example
Take this JSON with two people. Each has a nested address object and a list of tags.
[{"name":"Asha","age":29,"address":{"city":"Pune","pin":"411001"},"tags":["a","b"]},{"name":"Ravi","age":34,"address":{"city":"Delhi","pin":"110001"},"tags":["c"]}]
After flattening, the nested object becomes columns with dotted names and the list is kept as text in one cell:
| name | age | address.city | address.pin | tags |
|---|---|---|---|---|
| Asha | 29 | Pune | 411001 | ["a","b"] |
| Ravi | 34 | Delhi | 110001 | ["c"] |
Step by step
- Open the JSON to CSV tool and paste your JSON array.
- Keep flattening on if your objects contain nested objects.
- Choose a delimiter: comma, semicolon, tab or pipe.
- Download the CSV.
- To open it as a real spreadsheet with numbers and a header row, convert it with the CSV to Excel tool.
Pitfalls to watch for
- Leading zeros: a PIN or ZIP code such as 01234 can lose its zero when Excel opens a CSV and treats the column as a number. Convert to .xlsx with text columns kept as text, or import the column as text.
- Delimiters: in many European settings Excel expects semicolons. If everything lands in one column, change the delimiter.
- Arrays: a list becomes one text cell. If you need one row per list item, restructure the JSON first.
- Missing keys: if some objects lack a key, that cell is empty.
- Dates and large numbers: very long numbers can be shown in scientific notation. Keep them as text.
Is it safe for private data?
The conversion runs in your browser, so an API response with customer data is not uploaded. Check the network tab of your browser’s developer tools if you want to verify it.
Frequently asked questions
How do I convert a JSON file to CSV?
Paste the JSON array into a converter, flatten nested fields, choose a delimiter and download the CSV.
What happens to nested JSON objects?
They are flattened into separate columns with dotted names, such as address.city.
What happens to arrays in JSON?
A list inside an object is kept as JSON text in a single cell.
Why does Excel put everything in one column?
Excel expects a different delimiter for your regional settings. Try a semicolon or tab instead of a comma.
Can I convert CSV back to JSON?
Yes, with the CSV to JSON tool.
Try these tools
JSON to CSV
Convert a JSON array to CSV in your browser. Flattens nested objects, picks delimiters and downloads a ready .csv for Excel or Sheets.
Open toolCSV to JSON
Convert CSV to JSON in your browser. Auto-detects delimiter, uses the header row as keys, and can convert numbers and booleans.
Open toolCSV to Excel Converter
Convert a CSV file to a real Excel .xlsx online. Auto-detects the delimiter, keeps numbers and leading zeros, bold frozen header. Free, private, no upload.
Open toolJSON Formatter
Format, validate, beautify and minify JSON instantly. Shows the exact line and column of any error. Free and runs in your browser.
Open toolCSV Viewer
Open a CSV file and browse it as a sortable, searchable table with row counts and 100-row paging. Download the filtered rows. Private; nothing is uploaded.
Open toolKeep reading
JSON vs CSV vs YAML vs XML: when to use each, and what breaks when you convert
Compare JSON, CSV, YAML and XML with examples, learn when each fits, and avoid conversion pitfalls like nested data, lost types, leading zeros and BOMs.
Read guideFree online tools with no sign-up and no upload: what to look for
How to judge whether a free online tool site is trustworthy: signs of hidden uploads, account walls and ad pressure, plus how our own approach compares.
Read guideHow to convert CSV to Excel without breaking your data
Convert a CSV file to a real .xlsx workbook without losing leading zeros or breaking columns. Learn why CSVs open wrongly and how to fix delimiters and encoding.
Read guide