JSON CSV converter
Turn a JSON array or object into CSV, or a CSV table into a JSON array. Nested objects can be flattened or kept as JSON text in one cell.
It runs in your browser. What you enter stays on this device.
How to use it
- 1Paste JSON or CSV.
- 2Choose the direction and the delimiter.
- 3Leave Keep nested objects as JSON off to flatten objects into dotted names.
- 4Choose Convert, then copy or download the result.
When it helps
- Open a JSON array in a spreadsheet.
- Turn an exported CSV back into JSON.
- Flatten one level of nested fields into columns.
Good to know
- The input stays under 500 KB.
- CSV conversion uses the first row as headers.
- A cell that starts with =, +, -, or @ is prefixed with a quote so a spreadsheet does not treat it as a formula.
- JSON numbers are JavaScript numbers. A very long integer can lose precision.
- Nothing is uploaded.
Questions
What shape of JSON becomes rows?
An array of objects becomes one row per object. A single object becomes one row. An array of plain values becomes one column named value.
Is the text uploaded?
No. Conversion runs in this browser.
Related tools
JSON formatter JSON formatter
Check JSON, then format or minify it in the browser.
Developer