How to use CSV to JSON
- Paste CSV text or open a .csv file.
- Check the delimiter (it is detected automatically) and whether the first row holds column names.
- Choose whether to convert numbers, true/false and empty cells to real JSON types.
- Copy the JSON or download it as a .json file.
About this tool
CSV looks simple but has rules that trip up naive converters. Following RFC 4180, a field that contains the delimiter, a double quote or a line break is wrapped in double quotes, and a quote inside such a field is written twice (""). This converter implements those rules, so addresses with commas, multi-line notes and quoted speech come through intact.
Spreadsheets in many European locales save CSV with semicolons because the comma is the decimal separator there. The tool tries comma, semicolon, tab and pipe and picks the one that splits rows most consistently; you can override it. With type conversion on, plain numbers become JSON numbers, but values such as ZIP codes with leading zeros (“02134”), phone numbers with “+” and very long IDs stay as strings so nothing is lost.
Turn on “Nest dotted headers” to rebuild structure from flattened columns: headers like address.city and address.zip become a nested address object – the reverse of what JSON to CSV produces.
Frequently asked questions
What if my CSV has no header row?
Untick “First row is the header”. Each row then becomes an array of values instead of an object.
Why are some numbers still in quotes?
Values with leading zeros, plus signs, exponents or more than 15 digits are kept as text, because converting them would change or round them.
Can I convert an Excel file?
Save or export the sheet as CSV first (File → Save As → CSV UTF-8), then open it here.
Are my files and texts uploaded to a server?
No. The whole process runs inside your browser with JavaScript. Your files and texts never leave your device, which also means the tool keeps working if you go offline after the page has loaded.
Is this tool really free?
Yes. There is no sign-up, no daily limit, no watermark and no paid tier. The site is supported by advertising shown on the page, not by charging for the tools.