Skip to content
TheFilesGuy
en
Menu

.csv → .json

CSV to JSON Converter

Turn spreadsheet rows into JSON for code, APIs and config files.

Files never leave your device.

Processed on this device. Nothing is uploaded.

About CSV to JSON

CSV is how spreadsheets export data, and JSON is what most code and APIs expect. Paste CSV or open a .csv file and the JSON appears instantly beside it. The delimiter is detected automatically, so comma, semicolon, tab and pipe files all work, and quoted fields with commas or line breaks are handled correctly. Use the header row as object keys, or get plain arrays. Numbers, true and false and empty cells can become real JSON values, while codes with leading zeros such as 007 stay as text.

How to Use It

  1. 01

    Paste or open CSV

    Paste CSV into the left box, or press Open file to load a .csv.

  2. 02

    Check the options

    Keep the header row option on to get objects with named keys.

  3. 03

    Copy or download

    Copy the JSON on the right, or download it as data.json.

Questions

How are numbers handled?

With type detection on, values such as 42 and 3.5 become JSON numbers. Values with leading zeros, such as ZIP codes and IDs, stay as text so nothing is lost.

My CSV uses semicolons. Will it work?

Yes. The delimiter is detected automatically, or you can choose comma, semicolon, tab or pipe.

What if two columns have the same name?

The second gets a suffix such as name_2, so no values are overwritten.

Is there a size limit?

No fixed limit. Files with hundreds of thousands of rows work, though very large ones may take a moment to convert.

Is my data uploaded?

No. The conversion runs in your browser.

See all data tools

Learn More