CSV to JSON Converter

Turn a CSV file into a JSON list. The first row is used as the column names.

Someone gives you a spreadsheet export, and the thing you are feeding wants JSON. The first row is used as the column names. Each row after it becomes one item in a JSON list.

How to use it

  1. Enter or paste your text or values.
  2. It works on your device as you type.
  3. Copy or download the result.

Good to know: The first row matters. It names every item. If your CSV has no header row, the first row of real data will be used as the names. Values come out as text. Numbers are not changed, because guessing is how a zero at the start of a postcode or ID disappears.

Common questions

Why are my numbers strings in the output?

On purpose. Guessing the type can damage real data. A zip code like 01234 would become 1234, and a long ID would be rounded. Keeping everything as text keeps exactly what was in the file.