Turn an Excel sheet into JSON in your browser
JSON is the format most web apps, APIs and scripts read. This converter opens an .xlsx or .xlsm workbook, takes the sheet you pick and writes its rows as JSON: each row becomes an object whose keys come from the header row, or a plain list of values if you prefer. Numbers stay numbers, TRUE and FALSE become true and false, dates come out in the style you pick, and you can copy the result or download it as a .json file.
Everything happens on your device. The workbook is not uploaded, and the conversion runs in a background thread, so big sheets do not freeze the page. Need a CSV instead? Excel to CSV reads the same files. To check or reformat the JSON afterwards, paste it into the JSON formatter, and JSON to Excel turns JSON back into a workbook.
An example
A sheet with the header row Order, Customer, ZIP, Price, Ordered and Paid becomes:
[
{
"Order": 1001,
"Customer": "Zoë Martin",
"ZIP": "02134",
"Price": 19.99,
"Ordered": "2026-10-03",
"Paid": true
}
] The ZIP code is text in the workbook, so it stays a string with its leading zero. The price is a number, shown in Excel with a currency format, and comes out as the stored number: Microsoft notes that a number format changes only how a value looks, not the value itself (Available number formats in Excel). The date has no time of day in its format, so only the date is written.
How cell values become JSON values
| Cell in Excel | JSON |
|---|---|
| Number, also with a currency or percent format | Number, up to 15 significant digits |
| Text | String |
| TRUE or FALSE | true or false |
| Date or time | String in the chosen style, or the serial number |
| Formula | The result Excel saved with the file |
| Error like #N/A | The error as a string, "#N/A" |
| Empty | null, "" or no key, as you choose |
Excel works with 15 significant digits (Excel specifications and limits), and numbers are rounded to that, so a stored 0.30000000000000004 is written as 0.3. Long IDs and card numbers belong in text cells: Microsoft explains that Excel keeps only 15 digits of a number and turns the rest into zeros (Keeping leading zeros and large numbers). If such a value already shows zeros at the end in Excel, the digits were lost before the file was saved.
Dates in JSON
JSON has no date type, so dates are written as text. The default, 2026-10-23T14:30:00, is the date time string format of JavaScript, a simplified form of ISO 8601 (MDN: Date time string format). An Excel serial number carries no time zone, so none is added; JavaScript reads such a date and time as local time. A cell formatted as a date only gives 2026-10-23, a time only gives 14:30:00, and a duration formatted like [h]:mm:ss gives the hours in total, like 36:00:00.
Excel counts dates as serial numbers in one of two date systems, 1900 or 1904, which are 1,462 days apart (Date systems in Excel). The converter reads the system from the workbook, so the dates come out right in both.
Which files work
Excel workbooks (.xlsx) and macro-enabled workbooks (.xlsm). Macros are never run. Old Excel 97 to 2003 files (.xls) use a binary format ([MS-XLS]) that this tool does not read; save them as .xlsx first. Password-protected workbooks, binary workbooks (.xlsb) and OpenDocument files (.ods) are not supported either, and the tool says so when you drop one.
How to convert Excel to JSON
- 1Drop your .xlsx file on the box or browse for it.
- 2Pick the sheet, Array of objects or Array of arrays, and how empty cells and dates should look.
- 3Copy the JSON or download it as a .json file.
Related guides
- JSON vs YAML vs CSV: Which Format for Which Job
- CSV Shows Wrong Characters in Excel: The UTF-8 BOM Fix
- Excel's 1,048,576 Row Limit and How to Open a Bigger CSV
Frequently asked questions
Is my spreadsheet uploaded?
No. The .xlsx file is unpacked and converted by your browser, in a background thread on your own device. Nothing is sent to a server.
Which row becomes the keys?
With Array of objects, the first row that holds any value is the header row, and its cells become the keys. An empty header cell becomes column_1, column_2 and so on, and a name that appears twice gets _2 added, so no value is lost. Pick Array of arrays if your sheet has no header row; then every row becomes a plain list.
How are numbers, dates and TRUE or FALSE written?
Numbers stay JSON numbers, rounded to the 15 significant digits Excel works with, so 0.30000000000000004 becomes 0.3. TRUE and FALSE become true and false. Dates become text like 2026-10-23T14:30:00, or another style you pick, or the raw Excel serial number. Text stays text, so a ZIP code like 02134 keeps its leading zero.
Can I convert all sheets into one JSON file?
Yes. Pick All sheets and you get one object with a key for each sheet name, holding that sheet as an array. Hidden sheets are included too.
What happens to empty cells?
You choose: null, an empty string, or leave the key out of that object. Rows that are completely empty are skipped by default; switch off Skip empty rows to keep them.
Does it read .xls files from old Excel versions?
No. The Excel 97 to 2003 format (.xls) is binary and not supported here. Save the file as Excel Workbook (.xlsx) in your spreadsheet program first. Password-protected workbooks need the password removed first as well.