Advertisement
JSON to CSV Converter
Turn an array of JSON objects into a CSV table you can open in a spreadsheet.
Advertisement
How to Use This Converter
Paste a JSON array of objects, then convert. Copy the CSV into Excel, Google Sheets or a text file.
- A single object is treated as a one-row table.
- Fields that contain commas, quotes or newlines are wrapped in double quotes.
Practical Example
Convert this JSON:
[
{ "name": "Alice", "age": "30" },
{ "name": "Bob", "age": "25" }
]
The CSV is:
name,age
Alice,30
Bob,25
What Your Results Mean
- Header row — the union of object keys, in the order first seen.
- Data rows — one row per object; missing keys become empty cells.
- Quoted fields — a value with a comma or quote is wrapped so spreadsheet apps keep it as one cell.
Frequently Asked Questions
Does it accept a single object?
Yes. A lone object is wrapped as a one-row array so you still get a header and one data row.
What if objects have different keys?
Every key that appears in any object is added to the header. Rows without that key get an empty cell.
Are nested objects flattened?
No. Nested objects and arrays are written as JSON strings inside the cell so no data is dropped.
Is my data uploaded?
No — conversion runs entirely in your browser.
How are commas in values handled?
The field is wrapped in double quotes, and any quote inside the value is doubled, matching RFC 4180.
Trusted Sources
Advertisement