StayfileFiles stay on this device

Convert CSV to JSON

Turn a CSV file or pasted rows into JSON. The header row becomes the keys, and numbers come out as numbers unless you ask for text.

How to use it

  1. Drop in a .csv file or paste the rows.
  2. Check the options: whether the first row is a header, and whether numbers should stay as text.
  3. Copy the JSON or download it as a file.

Questions

Will zip codes and IDs keep their leading zeros?

Yes. Values that start with a zero, like 02134, and numbers too long to store exactly, like card or order numbers, are kept as text. Tick "Keep all values as text" if you want no numbers at all.

My file uses semicolons, not commas.

The separator is detected automatically. If the preview still looks wrong, pick it by hand from the list.

Do my files get uploaded?

No. The page does the work inside your browser, and your files are never sent to a server. That makes it fine to use with private documents such as contracts or bank statements.

Other data tools