JSON ⇄ CSV

JSON to CSV converter

Convert a JSON array of objects to CSV, or turn CSV back into JSON — both directions, instantly and privately.

▌ Input
▌ Output

Two-way conversion, done locally

Paste a JSON array of objects and get a clean CSV with a header row built from the union of all keys, or paste CSV and get a JSON array back. Quoted fields, commas inside values, and escaped quotes are all handled, and nested objects are serialised so nothing is lost. Everything runs in your browser, so your data never leaves your device.

FAQ

What JSON shape does it expect?
An array of flat objects works best, e.g. [{"name":"Ada","role":"Engineer"}]. A single object is also accepted and becomes one CSV row. Nested values are stored as JSON strings in the cell.
Does CSV to JSON handle quoted commas?
Yes. Fields wrapped in double quotes can contain commas, line breaks and escaped quotes, and they're parsed correctly into JSON.
Is my data uploaded?
No — the conversion runs entirely in your browser, so nothing is sent to a server.

Related tools