Skip to content
PDFBoii

CSV to JSON

Turn a CSV spreadsheet into a JSON array of objects, using the header row as field names. Numbers and true/false values are converted automatically; everything else stays a string.

Free, with no account needed. It runs in your browser, so your file never leaves your device.

Select CSV file

or drop it here · up to 25 MB

About CSV to JSON

CSV to JSON turns a CSV file into a JSON array where each row becomes an object. The first row is used as the field names.

Last reviewed

How to use it

  1. Select a .csv file with a header row.
  2. Press Convert to JSON.
  3. Download the .json file.

When to use it

Good to know

Tips for a better result

Questions about CSV to JSON

Why did my leading zeros disappear?
A value like 007 looks like a number, so it is converted to 7. Postcodes, phone numbers and IDs with leading zeros are affected, so check those columns.
What if my CSV has no header row?
The first row is always used as the field names, so add a header row first.
How much does CSV to JSON cost?
CSV to JSON is free, and you don't need an account. It runs inside your browser, so it costs us nothing to run and there are no credits to spend.
Is my file kept after I use CSV to JSON?
Your file never leaves your device. CSV to JSON works inside your browser, so nothing is uploaded and there is nothing for us to keep.
Do I need an account to use CSV to JSON?
No. CSV to JSON works without an account or sign-up. Open the page, choose your file and download the result.
Does CSV to JSON work on a phone?
Yes. CSV to JSON runs in the browser on phones, tablets and computers, with nothing to install. A very large file can be slow on an older phone, because your own device does the work.
Is there a file size limit for CSV to JSON?
We set no upload limit, because nothing is uploaded: the limit is your device's memory. If your browser can't process a file, the page offers to process it on our servers instead. That uses credits and accepts files up to 25 MB.

Guides

Related tools