WW Tools
JSON ↔ CSV Converter

CSV to JSON Converter

Paste CSV and get a JSON array of objects as you type. Numbers, booleans, and null come back as real types instead of strings, dotted headers like address.city rebuild nested objects, and the delimiter (comma, tab, semicolon, or pipe) is detected automatically. Everything runs in your browser.

Worked example

id,name,active
1,Ada,true

becomes

[{"id":1,"name":"Ada","active":true}]

The header row names the keys and each data row becomes one object. Type inference turns 1 into a number and true into a boolean; with inference off, every value stays a string.

CSV output appears here

Frequently asked questions

How do I convert CSV to a JSON array of objects?

Paste the CSV with the first row as a header. Each header cell becomes a key and each data row becomes one object in the array. If the data has no header row, turn the header option off and the keys become column1, column2, and so on.

Does the converter keep numbers and booleans as real types?

Yes, when type inference is on. 42 becomes a number, true and false become booleans, and null becomes null. Cells like 007 keep the leading zero as a string, and integers too long to be exact JavaScript numbers also stay strings, so IDs survive intact.