Convert · Runs in your browser

JSON to CSV Converter

Turn an array of JSON objects into a CSV file you can open in Excel, Google Sheets or Numbers. Nested objects are flattened into columns.

JSON
Drop a file to load it
CSV
Waiting for input

How to use it

  1. Paste a JSON array of objects into the left editor, or upload a .json file.
  2. Choose a delimiter and whether to include a header row or flatten nested objects.
  3. Copy the CSV or download it as a .csv file.

Columns

Every key found in any object becomes a column, in the order it first appears. Missing values are left empty.

Nested data

With “Flatten nested” on, {"address": {"city": "Paris"}} becomes a column named address.city, and array items become tags.0, tags.1… With it off, nested values are written as JSON text.

Escaping

Values containing the delimiter, quotes or line breaks are quoted according to RFC 4180, so the file opens correctly in spreadsheet apps.