Documents · Updated · All file signatures

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 nameWord document
Hexadecimal magic bytes50 4B 03 04
ASCII / marker previewPK.. (+ word/document.xml)
Byte offset0 (ZIP) + Central Directory
MIME typeapplication/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.

Check a file’s real type ↗︎

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?

PlatformCompatible applications & tools
Mac (macOS)Microsoft Word, Apple Pages, TextEdit (basic), Finder Quick Look, LibreOffice
iPhone & iPadFiles Quick Look, Pages, Microsoft Word, Google Docs
WindowsMicrosoft Word, LibreOffice Writer, Google Docs

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 ↗︎