CSV to JSON

Convert a CSV file into a JSON array of records, numbers kept as numbers.

Processed in your browser — files never leave your device

Drop a file here

or

Select file

About CSV to JSON

Convert a CSV file into a JSON array of records, keyed by the header row, with numbers, true/false and dates written as JSON values and IDs with leading zeros kept as text. Comma, semicolon and tab separated files are detected automatically. Runs in your browser.

How CSV to JSON works

Each row of the CSV becomes one JSON object, with the header row as the keys. Numbers, true/false and dates become JSON values, while IDs with leading zeros — PIN codes, phone numbers — stay as text, so nothing is changed by accident.

Comma, semicolon and tab separated files are detected automatically. The conversion runs in your browser.

When to use CSV to JSON

  • Load a spreadsheet export into a web app or API.
  • Make test data for a developer.
  • Turn a CSV into the format a no-code tool imports.

How to use CSV to JSON

  1. Add your CSV. Drop the .csv file into the box above; a preview appears.
  2. Check the options. Header row, and how values are typed.
  3. Download. Save the .json file.

Good to know

Header row
Untick it if your CSV has none; columns are then named Column A, B…
Leading zeros
Kept as text, so 007 stays 007.

Frequently asked questions

My CSV has no header row. What then?

Untick First row is the headings: the fields are named Column A, Column B and so on.

Is the JSON an array?

Yes — an array of objects, one per row.

Guides