Need to drop JSON into a spreadsheet? JSON to CSV in one click — paste your array, hit Convert and download clean CSV. Runs in your browser, nothing uploaded.
or
CSV is the lingua franca of spreadsheets and lightweight data pipelines, but most APIs and configuration files return JSON. A JSON to CSV converter bridges the two: it takes an array of JSON objects and rewrites it as a flat table that Excel, Numbers, Google Sheets, BigQuery or pandas can ingest directly.
JSON Pretty infers headers from the union of keys across every object, escapes commas and quotes per RFC 4180, and serializes nested objects back into JSON inside their cell so no data is lost. Need to inspect or reshape the source before converting? Open it in our JSON editor for a tree view with search and copy-by-path. New to JSON? Our beginner's guide to JSON walks through the structure with examples.
The same payload, before and after conversion:
[
{ "id": 1, "user": "alice", "active": true },
{ "id": 2, "user": "bob", "active": false },
{ "id": 3, "user": "carol", "active": true }
]id,user,active
1,alice,true
2,bob,false
3,carol,trueConvert JSON to CSV in three simple steps — no account needed
Paste a JSON array of objects, or click "Upload file" to load a .json file from your device.
Press Convert. Each object becomes a row, headers are inferred from the union of keys, and the result appears below.
Copy the CSV to the clipboard, or download it as a .csv file ready for Excel, Numbers or Google Sheets.
Why convert JSON to CSV? A few cases where CSV is the better fit.
Format any JSON response and explore it in a clean tree view — right where you open it, no copy-paste.
Reverse direction — turn CSV rows into a JSON array of objects with inferred types.
Full editor with tree view, search and copy-by-path for working with the source JSON.
Convert JSON into clean YAML ready for Kubernetes, Docker Compose or CI configs.
Convert JSON into a well-formed XML 1.0 document with attributes preserved.
Generate a Draft 2020-12 JSON Schema from a sample document for validators and code generators.
Parse YAML configs into clean indented JSON ready for APIs and code.
It takes a JSON array of objects and turns each object into a row of a CSV table. The union of object keys becomes the header row, and missing values are left as empty cells. The output is plain text you can paste anywhere CSV is accepted.
A single object is treated as a one-row CSV — the keys become the headers and the values become the first (and only) data row. If you need a multi-row export, wrap your objects in a JSON array first.
CSV is a flat format, so nested objects and arrays are serialized back into JSON strings inside their cell. The original structure is preserved as text, which is the safest option when importing the CSV into spreadsheets.
The converter takes the union of every key across every object as the header row. If a particular row is missing one of those keys, its cell is left empty rather than skipping the column.
Yes. Conversion runs entirely in your browser using JavaScript — your JSON never leaves the page. Nothing is uploaded to any server.
Yes. The page accepts pasted text or uploaded .json files and parses them in the browser. Multi-megabyte payloads typically finish in a fraction of a second on a modern device.
Download the .csv file and double-click it on macOS or Windows to open in Excel or Numbers. In Google Sheets, choose File → Import → Upload and pick the file. The header row is detected automatically.
CSV requires values containing commas, line breaks or double quotes to be quoted so the parser can recover the original text. The converter applies quoting automatically only where it is needed.
The output uses commas, which is the CSV standard. Most spreadsheet apps detect commas on import. If you need a different delimiter, you can find-and-replace after downloading.
Yes — use the matching CSV to JSON converter for the reverse direction.
Yes. Invalid JSON is rejected with a clear error message pointing at the first parsing problem so you can fix the input and try again.