How to use the CSV to JSON Converter
- Choose CSV → JSON or JSON → CSV.
- Paste data or open a file.
- Adjust delimiter, header and type detection; copy or download the result.
How it works
CSV parsing follows RFC 4180: fields may be wrapped in double quotes, quotes inside fields are doubled (""), and quoted fields can contain commas and line breaks. The delimiter is detected from the first lines. JSON → CSV collects every key that appears in any object as a column. Everything runs in your browser — nothing you enter is uploaded.
Worked examples
Quoted names
The row "Smith, John",john@example.com becomes {"name": "Smith, John", "email": "john@example.com"} — the comma inside quotes stays part of the name.
Limitations and assumptions
- Nested JSON objects are written into a single CSV cell as JSON text.
- Number detection turns 00123 into text-safe values only when it doesn't look like a plain number — switch off type detection to keep everything as text.
Frequently asked questions
Can I open an Excel file?
Save it as CSV from Excel or Google Sheets first, then open it here.
Built and reviewed by Guru G
Calculation logic is covered by automated tests against known values. Last reviewed Nov 6, 2026. Found a problem? Let us know — see our editorial policy.