How to use the CSV to JSON Converter
- Paste CSV on the left — data copied from Excel or Google Sheets works too (it is tab-separated).
- Leave the delimiter on "Auto" or choose one.
- Choose "Array of objects" or "2D array" and whether to convert types.
- Press "Copy" or "Download" to get the JSON.
Examples
CSV to an array of objects
name,age,member
Amy,28,true
Ben,35,false
[
{ "name": "Amy", "age": 28, "member": true },
{ "name": "Ben", "age": 35, "member": false }
]
Specs & key facts
| Standard | RFC 4180 (quotes, escaped quotes, line breaks inside fields) |
|---|---|
| Delimiter | Auto-detect, or comma, semicolon, tab |
| Output | Array of objects (first row as keys) or 2D array |
| Types | Numbers, true/false, empty → null; leading zeros kept as strings |
| Processing | In your browser (nothing is uploaded) |
| Price | Free, no sign-up |
FAQ
Can I paste straight from Excel?
Yes. Cells copied from Excel are tab-separated and "Auto" detects them.
Why did my ZIP code lose its leading zero elsewhere?
This tool keeps values with leading zeros as strings. Turn off "Convert types" to keep every value as a string.
What if a field contains a comma?
Per the CSV standard, wrap it in double quotes, e.g. "Taipei, Taiwan", and it will be parsed correctly.