CSV ⇄ JSON Converter
Convert CSV to JSON and back, with correct handling of quoted fields, embedded commas and line breaks. Choose your delimiter, header row and type coercion — all in your browser.
About the CSV ⇄ JSON converter
Convert CSV to JSON and JSON back to CSV in your browser. Bytewrench's parser follows the RFC-4180 rules, so quoted fields, embedded commas, escaped quotes and line breaks inside cells are all handled correctly — not just naive comma-splitting. Choose your delimiter, decide whether the first row is a header, and optionally coerce numbers and booleans to real JSON types.
Going the other way, JSON arrays of objects become a clean CSV with a header row built from the union of all keys, with values quoted and escaped where needed.
CSV → JSON and JSON → CSV with one click.
Handles quoted fields, commas and newlines inside cells, and doubled-quote escaping.
Comma, semicolon or tab; toggle header row and number/boolean coercion.
Upload a file, paste data, then copy or download the result.
Frequently asked questions
Does it handle commas and quotes inside fields?
Yes. Fields wrapped in double quotes can contain commas, line breaks and escaped quotes (""), and they're parsed correctly rather than split on every comma.
Will it convert numbers and booleans?
Optionally. With type coercion on, values like 42 and true become real JSON numbers and booleans; turn it off to keep everything as strings.
What JSON shape is needed for JSON → CSV?
An array of objects works best — keys become columns. An array of arrays is also supported and is written row-for-row.
Is my data uploaded?
No. All parsing and conversion happen locally in your browser.