🌐 English

Convert CSV to JSON

Convert CSV to a JSON array with automatic number/boolean detection and nested objects from dot.keys. Runs in your browser.

  1. Upload
  2. Options
  3. Download

How to: CSV to JSON

  1. Select a CSV file.
  2. Choose the options.
  3. Download the JSON.

JSON is the native format for web apps and APIs. Converting CSV to JSON turns spreadsheet rows into objects developers can use immediately.

Common uses

Tips for best results

Type detection

Values like 42, 3.14, true and false are converted to numbers and booleans, so the JSON is ready to use in code. Empty cells become null. Text that looks numeric but must stay text, such as postcodes with leading zeros, can be kept by turning type detection off.

Nesting with dot keys

Headers such as address.city and address.zip create a nested address object, which matches the structure most APIs expect.

Why use FreePDF for CSV to JSON?

FreePDFTypical upload-based sites
Files uploaded to a serverNo – processed on your deviceYes
Sign-up requiredNeverOften for bigger jobs
Hourly / daily task limitsNoneCommon on free plans
Watermark on outputNeverSometimes
Works offline after loadingYes, for most toolsNo

Frequently asked questions

How are headers used?

The first row becomes the JSON keys. A header like address.city becomes a nested object.

How are headers used?

The first row becomes the JSON keys. A header like address.city becomes a nested object.

Which delimiters are supported?

Comma, semicolon and tab are detected automatically.

Is CSV to JSON really free?

Yes. Every tool on FreePDF is 100% free with no file limits, no sign-up and no watermarks. The site is supported by unobtrusive ads.

Are my files uploaded to a server?

No. FreePDF processes your files directly in your browser using JavaScript. Your documents never leave your device, so they stay completely private.

Does it work on mobile?

Yes. FreePDF works in any modern browser on Android, iPhone, iPad, Windows, Mac and Linux.

Other tools

Data ConverterJSON to CSVCSV to ExcelExcel to CSVExcel to JSONJSON to ExcelCreate ZIPUnzip FilesMerge PDFSplit PDFRotate PDFAdd Page NumbersJPG to PDFPDF to JPG