JSON to CSV Converter
Convert a JSON array of objects into a CSV file, with nested objects flattened into dotted column names. Runs entirely in your browser.
🔒 This tool runs entirely in your browser. Your files are never uploaded to a server.
Example shown — replace it with your own JSON array of objects.
How it works
- Paste a JSON array of objects (or a single object) on the left.
- Nested objects flatten into dotted column names, and the column set is the union across every row.
- Copy the CSV or download it as a file.
FAQ
What happens to nested objects?
Nested objects are flattened into dotted column names — {"address": {"city": "London"}} becomes a column called "address.city". Arrays inside a value are kept as a JSON string in one cell.
Do all the objects need the same fields?
No — the CSV columns are the union of every field seen across all objects. Rows missing a field just get an empty cell for that column.
Can I paste a single object instead of an array?
Yes — a single JSON object is treated as a one-row array automatically.
Is my JSON uploaded anywhere?
No — conversion happens entirely in your browser using JSON.parse. Nothing is sent to a server.
How we compare
| Feature | Online Tool Store | Spreadsheet import wizards | Online upload-and-convert sites |
|---|---|---|---|
| Handles nested objects automatically | ✓ | Usually flat JSON only | Varies |
| Rows with missing fields still work | ✓ | Often requires uniform schema | ✓ |
| Data stays on your device | ✓ | ✓ | Uploaded to their server |
For turning an API response into something you can open in a spreadsheet, this beats writing a script or uploading the data somewhere first.