Home
Tom Utilities

JSON to CSV

JSON Tools

Convert an array of JSON objects into a CSV table ready for spreadsheets.

Input

Result

How to use

Converting JSON to CSV

Provide an array of objects. A header row is created from the union of all keys.

  1. Paste an array of JSON objects.
  2. Press Convert.
  3. Copy or download the CSV file.

Frequently asked questions

What if the rows have different keys?

The union of all keys is used and missing values become empty cells.

How are commas and quotes handled?

Fields containing commas, quotes or newlines are quoted and inner quotes are doubled.