Magic bytes: file signature table
The 220 signatures the file identifier matches against, sorted by byte sequence.
This page lists, as a plain table, the signature records behind the identify tool. Each row is one record from the identifier's public signature data at /assets/signatures.json — the same file that tool loads before you pick anything. Nothing is read or uploaded on this page.
| Signature (hex) | Format | Extensions | MIME type |
|---|---|---|---|
37 7A BC AF 27 1C | 7z file format | .7z | application/x-7z-compressed |
50 4B 03 04 | AAB (Android App Bundle) file format | .aab | application/x-authorware-bin |
2A 2A 41 43 45 2A 2A | ACE file format | .ace | application/x-ace-compressed |
41 4C 5A 01 | ALZ file format | .alz | application/x-alz-compressed |
4D 6F 6C 65 | aPACK / aPLib file format | .aplib .apack | application/x-aplib |
50 4B 03 04 | APK (Android package) file format | .apk | application/vnd.android.package-archive |
1F 8B | APK (Alpine Linux) file format | .apk | application/x-apk-alpine |
50 4B 03 04 | APK split bundle (.apks) file format | .apks | application/x-apks |
50 4B 03 04 | .apkg (Anki deck) file format | .apkg .colpkg | application/x-anki |
(no magic — directory) | .app bundle file format | .app | application/x-apple-app-bundle |
7F 45 4C 46 | AppImage file format | .AppImage | application/x-iso9660-appimage |
50 4B 03 04 | APPX / MSIX file format | .appx .msix .appxbundle .msixbundle | application/vns.ms-appx |
21 3C 61 72 63 68 3E 0A | ar (Unix archive) file format | .a .ar | application/x-archive |
1A | ARC file format | .arc | application/x-arc |
(custom header) | FreeArc (.arc) file format | .arc | application/x-freearc |
41 72 43 31 | FreeArc Next file format | .arc .fa | application/x-freearc |
1A | ARC (SEA / System Enhancement Associates) file format | .arc | application/x-arc |
1A | SPARK / Acorn ARC file format | .arc .spk | application/x-arc-spark |
60 EA | ARJ file format | .arj | application/x-arj |
(JSON header at offset 8) | ASAR (Electron) file format | .asar | application/octet-stream |
21 3C 61 72 63 68 3E 0A | .lib (Microsoft / COFF) file format | .lib | application/x-microsoft-coff-lib |
55 6E 69 74 79 | Unity AssetBundle file format | .unity3d .bundle .assets | application/x-unity-assetbundle |
(MP4 atoms) | Audible AAX file format | .aax .aa | audio/vnd.audible.aax |
4F 62 6A 01 | Apache Avro file format | .avro | application/avro+binary |
TPZ3 | AZW3 (KF8) file format | .azw3 | application/vnd.amazon.ebook |
42 54 44 58 | BA2 (Fallout 4 / 76) file format | .ba2 | application/x-bethesda-ba2 |
(none) | Base64 / MIME file format | .b64 .eml | text/plain |
42 49 47 46 / 42 49 47 34 | BIG (EA Games) file format | .big | application/x-ea-big |
(plain text CUE / raw BIN) | BIN/CUE file format | .bin .cue | application/x-cue |
BORG_SEG | BorgBackup file format | borg repository | application/x-borg |
(no fixed magic — stream format) | Brotli file format | .br | application/x-brotli |
42 53 41 00 | BSA (Bethesda Softworks Archive) file format | .bsa | application/x-bethesda-bsa |
42 5A 68 | pbzip2 (parallel bzip2) file format | .bz2 | application/x-bzip2 |
42 5A 33 76 | bzip3 file format | .bz3 | application/x-bzip3 |
42 5A 68 | BZIP2 file format | .bz2 .bzip2 | application/x-bzip2 |
4D 53 43 46 | CAB (Cabinet) file format | .cab | application/vnd.ms-cab-compressed |
49 53 63 28 | InstallShield .cab file format | .cab .hdr | application/vnd.ms-cab-compressed |
(SED text + CAB) | IExpress SED file format | .sed .iexpress | application/x-iexpress |
(custom) | CASC (Blizzard) file format | .idx .data | application/octet-stream |
(varies) | CB7 / CBT / CBR / CBZ family file format | .cb7 .cbr .cbt .cbz | application/vnd.comicbook+zip |
37 7A BC AF 27 1C | CB7 (Comic Book 7z) file format | .cb7 | application/x-cb7 |
52 61 72 21 | CBR (Comic Book RAR) file format | .cbr | application/vnd.comicbook-rar |
75 73 74 61 72 | CBT (Comic Book TAR) file format | .cbt | application/x-cbt |
(tar header) | CBT comic archive file format | .cbt | application/x-cbt |
50 4B 03 04 | CBZ (Comic Book ZIP) file format | .cbz | application/vnd.comicbook+zip |
(plain text CCD index) | CCD (CloneCD image) file format | .ccd .img .sub | application/x-clonecd |
(varies) | CDR (raw CD image) file format | .cdr .toast | application/x-cdrdao-image |
1F 9D | compress (.Z) file format | .Z | application/x-compress |
71 C7 (binary) / 30 37 30 37 (ASCII) | cpio file format | .cpio | application/x-cpio |
45 3D CD 28 | cramfs file format | .cramfs | application/octet-stream |
Cr24 | CRX (Chrome Extension) file format | .crx | application/x-chrome-extension |
43 72 32 34 | CRX3 (Chrome Extension v3) file format | .crx | application/x-chrome-extension |
44 41 41 | DAA (Direct Access Archive) file format | .daa | application/x-daa |
(custom catalog header) | DAR (Disk Archive) file format | .dar | application/x-dar |
21 3C 61 72 63 68 3E | DEB (Debian package) file format | .deb | application/vnd.debian.binary-package |
koly trailer (last 512 bytes) | DMG (Apple Disk Image) file format | .dmg | application/x-apple-diskimage |
(tar headers) | Docker / OCI image file format | .tar | application/vnd.oci.image.layer.v1.tar+gzip |
50 4B 03 04 | DOCX (Office Open XML) file format | .docx .xlsx .pptx | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
50 4B 03 04 | EAR (Enterprise Archive) file format | .ear | application/java-archive |
(varies) | eDonkey link / .part file format | .part .met | application/x-emule |
45 47 47 41 | EGG file format | .egg | application/x-egg-compressed |
(plain text headers) | .eml (RFC 822) file format | .eml | message/rfc822 |
50 4B 03 04 | EOPKG (Solus) file format | .eopkg | application/x-eopkg |
50 4B 03 04 | EPUB file format | .epub | application/epub+zip |
E2 E1 F5 E0 | EROFS file format | .erofs .img | application/octet-stream |
(<?xml or 50 4B 03 04) | FictionBook (.fb2) file format | .fb2 .fb2.zip | application/x-fictionbook+xml |
41 52 52 4F 57 31 | Feather / Arrow IPC file format | .feather .arrow | application/vnd.apache.arrow.file |
46 4C 30 30 | .fl0 (FlashCopy backup) file format | .fl0 .fl1 | application/x-flashcopy |
(varies — GVariant container) | Flatpak bundle file format | .flatpak | application/vnd.flatpak |
47 43 41 58 | GCA file format | .gca | application/x-gca |
01 00 00 00 03 00 00 00 | GCF (Steam Game Cache File) file format | .gcf | application/x-gcf |
(varies) | GoG Galaxy installer file format | .exe .bin | application/x-gog-installer |
75 73 74 61 72 (offset 257) | RubyGems package file format | .gem | application/x-tar |
53 51 4C 69 74 65 20 66 6F 72 6D 61 74 20 33 | GeoPackage file format | .gpkg | application/geopackage+sqlite3 |
1F 8B | pigz (parallel gzip) file format | .gz | application/gzip |
1F 8B | Zopfli (DEFLATE) file format | .gz .zip .png | application/gzip |
1F 8B | GZIP file format | .gz .gzip | application/gzip |
1F 8B | rsyncable gzip file format | .gz | application/gzip |
28 54 68 69 73 20 66 69 6C 65 | BinHex (.hqx) file format | .hqx | application/mac-binhex40 |
1F 8B | IAR (OpenSimulator inventory) file format | .iar | application/x-iar |
(varies by inner filesystem) | IMG (Raw disk image) file format | .img .bin | application/octet-stream |
07 07 0? | initramfs file format | .img .cpio.gz .cpio.xz .cpio.zst | application/x-cpio |
4D 5A | Inno Setup installer file format | .exe | application/x-msdownload |
50 4B 03 04 | IPA (iOS App) file format | .ipa | application/octet-stream |
21 3C 61 72 63 68 3E | IPK (OPKG / Entware) file format | .ipk | application/x-ipk |
CD 30 30 31 (offset 0x8001) | ISO (ISO 9660 image) file format | .iso | application/x-iso9660-image |
49 73 5A 21 | ISZ file format | .isz | application/x-isz |
50 4B 03 04 | JAR (Java Archive) file format | .jar | application/java-archive |
85 19 | JFFS2 file format | .jffs2 | application/x-jffs2 |
(custom) | KGB Archiver file format | .kgb | application/x-kgb |
4B 47 42 41 | KGB Archiver file format | .kgb | application/x-kgb |
5A 4F 30 | Kindle KFX file format | .kfx | application/vnd.amazon.ebook-kfx |
(stream marker) | Kryoflux STREAM file format | .raw .0.raw | application/x-kryoflux |
2D 6C 68 | LHA (Amiga) file format | .lha .lzh | application/x-lzh-compressed |
50 4B 03 04 | .love (LÖVE 2D) file format | .love | application/x-love-game |
4C 52 5A 49 | lrzip file format | .lrz | application/x-lrzip |
4C 5A 49 50 | .lz (lzip alias) file format | .lz | application/x-lzip |
04 22 4D 18 | LZ4 file format | .lz4 | application/x-lz4 |
62 76 78 32 | LZFSE file format | .lzfse | application/x-lzfse |
2D 6C 68 | LZH / LHA file format | .lzh .lha | application/x-lzh-compressed |
4C 5A 49 50 | LZIP file format | .lz | application/x-lzip |
5D 00 00 | LZMA (raw) file format | .lzma | application/x-lzma |
5D 00 00 / 18 | LZMA2 file format | .lzma .lzma2 | application/x-lzma |
89 4C 5A 4F | LZO / lzop file format | .lzo | application/x-lzop |
(structured header) | MacBinary (.bin) file format | .bin | application/x-macbinary |
(URI) | magnet: URI file format | — | text/uri-list |
46 72 6F 6D 20 | mbox (mailbox) file format | .mbox .mbx | application/mbox |
53 51 4C 69 74 65 20 66 6F 72 6D 61 74 20 33 | MBTiles file format | .mbtiles | application/x-mbtiles |
4D 45 44 49 41 20 44 45 53 43 52 49 50 54 4F 52 | MDF / MDS file format | .mdf .mds | application/x-alcohol-mdf |
46 72 6F 6D 3A | MHT / MHTML file format | .mht .mhtml | multipart/related |
BOOKMOBI | MOBI (Mobipocket) file format | .mobi .prc .azw | application/x-mobipocket-ebook |
4D 50 51 1A | MPQ (Blizzard) file format | .mpq | application/octet-stream |
D0 CF 11 E0 A1 B1 1A E1 | MSI (Windows Installer) file format | .msi | application/x-msi |
4D 53 43 46 | .msu (Microsoft Update) file format | .msu | application/x-msu |
NER5 (offset varies) | NRG (Nero CD Image) file format | .nrg | application/x-nero-nrg |
4D 5A | NSIS installer file format | .exe | application/x-msdownload |
50 4B 03 04 | NuGet package file format | .nupkg | application/zip |
1F 8B | OAR (OpenSimulator archive) file format | .oar | application/x-oar |
50 4B 03 04 | ODT / ODF file format | .odt .ods .odp | application/vnd.oasis.opendocument.text |
68 73 71 73 / 73 71 73 68 | OPK (OpenDingux package) file format | .opk | application/x-opk |
4F 52 43 | Apache ORC file format | .orc | application/x-orc |
50 4B 03 04 | .osz (osu! beatmap) file format | .osz .oszip | application/x-osu |
75 73 74 61 72 (offset 257) | OVA (Open Virtualization Appliance) file format | .ova | application/x-virtualbox-ova |
(OVF: XML / OVA: tar) | OVF / OVA file format | .ovf .ova | application/x-ovf |
1F 1E | pack (.z) file format | .z | application/x-compress |
FD 37 7A 58 5A 00 / 28 B5 2F FD | pkg(8) tar.zst file format | .txz .tzst .pkg | application/x-bsd-pkg |
PACK (id Software variant) | PAK (Game data) file format | .pak | application/octet-stream |
50 41 43 4B | PAK (id Software) file format | .pak | application/x-id-pak |
50 51 38 | PAQ8 file format | .paq8 | application/x-paq |
50 41 52 31 | Apache Parquet file format | .parquet | application/vnd.apache.parquet |
(custom) | Partclone file format | .img .gz | application/octet-stream |
PaRtImAgE-VoLuMe | Partimage file format | .000 .001 | application/x-partimage |
50 45 41 | PEA file format | .pea | application/x-pea |
1F 8B | Puppy PET file format | .pet | application/x-pet |
50 4B 03 04 | PIZ (encrypted ZIP) file format | .piz | application/zip |
50 4B 03 04 | PK3 / PK4 (Quake engine) file format | .pk3 .pk4 | application/zip |
78 61 72 21 | PKG (macOS installer) file format | .pkg | application/vnd.apple.installer+xml |
78 61 72 21 | macOS .pkg (flat) file format | .pkg | application/x-newton-compatible-pkg |
1F 8B / FD 37 7A 58 5A | PKGINFO (NetBSD pkgsrc / FreeBSD) file format | .tgz .txz | application/x-bsd-package |
50 4B 03 04 | PKPASS (Apple Wallet) file format | .pkpass | application/vnd.apple.pkpass |
50 4D 54 69 6C 65 73 | PMTiles file format | .pmtiles | application/x-pmtiles |
21 42 44 4E | PST (Outlook) file format | .pst .ost | application/vnd.ms-outlook |
50 57 5A 00 | PWZ (Phoenix Wright) file format | .pwz | application/x-pwz |
50 4B 03 04 | PYZ (Python zipapp) file format | .pyz .pyzw | application/zip |
51 46 49 FB | qcow / qcow1 file format | .qcow | application/x-qemu-qcow |
QFI\xFB | QCOW2 (QEMU Copy-On-Write) file format | .qcow2 .qcow | application/octet-stream |
71 70 72 65 73 73 | qpress file format | .qp | application/x-qpress |
52 61 72 21 1A 07 00 (RAR4) / 52 61 72 21 1A 07 01 00 (RAR5) | RAR file format | .rar .rev | application/vnd.rar |
52 61 72 21 | RAR multi-volume file format | .part1.rar .r00 .r01 | application/vnd.rar |
52 61 72 21 1A 07 01 00 | RAR5 file format | .rar | application/vnd.rar |
4D 53 57 49 4D | Recovery WIM (.esd) file format | .esd | application/x-microsoft-esd |
(custom) | restic file format | restic repository | application/x-restic |
2D 72 6F 6D 31 66 73 2D | romfs file format | .romfs | application/x-romfs |
ED AB EE DB | RPM (Red Hat package) file format | .rpm | application/x-rpm |
(varies) | Mac Resource Fork file format | .rsrc | application/x-rsrc |
00 05 16 00 / 00 05 16 07 | AppleSingle / AppleDouble file format | .adf .AppleDouble | application/applefile |
52 5A 49 50 | rzip file format | .rz | application/x-rzip |
50 4B 03 04 | .sb3 (Scratch project) file format | .sb3 .sb2 | application/x.scratch.sb3 |
(This file must be converted with BinHex) | BinHex (.hqx) file format | .hqx | application/mac-binhex40 |
4D 5A | SFX (Self-extracting EXE) file format | .exe | application/x-msdownload |
4D 5A | 7z SFX file format | .exe | application/x-msdownload |
#! | shar (Shell archive) file format | .shar | application/x-shar |
7A 1F 11 10 | SIS / SISX (Symbian) file format | .sis .sisx | application/vnd.symbian.install |
53 49 54 21 | StuffIt file format | .sit .sitx | application/x-stuffit |
68 73 71 73 | Snap (Ubuntu package) file format | .snap | application/vnd.snap |
FF 06 00 00 73 4E 61 50 70 59 | Snappy file format | .sz .snappy | application/x-snappy-framed |
FF 06 00 00 73 4E 61 50 70 59 | Snappy framed file format | .sz | application/x-snappy-framed |
(varies) | sparseimage file format | .sparseimage .sparsebundle | application/x-sparseimage |
68 73 71 73 | SquashFS file format | .sqsh .squashfs .sfs | application/x-squashfs |
53 51 4C 69 74 65 20 66 6F 72 6D 61 74 20 33 | SQLite Archive file format | .sqlar .db | application/x-sqlar |
4D 53 57 49 4D | SWM (Split WIM) file format | .swm | application/x-microsoft-swm |
75 73 74 61 72 (offset 257) | TAR file format | .tar | application/x-tar |
37 7A BC AF 27 1C | TAR + 7z (.tar.7z) file format | .tar.7z | application/x-7z-compressed |
CE B2 CF 81 | TAR.BR file format | .tar.br .tbr | application/x-brotli |
42 5A 68 | TAR.BZ2 file format | .tar.bz2 .tbz2 .tbz | application/x-bzip2 |
1F 8B (gzip wrapper) | TAR.GZ (tarball) file format | .tar.gz .tgz | application/gzip |
4C 5A 49 50 | TAR.LZ file format | .tar.lz .tlz | application/x-lzip |
4C 5A 49 50 | TAR.LZ file format | .tar.lz | application/x-lzip |
5D 00 00 | TAR.LZMA file format | .tar.lzma .tlz | application/x-lzma |
89 4C 5A 4F | TAR.LZO file format | .tar.lzo .tzo | application/x-lzop |
FD 37 7A 58 5A 00 | TAR.XZ file format | .tar.xz .txz | application/x-xz |
1F 9D | TAR.Z file format | .tar.Z .taz | application/x-compress |
28 B5 2F FD | TAR.ZST file format | .tar.zst .tzst | application/zstd |
28 B5 2F FD | TAR.ZSTD (alias) file format | .tar.zst .tzst | application/zstd |
42 5A 68 | TBZ2 (alias of tar.bz2) file format | .tbz2 .tbz | application/x-bzip2 |
1F 8B | TGZ (alias of tar.gz) file format | .tgz | application/gzip |
(varies) | TOAST (Roxio disc image) file format | .toast .tao | application/x-toast |
64 38 3A 61 6E 6E 6F 75 6E 63 65 | .torrent file format | .torrent | application/x-bittorrent |
55 42 49 23 | UBI / UBIFS file format | .ubi .ubifs | application/x-ubi |
C1 83 2A 9E | .umod / .upk (Unreal mod / package) file format | .umod .upk .pak | application/x-unreal |
1F 8B | Unity Package file format | .unitypackage | application/x-unitypackage |
begin <perm> <name> | uuencode (.uue) file format | .uue .uu | text/x-uuencode |
(VDI header text) | VDI (VirtualBox) file format | .vdi | application/x-virtualbox-vdi |
conectix (VHD footer) / vhdxfile (VHDX) | VHD (Virtual Hard Disk) file format | .vhd .vhdx | application/x-virtualbox-vhd |
76 68 64 78 66 69 6C 65 | VHDX (Hyper-V) file format | .vhdx | application/x-hyperv-vhdx |
KDMV | VMDK (VMware Virtual Disk) file format | .vmdk | application/x-vmdk |
4B 44 4D | VMDK file format | .vmdk | application/x-vmware-vmdk |
34 12 AA 55 | VPK (Valve) file format | .vpk | application/x-valve-vpk |
28 B5 2F FD | XBPS package file format | .xbps | application/x-xbps |
50 4B 03 04 | WACZ file format | .wacz | application/wacz+zip |
IWAD / PWAD | WAD (Where's All the Data) file format | .wad | application/octet-stream |
49 57 41 44 / 50 57 41 44 | WAD (Doom) file format | .wad | application/x-doom-wad |
50 4B 03 04 | WAR (Web Application Archive) file format | .war | application/java-archive |
57 41 52 43 2F | WARC file format | .warc .warc.gz | application/warc |
62 70 6C 69 73 74 30 30 | .webarchive (Safari) file format | .webarchive | application/x-webarchive |
50 4B 03 04 | Wheel (Python) file format | .whl | application/zip |
4D 53 57 49 4D 00 00 00 | WIM (Windows Imaging) file format | .wim .esd .swm | application/x-ms-wim |
50 4B 03 04 | XAPK file format | .xapk | application/x-xapk |
78 61 72 21 | xar (eXtensible ARchive) file format | .xar | application/x-xar |
50 4B 03 04 | XPI (Firefox Extension) file format | .xpi | application/x-xpinstall |
FD 37 7A 58 5A 00 | XZ file format | .xz | application/x-xz |
FD 37 7A 58 5A 00 | pixz (parallel indexed xz) file format | .tpxz | application/x-xz |
(varies) | zboot kernel file format | .gz .lz4 .xz | application/x-linux-zboot |
50 4B 03 04 | ZIP file format | .zip | application/zip |
50 4B 03 04 | ZIPX file format | .zipx | application/zip |
78 9C / 78 DA / 78 01 | zlib file format | .zz .zlib | application/zlib |
5A 4F 4F 20 | ZOO file format | .zoo | application/x-zoo |
7B 50 51 | ZPAQ file format | .zpaq | application/x-zpaq |
28 B5 2F FD | Zstandard file format | .zst .zstd | application/zstd |
28 B5 2F FD | Zstandard with dictionary file format | .zst | application/zstd |
How to read a row
The signature is the fixed byte prefix a file of that format starts with. A file is matched when its first bytes reproduce a signature exactly, longest signature first. Several rows share the same bytes — the ZIP-based packages in particular — which is why the identifier falls back to the file's extension as a tiebreaker. For background on any row, follow its format link.
Where these records come from
One row per record in /assets/signatures.json, rendered unchanged: hex signature, format name, extensions and MIME type. Source: Wikipedia “List of archive formats”, Library of Congress Digital Formats registry, IANA media-type registry, 7-Zip project docs.