Send feedback

Coming from the page: CSV to JSON Converter

One moment…

Detects the delimiterKeeps leading zerosNo upload

CSV to JSON Converter

Open or paste a CSV file and get clean JSON with the right types.

Your file is read and converted inside your browser; it is never uploaded.

How to convert

1

Open the file

Open a CSV file, save an Excel sheet as CSV and open it here, or paste the text.

2

Pick options

The delimiter is detected. The first row becomes the keys, and empty cells can become null.

3

Copy or download

Copy the JSON or download it, ready for your app or API.

How each cell’s type is decided

With “Numbers and true/false unquoted” on:

CellBecomes
Phone numbers and codesstay text if they start with 0 or +, or contain spaces, so 0501234567 keeps its leading zero.
true and falsebecome booleans (so do Excel’s TRUE and FALSE); anything else is text.
Numbersbecome numbers only when written as a valid JSON number, and keep their exact digits, so 12345678901234567890 is not rounded.

Good to know

Garbled Arabic from Excel? Older Arabic Excel CSV files are saved as Windows-1256. We detect that and read them correctly.

Nested objects. Turn on “Dotted headers as nested objects” and a column address.city becomes {"address": {"city": ...}}; tags.0, tags.1 become an array.

Short or long rows. If a row has fewer or more fields than the header, or a quote is never closed, we tell you the row number.

FAQ

How do I convert an Excel file to JSON?

In Excel choose Save As → “CSV UTF-8 (Comma delimited)”, then open the file here.

Why is the phone number still text?

Because it starts with 0; as a number it would lose the zero. Values starting with 0 or + stay text on purpose.

Is my file uploaded?

No. Reading and converting happen in your browser; your file never leaves your device.

What if two columns have the same name?

The repeat gets a number, like name and name_2, so no value is lost.