CSV to JSON
Paste your CSV on the left, click Convert, copy the JSON on the right.
Paste your CSV on the left, click Convert, copy the JSON on the right.
Each row of your CSV becomes one JSON object. With Header row on, the first line supplies the keys; with it off, you can name the columns yourself with custom headers, or let the tool fall back to col_1, col_2 and so on.
Quoted fields, escaped quotes ("") and values that span multiple lines are handled, and the delimiter is detected automatically unless you pick one yourself.
Type inference turns plain text like 29, true and null into real numbers, booleans and nulls instead of strings. Turn it off to keep every value as text.
Everything runs in your browser using plain JavaScript; your CSV is never uploaded, logged or stored.
Paste your CSV on the left and click Convert. The JSON appears on the right, ready to copy or download.
Yes by default the first row is treated as headers. You can turn this off in More options.
Yes. Choose the output format in More options to get a JSON array or newline-delimited JSON.
No. The conversion runs entirely in your browser; nothing is uploaded or stored.