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

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

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

Choosing a Safe XLSX Viewer or Editor

The safest application for an XLSX file depends on your platform, whether you need to edit or only view, and whether the file contains macros or external connections. The MS-XLSX specification (ISO/IEC 29500) defines the format as a ZIP archive of XML parts, but applications parse and render those parts differently.

Platform App View Edit Macros Notes
Windows Microsoft Excel (Office 2021/365) Full Full Yes Reference implementation
Windows LibreOffice Calc 7.x+ Full Full Partial Silently drops unsupported features
Windows Google Sheets (browser) Full Partial No Requires upload; formatting may shift
macOS Apple Numbers Full Partial No Converts on import; saves as .numbers
macOS Microsoft Excel for Mac Full Full Yes Feature parity with Windows Excel
Linux LibreOffice Calc Full Full Partial Best native option
Linux OnlyOffice Full Full Partial Stronger pivot table compatibility
Android/iOS Microsoft Excel mobile Full Full No Read-only for VBA-containing files
Android/iOS Google Sheets mobile Full Partial No 100 MB file size limit

Key boundary: If an XLSX contains Visual Basic macros because a .xlsm file was renamed to .xlsx, only Excel desktop can execute them. Every other application either strips the macros silently or refuses to open the file.

Windows: Native and Fallback Options

Microsoft Excel (Reference Implementation)

Excel is the reference implementation for the format. Open via File > Open or double-click. If the file appears blank or displays garbled characters, confirm the extension is .xlsx and not a misnamed .xlsb or .xlsm. The MS-XLSX specification (section 3.1) requires the ZIP central directory to begin at byte offset 0. When that offset is missing, Excel reports "The file is corrupt."

LibreOffice Calc (Fallback Viewer and Editor)

Calc opens XLSX natively but maps the content to its own internal data model. Observable differences include: conditional formatting with icon sets rendered as plain text; data bars losing min/max scaling; and custom number formats reverting to defaults. Export to ODS after editing to avoid compounding these losses.

Google Sheets (Read-Only or Light Editing)

Upload to Google Drive, then open with Sheets. The file converts to Google's internal format on import. External references such as =SUM([Source.xlsx]Sheet1!A1) are ignored and the cell is left empty. No warning is given for this loss.

macOS: Avoiding the Numbers Import Trap

Apple Numbers (Free, with Conversion Risks)

Numbers opens XLSX by converting it to the .numbers format on import. Saving defaults back to .numbers. To produce an XLSX, you must explicitly choose File > Export > Excel. During the round-trip, Numbers drops unsupported features: custom chart types, certain pivot table configurations, and all macros. Use Excel for Mac or LibreOffice if you need to preserve those elements.

Microsoft Excel for Mac (Full Feature Parity)

The Mac version is functionally identical to Windows Excel. Open with a double-click or from within the app. The only rendering difference: macOS uses system font rendering, which can produce minor cell height discrepancies when the file uses non-standard fonts not installed on the system.

Linux: LibreOffice vs. OnlyOffice

LibreOffice Calc (Default Native Option)

Install via the system package manager (sudo apt install libreoffice-calc on Debian derivatives, sudo dnf install libreoffice-calc on Fedora). Open with localc filename.xlsx. Known gaps include: sparklines converted to static images; date-based pivot table grouping filters lost; and threaded comments collapsed into a single note. Always verify the file after opening.

OnlyOffice (Stronger Pivot Table Fidelity)

OnlyOffice uses a different XML parser that preserves more of the original XLSX structure. It handles pivot table grouping and slicers with higher fidelity than Calc. Install via Flatpak: flatpak install org.onlyoffice.desktopeditors. The trade-off is measurably slower load times for files exceeding 10 MB.

Mobile: Read-Only Constraints

Microsoft Excel for iOS/Android

The mobile app renders XLSX fully but is read-only for files containing VBA macros. Attempting to edit a macro-enabled file triggers the warning: "This workbook contains macros that cannot be edited on mobile." Viewing and printing remain available.

Google Sheets Mobile

The mobile Sheets app enforces a hard 100 MB file size limit. Files exceeding this threshold fail to upload with a generic "Could not open file" error. The app also strips all charts when saving back to XLSX. For mobile editing, use the Excel app.

Diagnosing Files That Refuse to Open

When an XLSX file fails to open in any application, the cause is almost always one of three structural problems.

1. Incorrect File Signature

The file may be a renamed .xls (binary), .xlsb (binary workbook), or an unrelated format. Open the file in a hex editor or run xxd suspect.xlsx | head -n 1 on Linux/macOS. Valid XLSX files begin with the ZIP header bytes PK (0x50 0x4B). If the first bytes are D0 CF 11 E0, the file is an OLE2 compound document—an old .xls format, not XLSX.

2. Corrupt ZIP Structure

The MS-XLSX specification (section 3.2) requires the ZIP archive to contain a file named [Content_Types].xml at the root. If this part is missing or malformed, no application will open the file. Run unzip -l suspect.xlsx on Linux/macOS or open with 7-Zip on Windows to list the archive contents. Absence of [Content_Types].xml means the file is unrecoverable without manual reconstruction of the ZIP structure.

3. Zero-Length Shared Strings Table

The xl/sharedStrings.xml part may exist but contain no <si> elements. This causes Excel to report "The file is corrupt," even though LibreOffice or OnlyOffice may open the file by treating all string cells as empty. The repair requires injecting a minimal valid shared strings table into the archive.

Unrecoverable limits: A file smaller than 100 bytes cannot contain a valid ZIP structure. A file consisting of raw XML without any ZIP container is not an XLSX, regardless of its extension. Neither condition is repairable by end-user tools.

Reference: [MS-XLSX] — https://learn.microsoft.com/en-us/openspecs/office_standards/ms-xlsx/