JSON to CSV

Convert JSON arrays to CSV spreadsheet format.

Convert JSON to CSV for Excel, Google Sheets or a database import. Paste an array of objects and each object becomes a row, with a column for every key found in any of them. Nested objects are flattened into columns like address.city, lists of simple values are joined with semicolons in one cell, lists of objects get numbered columns (items.0.name), and values with commas, quotes or new lines are quoted correctly. Choose comma, semicolon or tab as the separator (semicolons suit Excel in many European countries), then copy or download the file.

Common use cases

  • Open an API response in Excel or Google Sheets
  • Export data from a JSON file for a spreadsheet user
  • Prepare records for a CSV import into a CRM or database
  • Turn logs saved as JSON into a table

How to use

  1. Paste JSON: an array of objects, or a single object.
  2. Choose the separator and whether to flatten nested objects.
  3. Copy the CSV or download it as a .csv file.

FAQ

My objects have different keys. Is that a problem?

No. Every key that appears anywhere gets a column, and objects without that key leave the cell empty.

Why does Excel put everything in one column?

Excel in some regions expects semicolons. Choose semicolon as the separator, or open the file with Data > From Text/CSV and pick the delimiter.

How do I go back to JSON?

Use the CSV to JSON converter.