JSON to CSV Converter

Convert JSON arrays to CSV spreadsheet format. Automatically extracts headers from object keys and supports custom delimiters.

Most current tools process data directly in your browser. If a tool requires external processing, it will say so clearly.

How to Convert JSON to CSV

  1. 1Paste your JSON array (array of objects) into the input
  2. 2Select your preferred output delimiter
  3. 3The CSV output is generated instantly
  4. 4Download as a .csv file or copy to clipboard

Key Benefits

  • Automatically extracts column headers from JSON keys
  • Handles nested values gracefully
  • Download as a proper .csv file
  • Supports any delimiter format

Frequently Asked Questions

What JSON format is supported?

The tool expects a JSON array of objects where every object shares the same set of keys — for example an array with objects having name and age fields. The keys of the first object become the CSV column headers. A JSON object (not wrapped in an array) or an array of primitives will not convert correctly.

What happens with nested objects or arrays?

Nested objects and arrays are serialised to their JSON string representation and placed in the CSV cell as-is — for example, a nested city field would appear as a JSON string inside the cell. For cleaner output with complex nested data, flatten the structure first — extract the nested fields you need into top-level keys before converting.

Can I open the CSV in Excel?

Yes. Download the CSV and open it directly in Excel, Google Sheets, or any spreadsheet tool. If values appear in a single column instead of separate columns, the delimiter may not match your regional setting — try changing the output delimiter to semicolon for European Excel installs.

What if not all objects have the same keys?

Column headers are derived from the first object in the array. Objects with extra keys beyond those in the first object will have those columns omitted. Objects missing keys present in the first object will produce empty cells for those columns. For consistent output, ensure all objects in your array share the same structure before converting.

When would I convert JSON to CSV?

Exporting API response data to Excel or Google Sheets for analysis, creating reports from JSON logs or analytics payloads, preparing data for BI tools that prefer flat tabular input, sharing structured data with non-technical team members who work in spreadsheets, and converting data for bulk import into CRM or database tools.

What delimiter should I use for Excel compatibility?

In English-language regions, Excel expects comma-separated values. In many European countries Excel defaults to semicolons because commas serve as decimal separators. If data appears in one column after opening the file, try the semicolon delimiter, or use Excel's Data > Text to Columns feature to reparse with the correct separator.

Related Tools

JSON to CSV Converter — Free Online Tool | Utilikits | Utilikits