Skip to main content
FileForge

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

  1. Paste CSV or choose a .csv file.
  2. Set the delimiter if it isn't a comma (semicolon and tab are common in exports).
  3. Click Convert to JSON.
  4. 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.