CSV to JSON
Convert CSV rows to a JSON array of objects. Paste CSV on the left; the JSON output builds on the right as you type.
id,name,role
1,Ada Lovelace,engineer
2,Grace Hopper,engineer
becomes
[
{ "id": 1, "name": "Ada Lovelace", "role": "engineer" },
{ "id": 2, "name": "Grace Hopper", "role": "engineer" }
]
The header row supplies the keys, and each remaining row becomes one object. id converts to the number 1 rather than the string "1" because Coerce types is on by default.
Type coercion
A cell that reads exactly 42, true, false, or null converts to that JSON type when Coerce types is checked. Anything else, including a value with leading zeros like 007 or a phone number, stays a string, since guessing wrong there is worse than leaving it as text. Turn Coerce types off to keep every cell as a string exactly as written.
Delimiter detection
Auto-detect samples the first rows of your input and scores comma, semicolon, tab, and pipe by how consistent the resulting column count is. It gets this right for almost any real CSV or semicolon-delimited export; set Delimiter manually only if your file mixes formats or has one dominant text column full of commas that throws off the count.
No header row
Some exports skip the header entirely. Turn off Header row and each line becomes a plain JSON array of its cell values instead of an object, so you can rename or restructure the fields yourself afterward.