JSON to CSV Converter
Paste or upload a JSON array of objects to instantly convert to CSV format with table preview
Paste a JSON array, pick your delimiter, and grab a clean CSV file — headers, escaping, and column alignment handled for you. Nested objects get stringified so nothing drops out of the output. And everything runs in your browser. Nothing gets uploaded.
How It Works
The tool parses your JSON, collects every unique key from all objects to build the header row, then walks each object and writes its values in that column order. Fields with commas, quotes, or line breaks get auto-escaped per RFC 4180. Nested objects and arrays are converted to their JSON string form so the CSV stays flat.
Examples
Simple User List
You exported a list of users from your app’s admin panel and need it in a spreadsheet for the marketing team.
[
{"name":"Alice","email":"[email protected]","plan":"pro"},
{"name":"Bob","email":"[email protected]","plan":"free"},
{"name":"Carol","email":"[email protected]","plan":"pro"}
]
name,email,plan
Alice,[email protected],pro
Bob,[email protected],free
Carol,[email protected],pro
API Response with Missing Fields
Not every object in your JSON has the same keys. Maybe one record is missing a phone number, another has no city. The converter still lines everything up correctly — missing fields become empty cells.
[
{"id":1,"city":"NYC","phone":"555-0100"},
{"id":2,"city":"LA"},
{"id":3,"phone":"555-0300"}
]
id,city,phone
1,NYC,555-0100
2,LA,
3,,555-0300
Nested Objects and Special Characters
Real-world JSON is messy. You’ll hit nested objects, arrays inside fields, commas in text values. Here’s how the converter handles all of that at once.
[
{"product":"Widget, Deluxe","price":29.99,
"tags":["sale","new"]},
{"product":"Gadget Pro","price":49.50,
"tags":["popular"]}
]
product,price,tags
"Widget, Deluxe",29.99,"[“sale”,“new”]"
Gadget Pro,49.50,"[“popular”]"
Who Uses This
Converting API responses to CSV for quick debugging or handing off to non-technical teammates.
Pulling JSON exports from dashboards and loading them into Excel or Google Sheets for pivot tables.
Turning feature flag configs or user feedback JSON dumps into shareable spreadsheets for stakeholder reviews.
Converting dataset samples from JSON format into CSV so they can open them in tools like R, pandas, or SPSS.
Common Mistakes
If you paste {"name":"Alice"} instead of [{"name":"Alice"}], it still works — but you’ll only get one row. Wrap it in square brackets if you want multi-row output.
JavaScript is forgiving about trailing commas. JSON is not. A comma after the last item — [{"a":1},] — will throw a parse error. Remove it before converting.
A field like {"address":{"city":"NYC","zip":"10001"}} won’t become two columns (city, zip). It becomes one column with the stringified JSON. If you need deep flattening, pre-process with a JSON formatter first.
Technical Details
- Processing: 100% client-side — your data never leaves the browser
- Browser Support: Chrome, Firefox, Safari, Edge
- CSV Standard: RFC 4180 compliant escaping
- Max Size: Limited only by your browser’s memory (tested up to 50 MB JSON files)
- Delimiters: Comma, semicolon, or tab
Frequently Asked Questions
How do I convert JSON to CSV in Excel?
Paste your JSON here, hit Convert, and download the .csv file. Open it in Excel — done. You don’t need Power Query or any plugins. Excel reads CSV natively, so the columns and rows map right over.
Can I convert nested JSON to CSV?
Yes, but with a caveat. Nested objects and arrays get turned into their JSON string representation in the CSV cell. So {"city":"NYC"} stays as that string in the output. If you need those nested fields as separate columns, flatten the JSON first using a JSON formatter tool.
Is there a file size limit for JSON to CSV conversion?
No hard limit on our end. Since the conversion happens in your browser, the ceiling is your device’s available memory. We’ve tested files up to 50 MB without issues. If your JSON is larger than that, you might want to split it into chunks or use a command-line tool like jq.
What delimiter should I pick for my CSV?
Comma is the default and works with almost everything. Use semicolon if your data has lots of commas in the values — common with European number formatting. Tab is great when you’re pasting directly into Google Sheets or need a TSV file for a database import.
Is my data safe when using this tool?
Completely. The conversion runs entirely in your browser using JavaScript. Nothing gets sent to any server. There are no cookies tracking your input, no analytics on your data. Close the tab and everything disappears.