JSON to CSV Converter
Convert JSON to CSV and CSV to JSON instantly. Free online converter with auto-detection, no signup, no upload. Runs in your browser.
Preparing private browser tool…
Frequently asked questions
- Does JSON need to be an array?
- Yes, JSON to CSV requires an array of objects. Each object becomes a row; each unique key across all objects becomes a column.
- How are nested values handled?
- Nested objects and arrays inside a cell are serialized back to JSON and wrapped in quotes so the CSV stays valid.
- Does it handle commas and quotes in values?
- Yes. Values containing commas, quotes, or newlines are wrapped in quotes with internal quotes escaped as "" per RFC 4180.
- Is my data uploaded anywhere?
- No. All parsing and formatting runs in your browser with plain JavaScript. Your data never leaves your device.
- Can I go from CSV back to JSON?
- Yes. The reverse direction reads the first line as the header and returns an array of objects. Cells that look like numbers, true, false, or null are converted to those types, so a ZIP code such as 02138 comes back as the number 2138.
- What if the objects do not all have the same keys?
- The header row is the union of every key found across the array, in first-seen order, and a row missing one of them gets an empty cell.