util·tools

JSON to CSV Converter

Paste a JSON array of objects and get clean CSV you can open in a spreadsheet — or switch direction to turn CSV back into JSON. Quoted fields, commas and line breaks inside values are handled correctly. Everything runs in your browser, so your data never leaves your device.

About this json to csv converter

JSON and CSV are two of the most common ways to move structured data around: JSON is how programs and APIs exchange it, while CSV is what spreadsheets like Excel and Google Sheets open. This converter goes both ways. In JSON → CSV mode it takes an array of objects, works out the column headers from the keys (across every row, so nothing is dropped), and writes a proper CSV — any value containing a comma, quote or line break is quoted and escaped following the RFC 4180 rules, so it opens cleanly in a spreadsheet. In CSV → JSON mode it reads the first row as headers and turns each remaining row into an object, correctly handling quoted fields that themselves contain commas or newlines. All of it happens in your browser, so even sensitive data stays on your device.

Frequently asked questions

What JSON shape does it expect?
An array of objects, like [{"a":1},{"a":2}]. A single object also works and becomes a one-row CSV. The column headers are taken from the object keys.
Does it handle commas and quotes inside values?
Yes. Values containing a comma, quote or line break are quoted and escaped following the standard CSV rules (RFC 4180), so spreadsheets read them correctly.
Is my data uploaded anywhere?
No. The conversion runs entirely in your browser, so the JSON or CSV you paste never leaves your device.

Related tools