Data
CSV to JSON
Turn CSV tables into JSON and back.
Everything runs in your browser. No file is ever uploaded to a server.
- 1Paste or type your CSV, or JSON, into the input box (a sample CSV is preloaded so you can see the expected format).
- 2Click "CSV → JSON" to turn CSV rows into a JSON array, using the first row as field names.
- 3Or click "JSON → CSV" to flatten a JSON array of objects back into comma-separated rows.
- 4Copy the result straight from the output box with the copy icon.
Can the converter handle CSV fields with commas or line breaks inside quotes?+
Yes. It follows RFC 4180 conventions: wrap a field in double quotes to keep commas, line breaks, or quote characters inside it from breaking anything (use "" for an escaped quote). Plain unquoted fields work too, since it auto-detects which is which.
What shape does my JSON need to be in for JSON → CSV to work?+
A JSON array of objects, one entry per row, with whatever keys you'd want as CSV columns (name, age, city...). The output's header row is built from the union of every key across all objects, so if one entry is missing a field, that cell just comes out blank.
Does my CSV or JSON ever leave my browser?+
No. The conversion runs entirely in JavaScript on your device. Nothing is uploaded, so it's fine to paste data you wouldn't want on a server.