What Is an XLS File? Excel Spreadsheets Explained

If you've ever downloaded a report, received a budget from a colleague, or exported data from an accounting tool, there's a good chance it arrived as an .xls file. It's one of the most recognized file formats in computing — but what's actually inside it, how does it differ from similar formats, and what do you need to open one?

The Basic Definition

An XLS file is a spreadsheet document created by Microsoft Excel. The .xls extension stands for Excel Spreadsheet, and it stores data organized into rows and columns across one or more worksheets (tabs). Beyond raw numbers and text, an XLS file can contain:

  • Formulas and calculations (e.g., SUM, IF, VLOOKUP)
  • Charts and graphs built from the data
  • Formatting — colors, fonts, cell borders, number formats
  • Macros — recorded or written scripts that automate tasks
  • Pivot tables for summarizing large datasets

Think of it as a container that holds both the data and the logic applied to that data, all in one file.

XLS vs. XLSX: What Changed?

This is where a lot of confusion starts. There are two distinct Excel formats in common use:

FeatureXLSXLSX
IntroducedExcel 97–2003Excel 2007 and later
File structureBinary formatXML-based (zipped)
Max rows65,5361,048,576
Max columns25616,384
File sizeGenerally largerGenerally smaller
Macro supportYesRequires .xlsm extension
CompatibilityOlder softwareModern standard

.XLS is the legacy binary format used by Excel versions 97 through 2003. .XLSX is the modern Open XML format introduced with Excel 2007, which became the new default going forward.

Despite being older, XLS files are still widely circulated — particularly from older systems, legacy enterprise software, and government databases that haven't updated their export pipelines. You'll still encounter them regularly.

What's Inside an XLS File?

Unlike plain text files you could open in Notepad, XLS is a binary format — meaning the data is encoded in a way that requires compatible software to interpret it. The internal structure follows Microsoft's Compound Document File Format (sometimes called OLE2 or BIFF — Binary Interchange File Format).

This binary structure is why XLS files can behave unpredictably when opened in software that wasn't built to handle them properly — columns shift, formulas break, or formatting disappears entirely. It's not corruption; it's a compatibility translation issue.

XLSX files, by contrast, are actually compressed ZIP archives containing XML files. If you rename an .xlsx file to .zip and extract it, you'll find readable folders and files inside. XLS doesn't work that way.

How to Open an XLS File 📂

You don't necessarily need Microsoft Excel to open an XLS file. Several applications handle the format:

  • Microsoft Excel — the native application, with full fidelity
  • Google Sheets — upload or open directly via Drive; handles most XLS files well, though complex macros may not work
  • LibreOffice Calc — free, open-source, strong XLS compatibility
  • Apple Numbers — can open XLS files on Mac and iOS, with some formatting limitations
  • WPS Office — free alternative with solid Excel format support
  • OpenOffice Calc — another open-source option

The key variable is what's in the file. A simple data table with basic formatting will open cleanly almost anywhere. A file loaded with VBA macros, complex pivot tables, or embedded objects may only behave correctly in Excel itself — or may require troubleshooting regardless of the app you choose.

When XLS Files Cause Problems

There are a few situations where XLS files become a friction point:

File size limits. Because XLS supports a maximum of 65,536 rows, datasets that exceed that will either get cut off or fail to open correctly. If someone sends you an XLS claiming to contain 100,000 records, something is wrong — it either wasn't saved correctly or the data has been truncated.

Macro security. XLS files can carry VBA macros, which are small programs embedded in the spreadsheet. These can automate useful tasks — or carry malware. Most modern software will warn you before enabling macros. If you receive an unsolicited XLS file asking you to enable macros, treat it with caution.

Cross-platform formatting. Fonts, cell sizes, and certain formula types don't always translate cleanly between Excel on Windows, Excel on Mac, and third-party apps. What looks perfect on one machine may display differently on another.

XLS in Context: When You'll Still See It 📊

Despite XLSX being the modern standard for over 15 years, XLS persists in several areas:

  • Legacy enterprise systems — ERP, payroll, and CRM platforms that were built before 2007 and haven't updated their export formats
  • Government data portals — public datasets, particularly older ones, are often still published in XLS
  • Automated reports — scheduled exports from older databases that haven't been reconfigured
  • Archived files — historical documents saved before the format transition

In practice, most current software that creates spreadsheets will default to XLSX. If you're receiving XLS files, you're likely pulling from an older source or a system that hasn't been updated.

The Variables That Shape Your Experience

Whether an XLS file works seamlessly for you depends on factors that vary from one situation to the next:

  • Which software you're using to open it — and which version
  • What's inside the file — plain data vs. macros, charts, and complex formulas
  • Your operating system — Excel for Windows has historically had broader XLS support than Excel for Mac
  • The file's origin — how old it is, what system created it, and whether it was saved correctly in the first place
  • What you plan to do with it — viewing only vs. editing vs. running macros vs. importing data into another system

A file that opens perfectly for one person in Excel 2021 on Windows may require extra steps — or a conversion — for someone working in Google Sheets or on a mobile device. The format itself is consistent; the experience of working with it isn't.