ZIP File Signature & Magic Bytes (50 4B 03 04)
ZIP, created by Phil Katz (PKWARE) in 1989, is both the most common desktop archive format and the foundational packaging container for dozens of modern document and app formats. Populated ZIP archives begin with local file header 50 4B 03 04 (PK\x03\x04; empty archives use 50 4B 05 06 and spanned archives 50 4B 07 08).
Signature & identification summary
| Detected format name | ZIP container |
|---|---|
| Hexadecimal magic bytes | 50 4B 03 04 |
| ASCII / marker preview | PK.. |
| Byte offset | 0 |
| MIME type | application/zip |
| Common extensions & aliases | .zip, .epub, .jar, .apk, .ipa, .odt, .ods, .odp |
Check whether your file really is ZIP.
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
Crucially, the authoritative table of contents in a ZIP file—the Central Directory (50 4B 01 02) and End of Central Directory record (50 4B 05 06)—lives at the very end of the file. Word (.docx), Excel (.xlsx), PowerPoint (.pptx), EPUB (.epub), Java (.jar), Android (.apk) and iOS (.ipa) packages are all ZIP containers distinguished by their directory entries.
Extension mismatches & common pitfalls
If an email gateway renames a Word .docx or Excel .xlsx attachment to .zip because it spotted 50 4B 03 04, File Sniff reads the central directory without decompressing a single byte to tell you which Office document is inside.
Which apps open ZIP files?
| Platform | Compatible applications & tools |
|---|---|
| Mac (macOS) | Archive Utility (Finder), unzip in Terminal, Keka, The Unarchiver |
| iPhone & iPad | Files app (native Preview Content & Uncompress) |
| Windows | File Explorer (built-in Extract All), 7-Zip, WinRAR |
Free local tools & related guides
- Check whether a file really is ZIP
- Inspect raw bytes in the Hex Viewer
- Guide: File Signatures & Magic Bytes Guide
- Guide: Inspect Word, Excel & PowerPoint Metadata
- 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.