CSV to JSON
Convert CSV rows into a JSON array of objects.
Paste your input on the left and press Translate (or Ctrl/Cmd + Enter) to get the result on the right. Free, no sign-up.
Example
id,name,role,active 1,Ada Lovelace,Engineer,true 2,Alan Turing,Scientist,false 3,Grace Hopper,"Admiral, Engineer",true
[
{
"id": 1,
"name": "Ada Lovelace",
"role": "Engineer",
"active": true
},
{
"id": 2,
"name": "Alan Turing",
"role": "Scientist",
"active": false
},
{
"id": 3,
"name": "Grace Hopper",
"role": "Admiral, Engineer",
"active": true
}
]Frequently asked questions
- Does the first row become the keys?
- Yes. The first row is used as the header, and every following row becomes an object.
- Are numbers converted to numbers?
- Yes. Numeric and boolean-looking values are converted to real numbers and booleans, and empty cells become null.