DOCX File Signature & Magic Bytes (.docx)
Microsoft Word Open XML documents (.docx, ECMA-376 / ISO/IEC 29500) are structured PKZIP packages starting with 50 4B 03 04. What makes a ZIP file a Word document is the presence of [Content_Types].xml and word/document.xml inside its ZIP central directory.
Signature & identification summary
| Detected format name | Word document |
|---|---|
| Hexadecimal magic bytes | 50 4B 03 04 |
| ASCII / marker preview | PK.. (+ word/document.xml) |
| Byte offset | 0 (ZIP) + Central Directory |
| MIME type | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
| Common extensions & aliases | .docx, .docm, .dotx, .dotm |
Check whether your file really is Word (.docx).
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
Alongside word/document.xml (body paragraphs and tables) sit word/styles.xml, word/settings.xml (revision session IDs and tracked-changes flags), word/media/ (embedded images), and docProps/core.xml + docProps/app.xml (creator, lastModifiedBy, revision count and application name). Macro-enabled .docm files add word/vbaProject.bin.
Extension mismatches & common pitfalls
Browsers and mail servers that sniff only the first 4 bytes often save .docx attachments as .zip; conversely, legacy Word 97–2003 .doc files start with D0 CF 11 E0 (OLE2) and cannot be converted simply by renaming .doc to .docx.
Which apps open Word (.docx) files?
| Platform | Compatible applications & tools |
|---|---|
| Mac (macOS) | Microsoft Word, Apple Pages, TextEdit (basic), Finder Quick Look, LibreOffice |
| iPhone & iPad | Files Quick Look, Pages, Microsoft Word, Google Docs |
| Windows | Microsoft Word, LibreOffice Writer, Google Docs |
Free local tools & related guides
- Check whether a file really is Word (.docx)
- Inspect document metadata & AI clues
- Inspect raw bytes in the Hex Viewer
- Guide: Inspect Word, Excel & PowerPoint Metadata
- Guide: File Signatures & Magic Bytes Guide
- Guide: How to Change a File Extension Safely
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.