{}

CSV to JSON

Turn CSV from a spreadsheet into JSON. Handles quotes, commas inside cells and any separator.

How it works

Reads CSV, including quoted cells and commas inside cells, detects the separator, and writes JSON. The first row can become the keys. Choose a list of objects, one object keyed by the first column, one list per column for charts, or one object per line (NDJSON).

Worked example

The CSV name,marks then Aman,81 becomes [{"name":"Aman","marks":81}] with numbers turned into real numbers.

Good to know

Common questions

How are numbers decided?
Plain numbers like 12 or -3.5 become numbers. Anything with letters or a leading zero stays as text.
What if a row has fewer cells?
Missing cells are filled with an empty value.
Is the data uploaded?
No. It is converted in your browser.

More in Data.