Turn a CSV file into JSON

A CSV file holds rows of values. This tool turns each row into a JSON object with named keys. The file stays on your device.

Stays on your device Free
1. Add the CSV file

Comma, semicolon or tab. The file stays on your device.

Local only
Drop a CSV file, or click to choose .csv, .tsv or .txt, up to 20 MB
Preview
Pick the one your file uses.
Row shape
Each row becomes an object with named keys.
File details
Add a CSV file to begin.
JSON ready

This runs in your browser. Your file is not sent to us.

How to use csv to json

  1. Add a CSV file. Drop a .csv file. The tool reads the rows and shows a preview.
  2. Pick the shape. Choose the delimiter and whether the first row holds the keys.
  3. Download. Save the JSON and use it in your app or script.

What you get

  • Comma, semicolon or tab input
  • Header row becomes the keys
  • Array of objects or arrays
  • Preview before you save
  • No upload or sign-up

Why this runs in your browser

Most free PDF sites ask you to upload your file. Then you wait. Then you hope they delete their copy. That is a bad deal for a payslip, a contract or a passport scan.

CSV to JSON reads the file on your device and saves the result to your downloads folder. There is no upload and no copy on a server. For the details, see how it works.

CSV to JSON questions

Where do the keys come from?

The first row becomes the keys by default. You can turn that off.

What if there is no header?

Turn off the header switch and each row becomes a JSON list.

Are numbers kept as numbers?

Yes. A value like 42 becomes a number, not text.

Will it handle quotes?

Yes. Quoted values and line breaks inside cells are kept.

Is my data uploaded?

No. The file is read in your browser and never sent to us.