JSON to CSV
Convert JSON data to CSV in your browser. Processing happens locally, so your data stays on your device.
Source JSON
Waiting for JSON
Paste JSON, open a file or choose the sample to begin.
Reads up to 5 MB.
CSV preview
The header row is off, so the CSV starts with the first row of data. The headings below are shown to label the columns.
Your CSV will appear here
Add JSON on the left. A list of records becomes rows and columns.
Settings
Prefix values that could be formulas (such as those starting with =, +, - or @) with an apostrophe.
Add a first row with the column names.
Formula risk protection is on
In the CSV, values that start with =, +, - or @ (or a tab or line break) get an apostrophe in front, so spreadsheet software reads them as text.
Interpretation summary
Valid JSON will be explained here: how many rows and columns it gives, and how nested values were handled.
Supported JSON shapes
- Array of objects (recommended)
- Single object (one row)
- Array of values that are not objects (one "value" column)
- Single plain value
How conversion works
- Every object is read to find the full set of columns, in the order each one first appears.
- Nested objects are flattened to path-style columns, such as address.city.
- Arrays and empty objects are written as compact JSON in a single cell.
Limitations
- Missing fields, null and empty text all become empty cells, so the CSV cannot be turned back into exactly the same JSON.
- Arrays are kept in one cell. They are never spread over extra rows or columns.
- An array that mixes objects with other values is not converted.
- Spreadsheet safety lowers the risk from formulas. It is not a guarantee, so check the file in your own software.
- JSON up to 5 MB can be read.
Privacy and local processing
- Your JSON is read and converted in this browser tab.
- It is not uploaded or stored by Numerila.
- Nothing you enter, and no CSV made from it, is included in usage measurement.
- The preview is a real table, and every control works from the keyboard.
See the Privacy Policy for more.
How to use it
- Paste your JSON, open a file or choose the sample.
- Check the preview and the summary of how it was read.
- Switch spreadsheet safety or the header row if you need to, then copy or download the CSV.
JSON in
[
{ "name": "Ada", "city": { "town": "London" }, "tags": ["maths", "code"] },
{ "name": "Lin", "city": { "town": "Paris" } }
]CSV out
name,city.town,tags
Ada,London,"[""maths"",""code""]"
Lin,Paris,