How to Open XLS Files on Windows, Mac, Linux and Mobile

November 08, 2026 · XLS.now Editorial · XLS Essentials

Choose a safe XLS viewer or editor and diagnose files that refuse to open.

Opening XLS Files Across Platforms

The XLS binary format (Microsoft Excel 97–2003) presents different challenges depending on the operating system and application used to open it. This guide covers reliable methods for viewing and editing XLS files on Windows, macOS, Linux, and mobile devices, with attention to feature gaps that can silently corrupt data or formatting.

Windows: Native Support with Feature Boundaries

Microsoft Excel on Windows remains the only environment where XLS files open as first-class documents. Versions from Excel 2010 through Microsoft 365 read the binary format directly without intermediate conversion. However, the format itself imposes hard limits: 65,536 rows (2^16) and 256 columns (2^8) per worksheet. Features introduced in later Excel versions—Sparklines, Slicers, data models, and multi-threaded recalculation—do not survive a round-trip to XLS. When you save an XLSX workbook as XLS, Excel silently discards these elements without warning.

LibreOffice Calc opens XLS files through its own binary filter library. The filter handles cell data, formulas, and most formatting reliably, but Calc substitutes its own layout engine for rendering. Conditional formatting rules that rely on Excel-specific evaluation order may produce different visual results. Chart types with non-standard scaling—radar charts with logarithmic axes, for example—often render with altered proportions. For viewing and light editing, Calc is a safe choice. For documents that must return to Excel without layout drift, test a round-trip before committing changes.

Online viewers (Google Sheets, Zoho Sheet) convert XLS files to their native formats on upload. The original binary remains stored in the cloud service, but the editing interface operates on a converted copy. Merged cells with complex split patterns, custom print areas defined in page setup, and VBA macro modules are stripped or flattened during conversion. These services are suitable for read-only inspection of cell values and basic formatting, not for editing files intended for later use in Excel.

Features absent from all non-Excel Windows viewers:

  • VBA macro execution (macros are stored but inert)
  • Digital signature validation (signature blocks fail verification)
  • Workbook-level encryption with password protection (only Excel and LibreOffice can decrypt)
  • Embedded OLE objects (Visio diagrams, Word documents render as empty placeholders)

macOS: Rendering Differences and Conversion Risks

Microsoft Excel for Mac (2019 and later) opens XLS files without conversion, but the macOS rendering stack differs from the Windows GDI-based engine. Font metrics for Calibri, Cambria, and other ClearType-optimized typefaces diverge by small fractions of a point. When an XLS file uses Windows-specific printer drivers to calculate page breaks, expect vertical shifts of one to two rows. These discrepancies compound in worksheets with tightly packed print layouts.

Apple Numbers converts XLS files to its own .numbers format on open. The conversion is lossy: cell border styles are frequently dropped, chart series lose custom formatting, and tables with multi-level row groupings flatten to a single level. Saving back to XLS from Numbers compounds these losses. If you must use Numbers, export to XLSX instead and validate the result in Excel before distributing.

LibreOffice Calc on macOS uses the same filter library as the Windows version but inherits macOS font handling limitations. When an XLS file references a font not installed on the system—Franklin Gothic, for instance—Calc substitutes a default sans-serif face without adjusting column widths. This substitution can truncate cell contents or break text-wrapping assumptions. Verify font availability before relying on Calc for layout-critical documents.

macOS Excel does not execute VBA macros from XLS files. ActiveX controls, including embedded Flash objects and Windows Media Player components, are unsupported. Workbooks that depend on these features require a remote Windows session or virtual machine.

Linux: LibreOffice as Primary Handler

LibreOffice Calc is the standard XLS reader on Linux. Install it via:

sudo apt install libreoffice-calc    # Debian/Ubuntu
sudo dnf install libreoffice-calc    # Fedora

Calc's XLS import filter covers the majority of the binary format specification. Known gaps include:

  • VBA macros (ignored without notification)
  • Linked data sources (ODBC connection strings are not imported)
  • Pivot table custom sort orders (revert to alphabetical)

OnlyOffice Desktop Editors advertises XLS compatibility, but its import filter is less mature than Calc's. Files with more than 50 named ranges or embedded font streams frequently fail to open. Use OnlyOffice only for simple tables containing no macros, no external links, and no embedded objects.

Command-line conversion using LibreOffice headless mode is reliable for automated processing:

libreoffice --headless --convert-to xlsx --outdir /output/ /path/to/file.xls

Check the return code immediately after execution (echo $?). A zero value confirms successful parsing; any non-zero value indicates the file could not be read. For batch operations, log failures:

libreoffice --headless --convert-to xlsx --outdir /output/ /path/to/file.xls 2>> /var/log/xls_conversion.log

Mobile: Viewing with Editing Restrictions

iOS: Microsoft 365 app uses Microsoft's rendering engine, providing high formatting fidelity for viewing. Editing requires a subscription for files larger than 10 MB. VBA macros and external workbook links are unsupported regardless of subscription tier.

iOS: Apple Numbers opens XLS files through a conversion prompt. The original file remains untouched; Numbers creates a converted copy. For read-only inspection, this workflow is adequate. For editing, export to XLSX from Numbers and validate in Excel before final use.

Android: Microsoft Excel app mirrors the iOS restrictions: free viewing, editing limited to files under 10 MB, no password-protected file support. Larger files require a Microsoft 365 subscription.

Android: Google Sheets converts XLS files on import, dropping print area definitions and custom headers/footers. Use only for quick inspection of cell values.

Unavailable on all mobile platforms:

  • VBA macro execution
  • ActiveX controls
  • External linked workbooks
  • Digital signature validation

Diagnosing Files That Refuse to Open

When an XLS file fails to open in any application, the cause typically falls into one of three categories.

File extension mismatch: The file carries an .xls extension but is actually an XLSX or CSV file. Verify the true format using the file command on Linux or macOS:

file suspect.xls

If the output reads "Microsoft Excel 2007+" or "Zip archive," the file is an XLSX document with an incorrect extension. Rename it to .xlsx and open normally. If the output reads "CSV text" or similar, the file is plain text mislabeled as XLS.

Corrupt OLE2 container: XLS files are structured as OLE2 compound documents. A damaged OLE2 header prevents any tool from parsing the file. Validate the container structure using the olefile Python library:

python3 -c "import olefile; print(olefile.isOleFile('suspect.xls'))"

A False return value indicates structural corruption. The data is likely unrecoverable without forensic tools and a known-good backup.

Password-protected encryption: Encrypted XLS files can only be opened by Excel or LibreOffice. Apple Numbers and Google Sheets produce a generic "cannot open file" error when encountering encryption. No third-party tool can decrypt the binary without the original password.

Unrecoverable limits: If the file is truncated—missing the final 10 KB or more—or the OLE2 directory stream has been overwritten, no consumer repair tool can reconstruct the data. Recovery requires a backup or the original source file. The OLE2 format provides no internal redundancy for reconstructing lost directory entries.

For further technical reference, see the MS-XLS specification.