Home โ€บ Developer Tools โ€บ CSV to JSON

CSV to JSON

Paste CSV โ€” even messy, quoted, comma-inside-cell CSV โ€” and get clean, typed JSON out.

๐Ÿ”’ Parsed in your browser โ€” your data never leaves this page

Ad Space ยท AdSense code goes here later

A CSV parser that survives real-world files

Naive converters split on every comma and choke the moment a cell contains "Chattogram, GEC". This one implements the actual CSV standard: quoted fields, doubled-quote escapes, line breaks inside cells and Windows line endings all parse correctly. The delimiter is auto-detected (comma, semicolon or tab โ€” semicolons are common in European Excel exports), the first row becomes your JSON keys, and with type detection on, "24" becomes the number 24 and "true" a real boolean โ€” the JSON your code actually wants.

FAQ

Can I paste straight from Excel or Google Sheets?
Yes โ€” spreadsheet copies arrive tab-separated, which auto-detect recognizes instantly. Exported .csv files paste fine too.
How are commas inside values handled?
Standard CSV wraps such values in quotes, and this parser follows the spec โ€” quotes, escaped quotes ("") and even line breaks inside cells parse correctly.
What if I turn off "first row is header"?
You get an array of arrays instead of objects โ€” useful when the data has no column names.

Related Tools