CSV to JSON Converter
Browser processing — files never leave your device
Turn CSV data — pasted or from a file — into a JSON array of objects, using the header row as keys. Quoted fields and embedded commas are handled correctly.
Loading tool…
How to use this tool
- Paste CSV or choose a .csv file.
- Set the delimiter if it isn't a comma (semicolon and tab are common in exports).
- Click Convert to JSON.
- Copy the result or download it as a file.
About this tool
Naive CSV converters break on the first quoted field containing a comma. This one uses a proper CSV parser: quoted fields, escaped quotes (""), embedded commas and line breaks inside values all parse per the CSV standard. The first row becomes the object keys; you can choose comma, semicolon or tab as the delimiter, and optionally convert numeric-looking values to real JSON numbers. Output can be copied or downloaded as a .json file.
Frequently asked questions
- My values contain commas — will they break the conversion?
- Not if they're quoted, which is how spreadsheets export them. The parser follows the CSV standard, so "Smith, Jane" stays one value.
- Why are my numbers coming out as strings?
- CSV has no types — everything is text. Enable "detect numbers" to convert numeric-looking values into JSON numbers; leave it off to preserve things like ZIP codes with leading zeros.
- My export uses semicolons, not commas. Will it work?
- Yes — select the semicolon delimiter. Spreadsheets in many European locales export semicolon-separated files.
Related tools
JSON to CSVConvert a JSON array of objects into CSV that opens cleanly in Excel or Google Sheets, with correct quoting and a stable column order.JSON FormatterPaste minified or messy JSON and get a cleanly indented, readable version. Invalid JSON produces an error with the line and position of the problem.JSON ValidatorCheck whether a JSON document is valid. Errors are reported with line and column, plus a plain-English explanation of the likely cause.