How to convert JSON to CSV
Turn a JSON array of objects into CSV instantly in your browser. Free, private, no uploads.
To convert JSON to CSV, the data should be an array of objects. A JSON-to-CSV converter uses the object keys as the header row and writes one CSV row per object, quoting values that contain commas.
Input
[{ "id": 1, "name": "Ann" }, { "id": 2, "name": "Bo" }]Output
id,name 1,Ann 2,Bo
The first object’s keys become the header; values with commas or quotes are wrapped in quotes.
Open the JSON-CSV Converter → Free · runs in your browser · nothing uploaded
Steps
- Open the JSON ⇄ CSV tool and choose JSON → CSV.
- Paste a JSON array of objects into the input.
- Read the CSV output and copy or download it.
- For nested objects, flatten them first — CSV is a flat, tabular format.
Frequently asked questions
- What JSON shape converts to CSV?
- An array of flat objects with consistent keys converts cleanly: each object is a row and the keys are the columns. Deeply nested structures must be flattened first because CSV has no concept of nesting.