CSV to JSON
How to use
Paste CSV or open a local file. Parsing follows RFC 4180: quoted fields,
escaped quotes (""), embedded commas and newlines, and
CRLF. The delimiter is auto-detected, or you can pick comma, semicolon,
tab, or pipe. With the header row on, the result is an array of objects;
turn it off for an array of arrays. Type inference (numbers and
booleans) is off by default. Copy the JSON, or download a
.json file. Everything runs in your browser; nothing is
uploaded, stored, or sent anywhere.
JSON
Paste CSV or open a file to see JSON here.
Notes
- A leading UTF-8 BOM is stripped. Ragged rows (a different field count than the header, or than the first row when the header is off) are listed with their line number.
-
Inputs around 5 MB or larger may feel slow; the page warns when
the text reaches that size. Files are read with
FileReaderonly — nothing is uploaded.