Documents · Updated · All file signatures

XLSX File Signature & Magic Bytes (.xlsx)

Microsoft Excel Open XML workbooks (.xlsx) use an OOXML PKZIP container starting with 50 4B 03 04 whose ZIP central directory contains [Content_Types].xml and xl/workbook.xml.

Signature & identification summary

Detected format nameExcel spreadsheet
Hexadecimal magic bytes50 4B 03 04
ASCII / marker previewPK.. (+ xl/workbook.xml)
Byte offset0 (ZIP) + Central Directory
MIME typeapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Common extensions & aliases.xlsx, .xlsm, .xltx, .xltm

Check whether your file really is Excel (.xlsx).

Drop any file into File Sniff’s free local browser checker to verify its 50 4B 03 04 signature and spot misleading extensions—without uploading a single byte.

Check a file’s real type ↗︎

Container & byte-layout notes

Inside xl/ sit workbook.xml (sheet names and visible / hidden / veryHidden states), sharedStrings.xml, styles.xml, theme/theme1.xml, worksheets/sheet*.xml, and docProps/core.xml + app.xml. Python libraries like openpyxl and XlsxWriter generate .xlsx packages directly.

Extension mismatches & common pitfalls

Plain-text CSV exports (.csv) and HTML tables saved by old ERP portals with an .xls or .xlsx extension lack the 50 4B 03 04 signature, triggering Excel’s “file format and extension don’t match” warning.

Which apps open Excel (.xlsx) files?

PlatformCompatible applications & tools
Mac (macOS)Microsoft Excel, Apple Numbers, Finder Quick Look, LibreOffice Calc
iPhone & iPadFiles Quick Look, Numbers, Microsoft Excel, Google Sheets
WindowsMicrosoft Excel, LibreOffice Calc, Google Sheets

Free local tools & related guides

Inspect files & folders natively
on Mac, iPhone & iPad.

The native File Sniff app scans entire folders, spots extension mismatches, repairs extensions with Undo on Mac, and exports CSV or JSON reports locally.

Download on the App Store ↗︎