What is an Excel to JSON converter?
Spreadsheets are where a lot of real data lives, and code wants JSON. This tool bridges the two. You open an Excel file (xlsx, xls or ods) or paste CSV or TSV, and it returns JSON: by default a list of objects, one per row, with keys taken from the header row.
The point of a good converter is what it does not damage. Numbers stay numbers, true and false stay booleans, and empty cells become null instead of an empty string. Dates are written as the day or the time written in the sheet, without a time zone: a cell showing 15 January 2026 becomes "2026-01-15" and one showing 14:30 on 3 March becomes "2026-03-03T14:30:00". That means the result is the same on every computer, wherever it is. A 13-digit integer such as a long ID is kept exact, not rounded to scientific notation.
Header names that repeat or are empty are made unique (id, id_2, column_3), so no column is lost silently. A workbook can be converted sheet by sheet, or all at once: you then get one object whose keys are the sheet names. If your sheet has no header, turn the option off and you get a list of lists instead. The file is read on the page and never uploaded.
How to convert a spreadsheet to JSON
- Choose the input: "open a file" for xlsx, xls, ods or csv, or "paste CSV" for text copied from Excel or Sheets.
- Leave "first row is the header" on to get objects named by the header. Turn it off to get lists of values.
- Leave "detect numbers and booleans" on to keep types. Turn it off to get every value as text.
- If the workbook has several sheets, pick one or choose "all sheets".
- Set the indent: two spaces, a tab, or minified.
- Read the note under the result: it shows how many rows and sheets were converted.
- Copy or download the JSON. To read it comfortably, use JSON prettify; to generate types from it, try JSON to code.
Examples
CSV with an empty price and a quoted comma
Input:
id,name,price,active,joined
1,Ana,19.9,true,2026-01-15
2,Bruno,,false,2026-02-01
3,"Carla, Dos Santos",5,true,Output with types detected:
[
{ "id": 1, "name": "Ana", "price": 19.9, "active": true, "joined": "2026-01-15" },
{ "id": 2, "name": "Bruno", "price": null, "active": false, "joined": "2026-02-01" },
{ "id": 3, "name": "Carla, Dos Santos", "price": 5, "active": true, "joined": null }
]With "detect numbers and booleans" off, the first row becomes { "id": "1", "name": "Ana", "price": "19.9", "active": "true", "joined": "2026-01-15" }: every value is text.
Numbers that must stay text
Input:
a,b
12345678901234567890,007Output:
[ { "a": "12345678901234567890", "b": "007" } ]An integer past 2^53 cannot be held exactly by a JSON number in JavaScript, so it stays a string and no digit is lost. Leading zeros also keep the value as text, because 007 is not the number 7.
An Excel row with a date and a time
A row in an Excel sheet with Region, Units, Price, Date, Active and Note:
{ "Region": "East", "Units": 5, "Price": 50, "Date": "2026-03-03T14:30:00", "Active": true, "Note": "multi\nline" }The date cell had a time, so the text includes it. A cell with only a day gives "2026-01-15". A line break inside a cell appears as \n. A 13-digit integer in an Excel cell, such as 1234567890123, comes out exactly.
Without a header
Turning the header option off on a sheet with the cells id, id, (empty) and 1, 2, 3 gives:
[["id", "id", null], [1, 2, 3]]Common mistakes
- Expecting formulas to be recalculated. The tool reads the values stored in the file. A formula shows the result Excel saved, not the formula text.
- Dates with a time zone. There is none on purpose. The text is what the sheet shows, so it does not shift when someone opens it in another country.
- A CSV row with a different column count. The error names the problem: a row has more or fewer columns than the header. Fix the stray comma or quote it.
- A quote that never closes. The error gives the line. Close the quote.
- A file that is not a spreadsheet. A renamed or damaged file cannot be read, and the tool shows the reason.
- Empty sheets. A sheet with no rows gives an error that names the sheet, so you can pick another one.
Frequently asked questions
Is my Excel file uploaded anywhere?
No. The file is read in your browser. The page says so right on the drop area: it is read on the page and never uploaded.
Why are some values null?
Empty cells become null, which is the honest way to say "no value" in JSON. An empty string would claim the cell contained empty text.
Can I convert every sheet at once?
Yes. Choose "all sheets" and you get one object whose keys are the sheet names and whose values are the lists of rows.
What do I do with the JSON next?
Format it with JSON prettify, build a table with SQL create table, or clean the CSV first with CSV tools.