JSON to CSV Converter

Convert a JSON array of objects to CSV. The union of every object’s keys becomes the header row, and each object becomes one CSV row — ready to open in Excel or Google Sheets.

How json to csv works here

  • Input is normally an array of flat objects; a single object is treated as a one-row table.
  • Every key found across the objects becomes a column; missing values are left blank.
  • Values containing a comma, quote or line break are automatically quoted and escaped.

Frequently asked questions

What JSON shape does this expect?
An array of objects, e.g. [ {"a":1,"b":2}, {"a":3,"b":4} ]. A single object is exported as one row. Nested objects/arrays are written as their JSON text inside the cell.
How are special characters handled?
Any value containing a comma, double quote or line break is wrapped in double quotes, and inner quotes are doubled, following the standard CSV rules so spreadsheets read it correctly.
Can I open the result in Excel?
Yes. Copy the CSV output and paste it into a .csv file or directly into a spreadsheet; the header row and columns line up automatically.

Related data & developer conversions

See all data-format conversions →