↑↓ to move ↵ to open Esc to close Browse all tools

Excel to JSON

Drop an .xlsx file and get its rows as JSON, with the header row as keys. Numbers, true or false values and dates keep their types.

Embed

Convert an Excel sheet to JSON

Shape
JSON result -

Drop an Excel file to convert it.

Preview

The JSON appears here.

Your workbook is read in your own browser. Nothing is uploaded.

Hand-checked listFree Automation ToolsFree automation tools with their monthly task or credit caps, platforms and license, open source and self-hosted options marked.

Excel to JSON by Freebiefy, free online tools · Privacy · Legal notice

Embed this tool on your site

Paste this code into your page. The tool runs in the visitor's browser, free and without signup. The height adjusts to the content. All tools you can embed

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 ExcelJSON
Number, also with a currency or percent formatNumber, up to 15 significant digits
TextString
TRUE or FALSEtrue or false
Date or timeString in the chosen style, or the serial number
FormulaThe result Excel saved with the file
Error like #N/AThe error as a string, "#N/A"
Emptynull, "" 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

  1. 1Drop your .xlsx file on the box or browse for it.
  2. 2Pick the sheet, Array of objects or Array of arrays, and how empty cells and dates should look.
  3. 3Copy the JSON or download it as a .json file.

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.