JSON to CSV

Convert a JSON array of objects into a CSV you can open in any spreadsheet.

  • Free
  • No sign-up
  • Runs in your browser

1 Input

2 Result

Results update as you type

Everything is calculated in your browser.

How to use JSON to CSV

  1. Paste a JSON arrayPaste an array of objects into the JSON array box. A single object is treated as one row.
  2. Choose delimiter and flatteningPick comma, semicolon, tab or pipe as Delimiter, and keep Flatten nested objects ticked to turn paths like address.city into columns.
  3. Copy or download the CSVThe CSV updates as you type. Copy it, or use Download to save data.csv for your spreadsheet.

Common uses

  • Opening an API response in Excel or Google Sheets
  • Exporting JSON fixtures for a non-technical teammate to review
  • Preparing a CSV import file from a JSON dump

Frequently asked questions

How do I use JSON to CSV?

1. Paste a JSON array: Paste an array of objects into the JSON array box. A single object is treated as one row. 2. Choose delimiter and flattening: Pick comma, semicolon, tab or pipe as Delimiter, and keep Flatten nested objects ticked to turn paths like address.city into columns. 3. Copy or download the CSV: The CSV updates as you type. Copy it, or use Download to save data.csv for your spreadsheet.

How are the columns chosen?

The columns are the union of all keys across every object, in the order they first appear. Missing values are left empty, so objects with different shapes still line up.

What happens to nested arrays and objects?

With flattening on, nested objects become dotted columns such as address.city. Arrays, and nested objects when flattening is off, are written into a single cell as JSON text.

Will Excel open the file correctly?

The downloaded file is UTF-8 with a byte order mark and uses CRLF line endings, and cells containing the delimiter, quotes or line breaks are quoted. If your Excel expects semicolons, choose Semicolon.

Is my JSON sent anywhere?

No. It is parsed and converted in your browser, and nothing is uploaded to GigaTools.