Free · runs in your browser · no upload · no quota
CSV to JSON Converter
Paste CSV or open a .csv file and get JSON straight away: an array of objects keyed by the header row, or an array of arrays. The conversion runs in your browser, so the data never leaves your device.
How to Convert CSV to JSON
- Add your CSV
Paste it into the left box, drop a file onto it, or click Open file and pick a .csv or .tsv file. - Check the options
The delimiter is detected automatically, the first row becomes the keys, and numbers and true/false become real JSON values. Change any of them if your data needs it. - Copy or download the JSON
The JSON appears on the right as you type. Copy it, or click Download to save a .json file.
Example
name,age,active Ana,31,true Marko,27,false
[
{
"name": "Ana",
"age": 31,
"active": true
},
{
"name": "Marko",
"age": 27,
"active": false
}
]Frequently Asked Questions
-
Is my CSV uploaded anywhere?No. The page converts the text with JavaScript in your own browser. Nothing is sent to our servers, so it also works for confidential data and does not count against any conversion quota.
-
Which delimiters are supported?Comma, semicolon, tab and pipe. The delimiter is detected from the first lines automatically; you can also pick it yourself. Quoted fields, quotes escaped as "" and line breaks inside quotes are handled as the CSV standard (RFC 4180) describes.
-
What if my CSV has no header row?Turn off First row is header. Each row then becomes an array of values instead of an object.
-
Are numbers kept as numbers?Yes, with Detect numbers and booleans on: 42 becomes 42, true becomes true and an empty field becomes null. Turn it off to keep every value as a string, for example to preserve leading zeros in postcodes or IDs.
-
Is there a size limit?Only your browser's memory. Files of tens of megabytes convert fine on a normal computer.
More browser tools
Working with files rather than text? Our file converters handle CSV to XLSX, XLSX to CSV, CSV to XML and 400+ other formats.