CSV to JSON converter
Convert CSV to a JSON array. Handles quoted fields and custom delimiters, all in your browser.
Runs 100% in your browserHow to convert CSV to JSON
- Paste your CSV. Paste CSV text into the input box.
- Set delimiter and header. Pick the delimiter and whether the first row is a header.
- Copy the JSON. Copy or download the resulting JSON array.
About CSV to JSON
CSV is the universal export format, but most code wants JSON. Naively splitting on commas breaks the moment a value contains a comma or a line break inside quotes — exactly what this parser handles correctly by honouring RFC 4180 quoting rules. With a header row, each record becomes a clean object; without one, you get arrays of raw values.
Frequently asked questions
- It follows RFC 4180: fields wrapped in double quotes can contain commas, newlines and escaped quotes (
""). The parser tracks quote state, so a comma inside a quoted value won't split the column. - By default yes — the header row supplies the object keys. Turn off "First row is header" to get arrays of values instead.
- Yes — choose comma, semicolon or tab. Semicolon is common in European locales.
- No. Parsing happens entirely in your browser.