Developer · Free browser tool

CSV to JSON

Convert a CSV table into a JSON array.

● Runs locally in your browser. No file or text uploads.

Keep commas inside a field

The row Ada,"a,b" under headers name,note becomes an object with name “Ada” and note “a,b”. Quoted line breaks and doubled quote escapes are accepted.

Keep leading zeros

A CSV column containing 00123 remains the JSON string "00123". This avoids silently changing identifiers into numbers. Convert numerical fields explicitly in the application that consumes the output if that is what its schema requires.

When to use it

CSV values stay strings, including numbers and leading zeroes. Convert types explicitly in the application that consumes the result.

About this tool

Convert a CSV table into a JSON array. Use it without creating an account. Results are available immediately, and inputs are not saved between visits.

Does this send my input to a server?

Inputs are processed locally. Optional Analytics sends page statistics only after consent; tool inputs and files are excluded.

Related tools

JSON Formatter · Base64 Encoder / Decoder · URL Encoder / Decoder · UUID Generator