Skip to main content

JSON to CSV converter

Convert a JSON array of objects to CSV for Excel or Google Sheets. Keys become columns and nested values are kept as JSON text. Runs in your browser.

Runs in your browser.

Turn a JSON array of objects into CSV you can open in Excel, Google Sheets or Numbers. Conversion happens in your browser; nothing is uploaded.

How to use

  1. Paste a JSON array of objects (a single object also works and becomes one row).
  2. Click Convert.
  3. Copy the CSV from the output box and save it as a .csv file or paste it into a spreadsheet.

How it converts

  • The header row is the union of keys across all objects, in first-seen order. Missing keys become empty cells.
  • null becomes an empty cell. Nested objects and arrays are written as JSON text inside the cell.
  • Cells that contain commas, quotes or line breaks are wrapped in double quotes, with inner quotes doubled, following the usual CSV convention.

Limits

The output uses commas. Arrays of plain values (for example [1, 2, 3]) are rejected with an error, because there are no column names. For the reverse direction use CSV to JSON.

CSV to JSON · CSV cleaner · JSON formatter

How we check

Checked against the tool’s unit tests and a manual run in a desktop browser on 2026-11-13 (Asia/Colombo). Corrections: [email protected].

More free tools