Files never leave your device

Converter

Excel to JSON Converter

Turn an Excel file (.xlsx, .xls, .ods) into a JSON file. Zip codes keep their zeros, dates become ISO dates, and you choose one sheet or all of them. It runs in your browser.

Loading the tool…

.xlsx · .xls · .ods → .json

How to use it

  1. Add your Excel fileOpen an .xlsx, .xlsm, .xls or .ods file. The sheets are listed, and the first one is chosen.
  2. Check the previewChoose the sheet (or All sheets), whether each row becomes an object or an array, and how values are written.
  3. DownloadSave the .json file. It is UTF-8 and ready for code, an API or a database import.
The Excel to JSON tool with a small workbook loaded: the number of sheets, objects and columns, the sheets in the file, a preview of the JSON and the options.
The tool with sample data loaded. The names and numbers are made up.

Good to know

An Excel file keeps what a cell holds and how it is shown as two separate things. A zip code can be text or a number with a format, a date is a number with a date format, and a formula holds a saved value. This page reads both and writes what each cell holds: text stays text, numbers are numbers, TRUE and FALSE are true and false, and cells with a date format are ISO dates. If you want the text exactly as Excel displays it, choose As shown in Excel. The JSON keeps the column order of the sheet, and a formula is never written, only its saved value.

Worked example: what lands in the JSON

This is the workbook we used in our tests. It has the awkward things real files have: a zip code stored as text, a number shown with leading zeros, a date, a date with a time, prices with trailing zeros, TRUE and FALSE, a formula, an empty cell, a quote mark and an accent. What each cell holds in Excel:

idnamezipjoinedamountactivetotalnote
1Ana O'Neil01234 (text)2026-11-17 (date)12.5 (shown 12.50)TRUE=E2*2 (saved value 25)(empty)
2Zoë Müller90210 (number, shown 90210)2026-03-02 08:30:15 (date and time)3 (shown 3.00)FALSE=E3*2 (saved value 6)say "hi"
3Sam Lee007 (text)2026-12-31 (date)-4.25 (shown -4.25)TRUE=E4*2 (saved value -8.5)(empty)

With the default options, the JSON is:

[
  {
    "id": 1,
    "name": "Ana O'Neil",
    "zip": "01234",
    "joined": "2026-11-17",
    "amount": 12.5,
    "active": true,
    "total": 25,
    "note": null
  },
  {
    "id": 2,
    "name": "Zoë Müller",
    "zip": 90210,
    "joined": "2026-03-02T08:30:15",
    "amount": 3,
    "active": false,
    "total": 6,
    "note": "say \"hi\""
  },
  {
    "id": 3,
    "name": "Sam Lee",
    "zip": "007",
    "joined": "2026-12-31",
    "amount": -4.25,
    "active": true,
    "total": -8.5,
    "note": null
  }
]

What to notice:

With As shown in Excel, the first object is:

{
  "id": "1",
  "name": "Ana O'Neil",
  "zip": "01234",
  "joined": "2026-11-17",
  "amount": "12.50",
  "active": "TRUE",
  "total": "25",
  "note": null
}

How each kind of cell is handled

In ExcelTyped valuesAs shown in Excel
Text, such as 01234 or =1+1Text, as it isThe same text
A number, such as 12.5 shown as 12.5012.5"12.50"
A number with 15 or more digits of noise, such as 0.1 + 0.20.3 (Excel keeps 15 digits)The text Excel shows
A date, a date with a time, a time"2026-11-17", "2026-11-17T08:30:15", "08:30:00"The text Excel shows
A date before 1 March 1900, or a duration such as 25:30The text Excel showsThe text Excel shows
TRUE, FALSEtrue, false"TRUE", "FALSE"
A formulaIts saved value, never the formulaThe text Excel shows
An error, such as #N/A"#N/A""#N/A"
An empty cellnull or "", as you chooseThe same
A repeated or empty column namename_2, or the column letter, so no column is lost

For the other direction, CSV to Excel turns a CSV file into an .xlsx file, and XLSX to CSV saves a sheet as a CSV.

How we tested this

On 17 November 2026 we ran the page in headless Chromium on a Linux cloud server, driving it the way a person would (adding files, clicking the buttons, saving the download). Every JSON file it produced was then read by programs that are not part of this site (Python and Node), and compared with what the test files were built to hold; the text shown in Excel was compared with what LibreOffice displays.

What we checkedResult
The worked example on this page: every value, key order, the indented and compact text, As shown in Excel, array rows, All sheets, file name, the notes19 of 19 checks
Every option: sheet, object or array rows, first row as names, typed or as shown, null or "", skipping empty rows, skipping hidden sheets, rows and columns, indented or compact, remembered settings, Clear13 of 13 checks
120 workbooks built from known values (text, whole numbers, decimals, dates, times, TRUE/FALSE, empty cells, blank rows, data that starts away from A1, repeated and empty column names), each saved with 3 option sets and every value compared with what the workbook was built to hold120 of 120 workbooks identical
As shown in Excel: 60 of those workbooks compared with the text LibreOffice displays (3,282 cells)60 of 60 workbooks identical, apart from 65 cells that differ for the two reasons under Known differences
Dates and times: both date systems (1900 and 1904), 29 February, 1 March 1900, the day numbers before it, the last day of year 9999, times, durations, a hidden time of day26 of 26 checks
Numbers: 0.1 + 0.2, 1/3, 15-digit and longer whole numbers, tiny and huge numbers, percent, thousands separators, leading zeros through a format18 of 18 checks
Column names: repeated, empty, a name equal to a column letter, 2024 and 10 and 1 (column order kept), __proto__ and constructor, 300 characters, accents, quotes20 of 20 checks
Formulas with and without a saved value, error cells, merged cells, an empty sheet, one cell, a 32,767-character cell, emoji stored as UTF-810 of 10 checks
Other file types: 12 workbooks re-saved by LibreOffice as .xlsx, .xls and .ods (36 files), and an .xlsm37 of 37 files
Files that are refused with a clear message (a CSV named .xlsx, an empty file, a picture, HTML named .xls, a ZIP that is not a spreadsheet, a cut-off file) and every password-protected error the reader can report22 of 22 checks
Size: every row and cell of a 100,000-row file (4.9 s to read, 1.5 s to build), a 300,000-row file (12.1 s, 4.7 s) and a 600,000-row file (23.2 s, 10.6 s), 10 columns each; the 600,000-row file used about 1.3 GB of browser memory3 of 3 files identical
Clicking Download right after changing an option (0 to 1.5 seconds later), twice in a row, then Clear or a new file while a 300,000-row file is being built16 of 16 checks
Content-Security-Policy enforced, offline use, phone and desktop widths in light and dark, keyboard use13 of 13 checks
Total377 of 377

Known differences we found

Not tested: A real password-protected file (we could not make one here; the page was tested by making the reader report each of its password errors). Files saved by Excel itself, an .xlsm with real macros, and .xls or .ods files not written by LibreOffice (our test files were written by Python's openpyxl and by LibreOffice). Browsers other than Chromium, real phones (the phone width was emulated), files above 600,000 rows by 10 columns, and devices with little memory.

Frequently asked questions

Is my data uploaded?

No. The JSON file is built in your browser. Your Excel file and the JSON file are not sent anywhere or saved; only your option choices are remembered.

Do zip codes and ids keep their leading zeros?

Yes when the cell holds text, which is how Excel keeps 01234: it stays "01234" in the JSON. A cell that holds a number and only shows the zeros through a number format such as 00000 is a number, so Typed values give 1234. Choose As shown in Excel under Values to get "01234" for those cells too.

Which cells become dates?

Cells with a date or time number format. A date gives 2026-11-17, a date with a time gives 2026-11-17T08:30:15, and a time gives 08:30:00. The text has no time zone, because Excel dates have none. A date before 1 March 1900 and a duration such as 25:30 cannot be written exactly, so they come out as the text Excel shows, and the page tells you.

Are formulas written to the JSON?

No. The JSON holds the value Excel saved with the file, never the formula. If the file was written by a program that did not calculate its formulas, those cells have no saved value and come out empty; the page tells you how many. Open the file in Excel and save it to calculate them.

How do I convert every sheet?

Under Sheet, choose All sheets. The JSON is then one object with a key for each sheet name, and an array of rows under each key. With one sheet chosen, the JSON is just the array of rows.

What happens to merged cells, hidden rows and error cells?

In a merged range the value sits in the first cell, and the other cells come out empty. Hidden sheets, rows and columns are included unless you tick Skip hidden sheets, rows and columns. An error cell such as #N/A is written as that text.

Why is a number rounded to 15 digits?

Excel itself holds 15 significant digits, so a sum such as 0.1 + 0.2 shows as 0.3 and is written as 0.3, not 0.30000000000000004. An id of more than 15 digits should be a text cell in Excel; typed as a number, Excel would already have cut it.

Can I convert a CSV, copy the JSON or get JSON Lines?

Not here. This page reads Excel files and writes one .json file. For a CSV file, use the JSON, CSV and YAML converter. JSON Lines and a copy button are not offered.

Does it work with password-protected or .xlsb files?

No. A password-protected file is refused with a message; remove the password in Excel first. Binary .xlsb files are not accepted; save them as .xlsx.

How big a file can I convert?

We tested up to 600,000 rows of 10 columns (6 million cells, a 37 MB file): about 23 seconds to read and 11 seconds to build the JSON on our test server, using about 1.3 GB of browser memory. The whole workbook is read into memory, so a phone or an older computer will manage less. Bigger files were not tested.

Where to go next

When people use it