Skip to the tool
FreeNo sign-upNo watermarkNo file-size games

CSV to JSON

The first row becomes the keys. Quoted fields, commas inside quotes and doubled quotes are all handled properly.

Runs
On your device. The file is never uploaded.
Takes
CSV
Gives
JSON
csv-to-jsonLocal

How it works

  1. 01Paste your CSV or drop the file
  2. 02Choose whether numbers stay as text
  3. 03Copy or download the JSON

Questions

Does it handle commas inside a field?
Yes, as long as the field is quoted, which is what any spreadsheet produces.
Are numbers converted?
Only if you ask. Leaving them as text is the safe default. It is what stops a phone number or a leading zero from being mangled.
What about semicolon-separated files?
The separator is detected from the header row, so European exports work without changing anything.