LocalExcelTool
Get started

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. 1.Paste JSON or choose a .json file
  2. 2.Click Run
  3. 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.

AspectThis toolUpload-based converters
Where the file is processedIn your browser, on this pageOn the vendor's servers, after an upload
Account requiredNoUsually — free tiers ask you to sign in before lifting a limit
Size you can process for freeNo size cap, no run limitA few files per hour, or a ~5–10 MB cap before a paywall
PriceFree. Pro is $9/month, and only buys larger files and AI featuresUsually a subscription — roughly $7–15/month as of November 2026
Works offlineYes, once the page has loadedNo
Time before work starts on a 20 MB fileImmediate — there is nothing to uploadDominated by the upload — about 16 s on a 10 Mbps uplink
What it cannot preserveFormulas become their last computed value; merged cells and styles are droppedThe same — the conversion is the same maths

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