JSON to CSV Converter

Turn a JSON array into a spreadsheet-ready CSV, with nested objects flattened into their own columns.

Runs in your browser. Nothing you type is sent to a server.

How to use JSON to CSV Converter — Free Online, No Upload

  1. 1Paste your JSON into the left-hand box.
  2. 2Every field becomes a column, with nested values flattened into dotted names.
  3. 3Copy the result, or download it as a file.

About JSON to CSV

CSV is still the fastest way to get data in front of someone who does not write code. This converter takes a JSON array and produces a flat table: it walks every record first to collect the full set of columns, so a field that appears in only some records still gets a column, with blanks where it is missing.

Nested data is the awkward part of any JSON-to-CSV conversion, because CSV has no concept of nesting. The approach here is to flatten paths into dotted column names, which keeps every value visible and reversible by eye, and to join arrays of simple values with semicolons rather than dropping them.

Escaping follows the usual CSV convention, so values containing commas, quotes or line breaks survive the trip into a spreadsheet intact.

Frequently asked questions

What shape does my JSON need to be?
An array of objects works best, for example [{"name":"Asha"},{"name":"Ravi"}]. A single object converts to a one-row CSV. Every distinct key across all records becomes a column.
How are nested objects handled?
They are flattened using dotted names, so {"address":{"city":"Pune"}} becomes a column called address.city. Arrays of simple values are joined with semicolons in one cell.
What if a value contains a comma?
It is wrapped in double quotes, and any quote inside it is doubled — the standard CSV escaping that Excel and Sheets both expect.
Will it open correctly in Excel?
Yes. Download the .csv file and open it directly. If you use a non-English locale where the list separator is a semicolon, use Excel's Data → From Text/CSV import and choose comma as the delimiter.
Is my data sent to a server?
No. The whole tool is JavaScript running on your own device, so your text never leaves the browser. You can load the page, go offline, and it still works.
Is it free?
Yes — unlimited use, no sign-up, no watermark and no limit on how many times you run it.