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 name | Excel spreadsheet |
|---|---|
| Hexadecimal magic bytes | 50 4B 03 04 |
| ASCII / marker preview | PK.. (+ xl/workbook.xml) |
| Byte offset | 0 (ZIP) + Central Directory |
| MIME type | application/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.
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?
| Platform | Compatible applications & tools |
|---|---|
| Mac (macOS) | Microsoft Excel, Apple Numbers, Finder Quick Look, LibreOffice Calc |
| iPhone & iPad | Files Quick Look, Numbers, Microsoft Excel, Google Sheets |
| Windows | Microsoft Excel, LibreOffice Calc, Google Sheets |
Free local tools & related guides
- Check whether a file really is Excel (.xlsx)
- Inspect document metadata & AI clues
- Inspect raw bytes in the Hex Viewer
- Guide: Inspect Word, Excel & PowerPoint Metadata
- Guide: What does a file extension mismatch mean?
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.