JSON to CSV

Paste a JSON array and it converts to CSV automatically — nothing leaves your browser.

JSON Input 0 lines
1
CSV Output 0 lines
1
UTF-8 · 0 B JSON → CSV
Waiting for input

How It Maps

  • Every key seen across the array becomes a column
  • The first row of output is the header row
  • A single JSON object is treated as one row
  • Instant conversion as you paste
  • Copy or download the result

Features & Supported Capabilities

  • Handles rows with different keys — headers are merged
  • Quotes any cell containing a comma, quote or newline
  • Nested objects and arrays are embedded as JSON text
  • Handles files up to 10 MB
  • Runs entirely in your browser — nothing uploaded

About this JSON to CSV converter

JSON is ideal for APIs, but analysts and spreadsheets want rows and columns. This free online JSON to CSV converter takes an array of JSON objects and produces CSV with a header row followed by one data row per object, ready to open in Excel or Google Sheets or to import into a database.

The conversion happens in your browser and nothing is uploaded. Need the reverse? Use CSV to JSON. If your JSON is not valid yet, fix it with the JSON formatter first.

Frequently Asked Questions

Everything you might want to know about the online JSON to CSV converter.

An array of objects, e.g. [{"name":"Ada"},{"name":"Grace"}]. A single object on its own is also accepted and treated as one row.
The header row is the union of every key seen across all objects, in the order each key first appears. Rows missing a given key get an empty cell there.
CSV has no concept of nesting, so a nested object or array value is embedded in its cell as compact JSON text, quoted so commas inside it don't break the row.
No. The conversion runs entirely in your browser. Your JSON is never uploaded, stored, or logged.
Yes, use the CSV to JSON tool, which reads the header row back into object keys.
A comma, the most widely supported CSV delimiter. Cells that contain a comma, a quote, or a line break are automatically wrapped in double quotes.
You can paste text or upload a file up to 10 MB.
An array of plain values (numbers or strings, not objects) is converted to a single-column CSV headed value.
Yes. Use the Copy button to copy it to your clipboard, or Download to save it as a .csv file.