JSON to CSV Converter

Paste a JSON array of objects and get CSV ready for Excel or Google Sheets.

JSON to CSV Converter

🔒 Nothing you enter is sent anywhere or stored. All processing happens in your browser.

How it works

JSON is the native format of APIs and JavaScript apps, but spreadsheets speak CSV. When you need to hand data to a non-technical colleague, load it into Excel, or import it somewhere that expects columns and rows, converting a JSON array of objects to CSV is the quickest bridge.

This tool reads your JSON array, collects the union of all keys across every object to build the header row, and writes one CSV line per object. Values containing commas, quotes, or newlines are automatically wrapped in quotes and escaped so the file opens cleanly. Nested objects and arrays are serialised into their cell so no data is dropped.

You can copy the result or download it as a .csv file. Everything runs in your browser, so even sensitive datasets stay on your device.

Examples

An API response array → CSV with a header row of field names.
Objects with different keys → columns are unioned; missing values become blank.
A value like Smith, John → safely quoted so columns don't break.

Frequently asked questions

What input does it expect?
A JSON array of objects, e.g. [{\"a\":1},{\"a\":2}]. Each object becomes a row and each key becomes a column.
How are commas and quotes handled?
Any value containing a comma, quote, or newline is wrapped in double quotes with internal quotes doubled — standard CSV escaping.
What happens to nested objects?
They're serialised as JSON text inside the cell, so the information is preserved even if it isn't flattened into extra columns.
Is my data uploaded?
No. Conversion and download happen entirely in your browser.