JSON to CSV
Convert JSON data to CSV format
About the JSON to CSV (Browser)
This tool converts JSON to CSV in your browser, flattening nested objects into dotted column names. Because nothing is uploaded, an API response containing real records can be turned into a spreadsheet safely.
Converting JSON to CSV in the browser is the version to use when the JSON is a real API response. Those routinely contain names, email addresses, order details and internal identifiers, none of which should be pasted into a hosted converter.
Nested structures are flattened to dotted column names, so user.address.city becomes a single column and no cell holds raw JSON. Keys are collected across every record, so objects with differing fields still produce one consistent header row.
Values containing commas, quotes or line breaks are escaped to the CSV standard, which is what makes the file open cleanly in Excel rather than splitting a description across three columns.
How to use the JSON to CSV (Browser)
- Paste your JSON. Provide the array of records — it stays in your browser.
- Convert locally. Flattening and escaping run on your machine.
- Review the columns. Check the dotted column names from nested objects.
- Download the CSV. Open it in Excel, Sheets or Numbers.
JSON to CSV (Browser) features
- Conversion entirely in your browser
- Nested objects flattened to dotted columns
- Keys collected across all records for a consistent header
- CSV-standard escaping of commas, quotes and newlines
- Safe for API responses containing real data
- No account or upload required
Frequently asked questions
Is my JSON uploaded?
No. Conversion happens entirely in your browser, so API responses with real data stay local.
How are nested objects handled?
Flattened into dotted column names, so user.address.city becomes one column rather than raw JSON in a cell.
What if records have different keys?
Keys are collected across all of them to build one header row, with missing values left empty.
Will the CSV open correctly in Excel?
Yes. Values containing commas, quotes or line breaks are escaped to the CSV standard.
Is there a size limit?
Only your device's memory.