How to use the csv to json converter
- Paste your data in the top box.
- Check the separator matches your CSV (comma, semicolon or tab).
- Copy or download the converted result.
How the conversion works
The first row of the CSV is used as the field names. Every following row becomes one JSON object, and all the objects are placed in an array:
name,age / Ana,34 becomes [{"name": "Ana", "age": 34}]
Details handled for you
- Quoted fields: a value wrapped in double quotes may contain commas and line breaks, as in
"New York, NY". - Escaped quotes: two double quotes inside a quoted field (
"") become one. - Separators: choose comma, semicolon (the default for Excel in much of Europe) or tab (for data copied directly from a spreadsheet).
- Types: with the option ticked,
34becomes a number,trueandfalsebecome booleans, and empty cells becomenull. Values with leading zeros, such as zip codes and phone numbers, stay as text so nothing is lost.
Getting CSV out of Excel or Google Sheets
In Excel choose File → Save As → CSV UTF-8. In Google Sheets choose File → Download → Comma-separated values. Or simply select the cells, copy, paste here and set the separator to Tab.