CSV to JSON
Parse CSV data into a structured JSON array instantly. Handles quoted fields, tabs, type inference, and empty values. Free, private, runs entirely in your browser.
Paste CSV with a header row and get a JSON array of objects in seconds. The first row becomes property names, each subsequent row becomes an object. Enable type inference to automatically convert numbers, booleans, and null values instead of keeping everything as strings.
Related tools
Frequently asked questions
Does the CSV need a header row?
Yes. The first row is always treated as the header and becomes the property names in the JSON output. Data rows start from the second line. If your CSV does not have a header, add one before pasting or rename the keys in the JSON output after conversion.
What does type inference do?
When enabled, values that look like numbers (42, 3.14),
booleans (true, false),
or null (null, empty cell) are converted to their native JSON types.
Disable it to keep all values as strings, which is useful when working with IDs or zip codes
that would otherwise lose leading zeros.
Are quoted fields and embedded commas handled?
Yes. The parser follows RFC 4180: fields enclosed in double-quotes may contain commas,
newlines, and doubled double-quotes (""
becomes ").
Tab-separated files are also auto-detected.
How are empty cells treated?
With type inference on, empty cells become null.
With it off, they become an empty string "".
Rows that are entirely blank are ignored.