Dev Tools
  1. All dev tools
  2. JSON to CSV

Convert JSON to CSV

Turn a JSON array of objects into a CSV file that opens in Excel, Numbers or Google Sheets. Nested objects are flattened into columns like user.name.

How to use the convert JSON to CSV

  1. Paste a JSON array (or a single object).
  2. Pick the delimiter. Use a semicolon if your Excel uses commas for decimals.
  3. Download the .csv file or copy it.

Questions

What happens to nested objects and arrays?

Nested objects become dotted column names, so {"user":{"name":"Asha"}} gives a user.name column. Lists of plain values are joined with "; ". Lists of objects are kept as JSON text in one cell.

Some objects have different fields. Is that OK?

Yes. Every field found in any object becomes a column, and missing values are left empty.

Is my data sent anywhere?

No. Everything runs in your browser with JavaScript. What you paste is never sent to a server, and the site's security policy stops the page from connecting to any other website. That matters for tokens, keys and customer data, which people paste into tools like this every day.