JSON to CSV
Flatten a JSON array into CSV, with the union of all keys as the header — no upload.
What is JSON to CSV
JSON to CSV conversion takes the union of every object's keys as the header row and writes one line per object, so ragged data never shifts columns. Nested values land as JSON text inside a single cell; flatten them first if you want separate columns.
🔒 Everything runs in your browser. Nothing is uploaded.
What this tool actually does with your file
- Where it runs
- In your browser, on this page
- Upload
- None — the file never leaves your device
- Offline
- Works with the network disconnected
Making a rectangular file out of nested objects
CSV requires every row to have the same columns, so the header is the union of all keys across all objects. Rows missing a key get an empty cell. That is the only lossless mapping — any other choice drops data.
Nested objects are flattened into dotted column names, and arrays are joined with a separator inside one cell. Both choices keep one CSV row per JSON record, which is what makes the result usable in Excel or a database.
Values containing commas, quotes or newlines are quoted, so the file stays parseable even when the text is messy. Excel will still open it correctly on import.
Where information is lost
Type information disappears. A number and a string that looks like a number become identical in CSV, so the receiving system has to guess. If the distinction matters, keep the JSON or add a type column.
Deeply nested arrays cannot be represented faithfully. Joining them into one cell preserves the values but not the structure; if you need the structure, the data should stay JSON.
Key order becomes column order, and JSON objects are technically unordered. The converter preserves the order it encounters, but do not rely on it across different sources.
How to use
- 1.Paste JSON or choose a .json file
- 2.Click Run
- 3.Download the generated .csv
How this compares
There are three ways to do this conversion: in the browser (this page), through a server-side converter, or with a desktop app. The useful difference is not speed — it is where your file goes and how far the free tier actually reaches.
| Aspect | This tool | Upload-based converters | Desktop software |
|---|---|---|---|
| Where the file is processed | In your browser, on this page | On the vendor's servers, after an upload | On your own machine, after installing an app |
| Account required | No | Usually — free tiers ask you to sign in before lifting a limit | No, though a licence may be needed |
| Size you can process for free | No size cap, no run limit | A few files per hour, or a ~5–10 MB cap before a paywall | Whatever your disk and RAM allow |
| Price | Free. Pro is $9/month, and only buys larger files and AI features | Usually a subscription — roughly $7–15/month as of November 2026 | A one-off licence, or a subscription |
| Works offline | Yes, once the page has loaded | No | Yes |
| Time before work starts on a 20 MB file | Immediate — there is nothing to upload | Dominated by the upload — about 16 s on a 10 Mbps uplink | Just the app launch |
| What it cannot preserve | Formulas become their last computed value; merged cells and styles are dropped | The same — the conversion is the same maths | The same, though some desktop apps re-render styles more faithfully |
Server-side converters are genuinely better at some things: very large files, sharing results with a team, keeping a conversion history, and automating batches from a script. For the case in front of you — one file, one format change, right now — they mostly add an upload wait and a sign-up form.
Frequently asked questions
What happens to nested objects?
They are written as JSON text in one cell. Flatten the data beforehand if you need them as columns.
Will Excel show garbled text?
No. The file is written with a UTF-8 BOM, so double-clicking it in Excel keeps non-ASCII text intact.
My objects have different keys — is that a problem?
No. The header is the union of all keys and missing values are left empty.
What this kind of conversion cannot keep
Spreadsheet conversion is lossy by nature: a workbook carries formulas, styles, merged cells and multiple sheets, while CSV carries rows of text. This tool keeps values and order, recalculates nothing, and drops presentation on purpose. That is why it can run without a server — and why a converted file will not look like the original.
More in Spreadsheets & Docs
On this page
- What is JSON to CSV
- What it does with your file
- How it actually behaves
- How to use it
- How this compares
- FAQ
Excel formula reference
29 functions with syntax, arguments and a table you can retype.
Browse the list →