JSON to CSV

Turn JSON arrays into a CSV table you can copy or open in Excel.

Add JSON in the box and click Convert to see the CSV here.

How JSON to CSV works

Converts JSON array of objects into CSV. Each object becomes one row and each key becomes a column. Your JSON is checked first. If something is wrong, you see the line and column of the first error.

Columns come from all keys in all objects, in the order they first appear. If an object is missing a key, that cell is left empty. Values with commas, quotes or line breaks are put in quotes, so the CSV stays valid.

Input to JSON to CSV

  • Paste or type JSON into the input box, or upload a .json or .txt file. Then click Convert.
  • JSON must be an array of objects, like [{...}, {...}]. If you give a single object, click the link in the error message to wrap it in [ ] and convert again.
  • Keep each object flat. Objects inside objects show up as [object Object], and arrays are joined into one cell.

Output from JSON to CSV

  • CSV with a header row first, then one row for each object.
  • Output shows as a table by default. Click the table button to switch between the table and raw CSV text.
  • Table view shows the first 150 rows. Copy and download always give you every row.
  • Copy it, download it as result.csv or open it in full screen.