JSON to CSV
Convert JSON array to CSV format.
About the JSON to CSV
Paste a JSON array of objects and get CSV with one row per object and a header row from the keys – ready to open in Excel or Google Sheets, or download as a .csv file.
Everything you enter is processed in your browser; nothing is uploaded or stored.
How to use it
- Paste a JSON array such as [{"name":"Asha","city":"Pune"}, …].
- Press Convert to CSV.
- Copy the CSV or press Download CSV.
How JSON becomes CSV
The keys of the first object become the column headers. Each object becomes a row, with its values in the same column order. Values that contain a comma are wrapped in double quotes (and inner quotes doubled), so spreadsheets keep them in one cell.
CSV is flat, so it suits arrays of simple objects. Nested objects and arrays do not map to single cells; flatten them first.
Example
[{"name":"Asha","city":"Pune"},{"name":"Ravi","city":"Delhi, NCR"}] becomes "name","city" Asha,Pune Ravi,"Delhi, NCR"
Common mistakes
- Objects with different keys: only the first object’s keys become columns, so put all keys in the first object.
- Nested data: flatten {"address":{"city":"Pune"}} to {"address.city":"Pune"} before converting.
- Opening CSV in Excel can strip leading zeros (PIN codes, phone numbers); import the column as text.
Frequently asked questions
How do I open the CSV in Excel?
Download it and open it, or use Data > From Text/CSV for control over column types.
Can I convert CSV back to JSON?
Yes, with the CSV to JSON converter.
Is the data uploaded?
No. Conversion happens in your browser.