JSON to CSV converter

Convert a JSON array to CSV with automatic headers, flattened nested fields and your choice of delimiter. Copy or download. Nothing is uploaded.

Runs in your browser. Nothing you paste is uploaded.

How to use it

  1. Paste a JSON array of objects, like [{"name":"Asha","marks":91}, …].
  2. Pick the delimiter: comma for most programs, semicolon for Excel in many European locales, tab for pasting into a sheet.
  3. Keep Flatten nested objects on to turn {"city":{"name":"Pune"}} into a city.name column.
  4. Copy the CSV or download it as a .csv file and open it in Excel or Google Sheets.

From an API response to a spreadsheet

Most APIs and databases export JSON, but most people read data in spreadsheets. This converter collects every key that appears in any object and uses them as column headers, so records with missing fields still line up correctly. Values that contain the delimiter, quotes or line breaks are quoted the standard way, so the file opens cleanly in Excel, Google Sheets, LibreOffice or any CSV reader.

Nested objects become dotted column names (address.city, address.pin). Arrays inside a record are kept as JSON text in a single cell, because there is no single right way to spread a list across columns.

Tips for Excel

If Excel shows everything in one column, your system expects a semicolon; choose Semicolon and download again. Long numbers such as phone or Aadhaar-style IDs may be shown in scientific notation by Excel; import the file with Data › From Text/CSV and set that column to Text.

Questions

What JSON shape does it need?
An array of objects. A single object also works and becomes a one-row CSV.
What happens to missing fields?
They become empty cells. Every key found in any record becomes a column.
Can I convert CSV back to JSON?
Yes, with the CSV to JSON converter.
Is what I paste sent to a server?
No. The tool runs as JavaScript in your browser. Your text, files and keys stay on your device, so it is safe to use with internal data, tokens and customer records. It keeps working offline after the page has loaded once.

More free tools