Skip to content
snip tools

CSV to JSON converter

Convert CSV to a JSON array. Handles quoted fields and custom delimiters, all in your browser.

Runs 100% in your browser
 

How to convert CSV to JSON

  1. Paste your CSV. Paste CSV text into the input box.
  2. Set delimiter and header. Pick the delimiter and whether the first row is a header.
  3. 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

How does it handle quoted fields?
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.
Does the first row become the keys?
By default yes — the header row supplies the object keys. Turn off "First row is header" to get arrays of values instead.
Can I use a different delimiter?
Yes — choose comma, semicolon or tab. Semicolon is common in European locales.
Is my file uploaded?
No. Parsing happens entirely in your browser.