JSON ↔ CSV Converter
Convert JSON arrays to CSV and CSV back to JSON.
Loading the tool…
Convert a JSON array of objects into CSV for a spreadsheet, or turn a CSV file back into JSON. Nested objects can be flattened into columns, the delimiter can be a comma, semicolon, tab or pipe, and cells that could be read as spreadsheet formulas are neutralised on request. The conversion runs in your browser and your data is not uploaded.
How to use JSON ↔ CSV Converter
- Choose JSON to CSV or CSV to JSON.
- Paste your data, or press Sample to see an example.
- Pick a delimiter, or leave it on Auto when reading CSV.
- Adjust the options: header row, flattening, Windows line endings, formula protection or typed values.
- Copy the result or download it as a file.
Limits and tips
- JSON to CSV expects an array of objects, or a single object. Other shapes are reported with an explanation.
- Rows with fewer or more fields than the header are kept and counted in a warning.
- Flattening writes nested keys as a.b columns. Arrays inside objects are written as JSON text in the cell.
- Input above 1 MB is converted when you press Convert, not as you type.
Private by design: how it works
This tool runs in your browser. The text you type or paste stays on this device and is never sent to a server. You can check it: open your browser network panel while you use the tool.
How we verify privacy ›Frequently asked questions
Is my data uploaded?
No. The conversion runs in your browser and your JSON or CSV is not sent anywhere. This matters for exports that contain customer or financial records.
What does formula protection do?
Spreadsheet programs can run a cell that starts with =, +, - or @ as a formula. With formula protection on, such cells get a leading apostrophe so they open as plain text. Turn it off if you need the raw values.
How are nested objects handled?
With Flatten on, a nested object such as {"a":{"b":1}} becomes a column named a.b. With Flatten off, the nested value is written as JSON text inside one cell.
Which delimiter should I pick?
Use a comma for most tools. Many spreadsheets in regions that write decimals with a comma expect a semicolon. Tab and pipe are useful for text that contains commas. Auto detects the delimiter when you read CSV.
Why are numbers in my CSV turned into text in the JSON?
By default every CSV cell becomes a JSON string. Turn on Typed values to read numbers, true, false and null as their own JSON types.
Last updated 2026-10-04 · Reviewed by the ToolBook team