Skip to content

JSON to CSV & CSV to JSON Converter

Turn arrays of JSON objects into CSV for spreadsheets, or CSV exports back into JSON.

Input JSON

About the JSON ⇄ CSV

Turn an array of JSON objects into a CSV table you can open in Excel, Google Sheets or Numbers, or swap direction to turn a CSV export into JSON. Nested objects become dot-notation columns such as address.city, and those columns become nested objects again on the way back.

How to use it

  1. Paste a JSON array of objects to convert it to CSV, or press Swap and paste CSV with a header row to convert it to JSON.
  2. The result appears as you type; for CSV, switch to Preview to check it as a table. Swap moves the result into the input so you can convert it back.
  3. Use Options for the delimiter, quoting, arrays and nulls (or, for CSV to JSON, headers, value types and nesting), then copy or download the file.

Frequently asked questions

How are nested objects handled?

Nested objects are flattened into columns using dot notation, for example { "user": { "name": "Ada" } } becomes a user.name column. Arrays are written as JSON text inside the cell. CSV to JSON reverses both: dotted columns become nested objects, columns like tags.0 and tags.1 become an array, and JSON in a cell becomes JSON again.

What if objects have different keys?

The converter collects every key from every object to build the header row. Missing values are left empty.

Why does Excel put everything in one column?

Some regional Excel settings expect semicolons. Switch the delimiter to semicolon and download again.

Does CSV to JSON keep numbers as numbers?

Cells become numbers or booleans only when they read back unchanged, so 42 and true are converted while 007, 1.0 and long IDs stay text. CSV itself has no types, so turn off Detect numbers under Options to keep every cell as a string. The delimiter is detected automatically.

Related tools