XLS Viewer
Read an Excel 97-2003 .xls workbook in your browser. No old copy of Excel is needed, and the file is opened on your device.
Updated
How to open an XLS file online
- Select Choose a file to view, or drop the .xls file onto the box.
- If the workbook has several sheets, select a sheet name above the grid.
- Use Find in this sheet to filter the rows to those that contain a name, a code or an amount.
- Select Choose another file when you want to open the next one.
There is also a Try a sample file button if you want to see the viewer before choosing your own file.
What an XLS file is
.xls is the workbook format Excel used from Excel 97 to Excel 2003. Microsoft calls the format BIFF8, short for Binary Interchange File Format. Where an .xlsx file is a ZIP of readable XML, an .xls file is a stream of binary records packed inside a container known as a compound file, the same container old .doc and .ppt files use.
That is why a text editor shows only fragments of an .xls file, and why a program needs a dedicated reader for it. This page includes one, so the file opens in the browser.
You still meet .xls files for three reasons: old archives, accounting and inventory systems that have exported the format for twenty years, and templates nobody has re-saved.
The limits of the XLS format
| .xls (Excel 97-2003) | .xlsx (Excel 2007 and later) | |
|---|---|---|
| Rows per sheet | 65,536 | 1,048,576 |
| Columns per sheet | 256 (last column IV) | 16,384 (last column XFD) |
| Colours in a workbook | A palette of 56 | 16 million |
| Conditional formats per cell | 3 | Limited by memory |
| Nested function levels | 7 | 64 |
| Macros | Allowed, same extension | Need .xlsm |
| Typical file size | Larger | Smaller, because it is compressed |
The row limit matters most. An export that stops at exactly 65,536 rows has almost certainly been cut off by the format, and the missing rows were never written to the file.
Compatibility Mode in Excel
When a current version of Excel opens an .xls file, the title bar shows Compatibility Mode next to the file name. In this mode Excel holds the sheet to the old grid of 65,536 rows and 256 columns, and it runs the Compatibility Checker when you save. Newer functions still calculate in your copy of Excel, but the checker warns that they will show an error in Excel 97-2003.
To leave Compatibility Mode:
- Go to File > Info.
- Select Convert.
- Confirm. Excel saves the workbook as .xlsx and reopens it with the full grid.
If the workbook contains macros, save it as Excel Macro-Enabled Workbook (*.xlsm) instead, or the macros are dropped. Without Excel, XLS to XLSX converts the data and formulas in your browser.
Other programs that read XLS
- Google Sheets. Upload the file to Google Drive and open it with Sheets. It is converted on the way in.
- LibreOffice Calc. Opens .xls directly and can save back to it.
- Excel for the web. Opens .xls files stored in OneDrive for viewing, and asks to convert them before you edit.
Use this page when you want to read the file without converting it or placing it in a cloud account.
Problems you may run into
- “The file format and extension don’t match.” The file is HTML or text with an .xls name. Open it in a text editor to see what it really is. If it is delimited text, the CSV viewer is the better tool once you rename it to .csv or .txt.
- Protected View. Excel opens old-format files from email or the web in a locked-down view. That is a sensible default for .xls, because the file can carry macros.
- Strange characters in text. Workbooks older than Excel 97 store text in a regional code page. Re-saving from the program that made them is the reliable fix.
- A password prompt. An .xls with a password to open is encrypted and cannot be viewed here.
What the viewer shows
Values, dates and formula results appear as Excel displays them. Every sheet is listed, hidden ones included. Charts, pictures, colours and column widths are not drawn, and macros are never run.
Limits
- Files up to 50 MB.
- The grid shows the first 200 rows and 40 columns of each sheet. Search covers all rows, including the ones below the preview.
- The viewer is read-only. To edit or modernise the file, convert it with XLS to XLSX or pull one sheet out with Excel to CSV.
Questions
How do I open an XLS file online?
Select Choose a file to view above and pick the .xls file. The sheets open in your browser as a read-only grid. Nothing is installed and nothing is uploaded.
What is the difference between XLS and XLSX?
.xls is the binary format of Excel 97 to 2003 and holds up to 65,536 rows and 256 columns per sheet. .xlsx is the zipped XML format used since Excel 2007 and holds 1,048,576 rows and 16,384 columns. Files in .xlsx are usually smaller.
Can current versions of Excel still open XLS files?
Yes. Excel opens them in Compatibility Mode, which keeps the old limits until you convert the file with File > Info > Convert.
Is it safe to open an XLS file from an email?
An .xls file can contain macros, and the extension gives no warning. Viewing it here is safe because the viewer reads cell values only and cannot run macro code. In Excel, leave macros disabled unless you trust the sender.
Why does Excel say the file format and extension do not match?
Some systems export an HTML table or tab-separated text and name it .xls. Excel notices that the content is not a real workbook and asks before opening it. If you trust the source, the data is usually readable.
How do I turn an XLS file into XLSX?
Use XLS to XLSX on this site, or open the file in Excel and choose File > Save As > Excel Workbook (*.xlsx).