JSON To CSV

Convert a JSON array into CSV for Excel and Sheets

Convert a JSON array of objects into CSV. Nested objects become dot-notation columns (address.city) or JSON text, and an Excel-friendly option keeps accents and emoji intact.
Try an example:

Output will appear here...

About JSON To CSV

How it works

  1. The JSON is parsed; a single object is treated as a one-row array.
  2. Nested objects are flattened into dot-notation columns (or kept as JSON text); arrays of simple values are joined with "; ".
  3. All keys from all rows are collected into columns, so rows with missing fields simply get empty cells.
  4. Values are written as CSV with quoting where needed (commas, quotes, line breaks).

What you need

  • A JSON array of objects, e.g. an API response.

Tips

  • If accents or emoji look garbled when opening in Excel, tick "Excel-friendly".
  • Use semicolons if your Excel uses commas as the decimal separator.

Runs in your browser. Everything happens in your browser - your code and data are never uploaded.

Frequently asked questions

What happens to nested arrays of objects?+

They cannot be expressed as flat columns, so they are written into the cell as JSON text.