FILE FORMAT GUIDE

XLSX File: Open a Workbook or Inspect Its Package

An XLSX file is an Office Open XML spreadsheet workbook. Open it in Excel to work with sheets, cell values, formulas and charts. Browsing the ZIP package is a different task from calculating formulas or checking the displayed workbook.

Check for the reviewed ZIP container signature. A matching header does not validate the archive or the inner Office Open XML Workbook structure.

Check supported file headers

Quick facts

Extension
.xlsx
Format
Office Open XML Workbook
Category
document
MIME type
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Standard / developer
ISO/IEC JTC1 / Ecma International
Open with
Microsoft Excel

What is XLSX?

An XLSX package contains SpreadsheetML parts linked through a workbook and its worksheets. Sheets, shared strings, styles and related objects need to be interpreted together. A ZIP header alone cannot establish that the workbook is complete or that its calculations are correct.

How to open XLSX

A ZIP listing does not render or validate the workbook.

Microsoft ExcelWindows / macOS

Open the workbook in Microsoft Excel; review the intended content before saving or exporting a copy.

Common uses and compatibility

  • Exchange an editable workbook with worksheets and formulas.
  • Keep workbook structure that would be lost in a plain CSV export.

Things to check

  • Standard XLSX cannot store VBA macro code; macro-enabled XLSM is a different type.
  • CSV export saves the active sheet and loses formatting and workbook features.

Advanced inspection

These developer and command-line workflows inspect structure or metadata. They are not the default way most people open the file.

Python zipfileCommand line; Python required

Use python -m zipfile -l "example.xlsx" to list a standard package, not render or validate the workbook.

Technical details

Signature
Common ZIP package header: 50 4B 03 04; not unique to this Office type
Encoding
Unknown
Container
ZIP/OPC package containing SpreadsheetML parts
Compression
ZIP compression at package level

Office Open XML Workbook document structure

Open the workbook in Excel

Use Excel to open the XLSX, then inspect the intended sheets and cells. Keep the original while editing. Review displayed values and formulas separately; a readable package does not prove correct calculations.

Sources: Supported formats in Microsoft Excel — Microsoft · Office Open XML Workbook structure — Microsoft

Inspect the package without calculating it

For a standard ZIP-based XLSX, a package listing shows entries rather than evaluated cells. Worksheet XML references other workbook parts. If the listing fails, use the intended office application to investigate instead of assuming the file is corrupt.

List package entries

python -m zipfile -l "example.xlsx"

Sources: Office Open XML Workbook structure — Microsoft · zipfile package listing — Python

Why is a CSV export missing sheets and formatting?

CSV is a text interchange format for a table, not a workbook package. Excel saves only the active sheet to CSV and drops unsupported features. Keep the XLSX and check the specific exported sheet before delivering the CSV.

Sources: Supported formats in Microsoft Excel — Microsoft

Does XLSX mean the filename is safe?

XLSX is the macro-free workbook type, distinct from XLSM. A suffix is still not a content or security validation. Confirm the actual file and source instead of enabling unexpected content to solve an opening issue.

Sources: Supported formats in Microsoft Excel — Microsoft · Open XML formats and extensions — Microsoft

Related formats

Sources & review

Sources reviewed 2026-11-16.