CSV to JSON

Paste or upload a CSV file and get clean JSON back instantly, headers become object keys, numbers and booleans are detected automatically.

Click to choose a .csv file, or drag and drop it here

Or paste CSV text directly into the box below.

First row is a header
Pretty-print JSON

Output


          

Common questions

How is the delimiter detected?

Auto-detect counts commas, semicolons, and tabs in the first line and picks whichever appears most, which correctly handles most real-world exports. You can also set it manually.

What happens to quoted fields?

Fields wrapped in double quotes can contain commas or newlines safely, and a doubled quote (\"\") inside a quoted field is treated as a literal quote character, standard CSV escaping.

Are numbers and booleans converted automatically?

Yes. A field that looks like a whole number, decimal, true, or false is converted to that type in the JSON output rather than staying a string. Turn this off by editing the value if you need it kept as text.