CSV to JSON Converter
Paste CSV and turn rows into JSON objects locally. Choose whether the first row contains headers, inspect parsed values, and copy the result.
output.json
The JSON array appears here, one object per row.
Nesting is yoursArrays stay in one cellBig numbers keptNothing uploaded
Fields are read by RFC 4180, so a quoted field may hold the delimiter, a line break and doubled quotes. every field stays a string, so 007 stays "007".
What happens to an awkward value
- id,user.name 1,Ava
- id,tags 1,"[""a"",""b""]"
- id,email 1,a@b.c 2,
Common questions
- Does this run in my browser?
- Yes. The page performs the core transformation in your browser and explains the result before you copy or download it.
Exact conversion of the records you give it: every key that appears becomes a column, a missing key becomes an empty cell rather than a shifted row, and the CSV is quoted by RFC 4180. Reversing the direction converts types only where you say so.