CSVSwap

CSV to JSON Converter

Turn a CSV file into a JSON array of objects, one object per row, using the header row as keys.

or paste data

Your data stays on your device. The conversion runs in your browser and nothing is uploaded.

How to use the CSV to JSON converter

  1. Drop your CSV file in the box or paste the CSV text.
  2. Leave pretty print on for readable JSON, or turn it off for compact JSON.
  3. Click Convert, then download the .json file or copy the result.

What to know

Questions

Can it handle large files?

Yes. The conversion runs on your own computer, so files with tens of thousands of rows work. The preview shows the first rows only.

Why are numbers in quotes?

Every value is kept as text so nothing is changed by accident, such as 00501 becoming 501. Most programs that read JSON can convert numbers when they need to.

Related tools