← Identify a file

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.

220 signature records 249 extensions 1 without a listed extension
File signatures sorted by hex byte sequence.
Signature (hex)Format ExtensionsMIME type
37 7A BC AF 27 1C7z file format.7zapplication/x-7z-compressed
50 4B 03 04AAB (Android App Bundle) file format.aabapplication/x-authorware-bin
2A 2A 41 43 45 2A 2AACE file format.aceapplication/x-ace-compressed
41 4C 5A 01ALZ file format.alzapplication/x-alz-compressed
4D 6F 6C 65aPACK / aPLib file format.aplib .apackapplication/x-aplib
50 4B 03 04APK (Android package) file format.apkapplication/vnd.android.package-archive
1F 8BAPK (Alpine Linux) file format.apkapplication/x-apk-alpine
50 4B 03 04APK split bundle (.apks) file format.apksapplication/x-apks
50 4B 03 04.apkg (Anki deck) file format.apkg .colpkgapplication/x-anki
(no magic — directory).app bundle file format.appapplication/x-apple-app-bundle
7F 45 4C 46AppImage file format.AppImageapplication/x-iso9660-appimage
50 4B 03 04APPX / MSIX file format.appx .msix .appxbundle .msixbundleapplication/vns.ms-appx
21 3C 61 72 63 68 3E 0Aar (Unix archive) file format.a .arapplication/x-archive
1AARC file format.arcapplication/x-arc
(custom header)FreeArc (.arc) file format.arcapplication/x-freearc
41 72 43 31FreeArc Next file format.arc .faapplication/x-freearc
1AARC (SEA / System Enhancement Associates) file format.arcapplication/x-arc
1ASPARK / Acorn ARC file format.arc .spkapplication/x-arc-spark
60 EAARJ file format.arjapplication/x-arj
(JSON header at offset 8)ASAR (Electron) file format.asarapplication/octet-stream
21 3C 61 72 63 68 3E 0A.lib (Microsoft / COFF) file format.libapplication/x-microsoft-coff-lib
55 6E 69 74 79Unity AssetBundle file format.unity3d .bundle .assetsapplication/x-unity-assetbundle
(MP4 atoms)Audible AAX file format.aax .aaaudio/vnd.audible.aax
4F 62 6A 01Apache Avro file format.avroapplication/avro+binary
TPZ3AZW3 (KF8) file format.azw3application/vnd.amazon.ebook
42 54 44 58BA2 (Fallout 4 / 76) file format.ba2application/x-bethesda-ba2
(none)Base64 / MIME file format.b64 .emltext/plain
42 49 47 46 / 42 49 47 34BIG (EA Games) file format.bigapplication/x-ea-big
(plain text CUE / raw BIN)BIN/CUE file format.bin .cueapplication/x-cue
BORG_SEGBorgBackup file formatborg repositoryapplication/x-borg
(no fixed magic — stream format)Brotli file format.brapplication/x-brotli
42 53 41 00BSA (Bethesda Softworks Archive) file format.bsaapplication/x-bethesda-bsa
42 5A 68pbzip2 (parallel bzip2) file format.bz2application/x-bzip2
42 5A 33 76bzip3 file format.bz3application/x-bzip3
42 5A 68BZIP2 file format.bz2 .bzip2application/x-bzip2
4D 53 43 46CAB (Cabinet) file format.cabapplication/vnd.ms-cab-compressed
49 53 63 28InstallShield .cab file format.cab .hdrapplication/vnd.ms-cab-compressed
(SED text + CAB)IExpress SED file format.sed .iexpressapplication/x-iexpress
(custom)CASC (Blizzard) file format.idx .dataapplication/octet-stream
(varies)CB7 / CBT / CBR / CBZ family file format.cb7 .cbr .cbt .cbzapplication/vnd.comicbook+zip
37 7A BC AF 27 1CCB7 (Comic Book 7z) file format.cb7application/x-cb7
52 61 72 21CBR (Comic Book RAR) file format.cbrapplication/vnd.comicbook-rar
75 73 74 61 72CBT (Comic Book TAR) file format.cbtapplication/x-cbt
(tar header)CBT comic archive file format.cbtapplication/x-cbt
50 4B 03 04CBZ (Comic Book ZIP) file format.cbzapplication/vnd.comicbook+zip
(plain text CCD index)CCD (CloneCD image) file format.ccd .img .subapplication/x-clonecd
(varies)CDR (raw CD image) file format.cdr .toastapplication/x-cdrdao-image
1F 9Dcompress (.Z) file format.Zapplication/x-compress
71 C7 (binary) / 30 37 30 37 (ASCII)cpio file format.cpioapplication/x-cpio
45 3D CD 28cramfs file format.cramfsapplication/octet-stream
Cr24CRX (Chrome Extension) file format.crxapplication/x-chrome-extension
43 72 32 34CRX3 (Chrome Extension v3) file format.crxapplication/x-chrome-extension
44 41 41DAA (Direct Access Archive) file format.daaapplication/x-daa
(custom catalog header)DAR (Disk Archive) file format.darapplication/x-dar
21 3C 61 72 63 68 3EDEB (Debian package) file format.debapplication/vnd.debian.binary-package
koly trailer (last 512 bytes)DMG (Apple Disk Image) file format.dmgapplication/x-apple-diskimage
(tar headers)Docker / OCI image file format.tarapplication/vnd.oci.image.layer.v1.tar+gzip
50 4B 03 04DOCX (Office Open XML) file format.docx .xlsx .pptxapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
50 4B 03 04EAR (Enterprise Archive) file format.earapplication/java-archive
(varies)eDonkey link / .part file format.part .metapplication/x-emule
45 47 47 41EGG file format.eggapplication/x-egg-compressed
(plain text headers).eml (RFC 822) file format.emlmessage/rfc822
50 4B 03 04EOPKG (Solus) file format.eopkgapplication/x-eopkg
50 4B 03 04EPUB file format.epubapplication/epub+zip
E2 E1 F5 E0EROFS file format.erofs .imgapplication/octet-stream
(<?xml or 50 4B 03 04)FictionBook (.fb2) file format.fb2 .fb2.zipapplication/x-fictionbook+xml
41 52 52 4F 57 31Feather / Arrow IPC file format.feather .arrowapplication/vnd.apache.arrow.file
46 4C 30 30.fl0 (FlashCopy backup) file format.fl0 .fl1application/x-flashcopy
(varies — GVariant container)Flatpak bundle file format.flatpakapplication/vnd.flatpak
47 43 41 58GCA file format.gcaapplication/x-gca
01 00 00 00 03 00 00 00GCF (Steam Game Cache File) file format.gcfapplication/x-gcf
(varies)GoG Galaxy installer file format.exe .binapplication/x-gog-installer
75 73 74 61 72 (offset 257)RubyGems package file format.gemapplication/x-tar
53 51 4C 69 74 65 20 66 6F 72 6D 61 74 20 33GeoPackage file format.gpkgapplication/geopackage+sqlite3
1F 8Bpigz (parallel gzip) file format.gzapplication/gzip
1F 8BZopfli (DEFLATE) file format.gz .zip .pngapplication/gzip
1F 8BGZIP file format.gz .gzipapplication/gzip
1F 8Brsyncable gzip file format.gzapplication/gzip
28 54 68 69 73 20 66 69 6C 65BinHex (.hqx) file format.hqxapplication/mac-binhex40
1F 8BIAR (OpenSimulator inventory) file format.iarapplication/x-iar
(varies by inner filesystem)IMG (Raw disk image) file format.img .binapplication/octet-stream
07 07 0?initramfs file format.img .cpio.gz .cpio.xz .cpio.zstapplication/x-cpio
4D 5AInno Setup installer file format.exeapplication/x-msdownload
50 4B 03 04IPA (iOS App) file format.ipaapplication/octet-stream
21 3C 61 72 63 68 3EIPK (OPKG / Entware) file format.ipkapplication/x-ipk
CD 30 30 31 (offset 0x8001)ISO (ISO 9660 image) file format.isoapplication/x-iso9660-image
49 73 5A 21ISZ file format.iszapplication/x-isz
50 4B 03 04JAR (Java Archive) file format.jarapplication/java-archive
85 19JFFS2 file format.jffs2application/x-jffs2
(custom)KGB Archiver file format.kgbapplication/x-kgb
4B 47 42 41KGB Archiver file format.kgbapplication/x-kgb
5A 4F 30Kindle KFX file format.kfxapplication/vnd.amazon.ebook-kfx
(stream marker)Kryoflux STREAM file format.raw .0.rawapplication/x-kryoflux
2D 6C 68LHA (Amiga) file format.lha .lzhapplication/x-lzh-compressed
50 4B 03 04.love (LÖVE 2D) file format.loveapplication/x-love-game
4C 52 5A 49lrzip file format.lrzapplication/x-lrzip
4C 5A 49 50.lz (lzip alias) file format.lzapplication/x-lzip
04 22 4D 18LZ4 file format.lz4application/x-lz4
62 76 78 32LZFSE file format.lzfseapplication/x-lzfse
2D 6C 68LZH / LHA file format.lzh .lhaapplication/x-lzh-compressed
4C 5A 49 50LZIP file format.lzapplication/x-lzip
5D 00 00LZMA (raw) file format.lzmaapplication/x-lzma
5D 00 00 / 18LZMA2 file format.lzma .lzma2application/x-lzma
89 4C 5A 4FLZO / lzop file format.lzoapplication/x-lzop
(structured header)MacBinary (.bin) file format.binapplication/x-macbinary
(URI)magnet: URI file format—text/uri-list
46 72 6F 6D 20mbox (mailbox) file format.mbox .mbxapplication/mbox
53 51 4C 69 74 65 20 66 6F 72 6D 61 74 20 33MBTiles file format.mbtilesapplication/x-mbtiles
4D 45 44 49 41 20 44 45 53 43 52 49 50 54 4F 52MDF / MDS file format.mdf .mdsapplication/x-alcohol-mdf
46 72 6F 6D 3AMHT / MHTML file format.mht .mhtmlmultipart/related
BOOKMOBIMOBI (Mobipocket) file format.mobi .prc .azwapplication/x-mobipocket-ebook
4D 50 51 1AMPQ (Blizzard) file format.mpqapplication/octet-stream
D0 CF 11 E0 A1 B1 1A E1MSI (Windows Installer) file format.msiapplication/x-msi
4D 53 43 46.msu (Microsoft Update) file format.msuapplication/x-msu
NER5 (offset varies)NRG (Nero CD Image) file format.nrgapplication/x-nero-nrg
4D 5ANSIS installer file format.exeapplication/x-msdownload
50 4B 03 04NuGet package file format.nupkgapplication/zip
1F 8BOAR (OpenSimulator archive) file format.oarapplication/x-oar
50 4B 03 04ODT / ODF file format.odt .ods .odpapplication/vnd.oasis.opendocument.text
68 73 71 73 / 73 71 73 68OPK (OpenDingux package) file format.opkapplication/x-opk
4F 52 43Apache ORC file format.orcapplication/x-orc
50 4B 03 04.osz (osu! beatmap) file format.osz .oszipapplication/x-osu
75 73 74 61 72 (offset 257)OVA (Open Virtualization Appliance) file format.ovaapplication/x-virtualbox-ova
(OVF: XML / OVA: tar)OVF / OVA file format.ovf .ovaapplication/x-ovf
1F 1Epack (.z) file format.zapplication/x-compress
FD 37 7A 58 5A 00 / 28 B5 2F FDpkg(8) tar.zst file format.txz .tzst .pkgapplication/x-bsd-pkg
PACK (id Software variant)PAK (Game data) file format.pakapplication/octet-stream
50 41 43 4BPAK (id Software) file format.pakapplication/x-id-pak
50 51 38PAQ8 file format.paq8application/x-paq
50 41 52 31Apache Parquet file format.parquetapplication/vnd.apache.parquet
(custom)Partclone file format.img .gzapplication/octet-stream
PaRtImAgE-VoLuMePartimage file format.000 .001application/x-partimage
50 45 41PEA file format.peaapplication/x-pea
1F 8BPuppy PET file format.petapplication/x-pet
50 4B 03 04PIZ (encrypted ZIP) file format.pizapplication/zip
50 4B 03 04PK3 / PK4 (Quake engine) file format.pk3 .pk4application/zip
78 61 72 21PKG (macOS installer) file format.pkgapplication/vnd.apple.installer+xml
78 61 72 21macOS .pkg (flat) file format.pkgapplication/x-newton-compatible-pkg
1F 8B / FD 37 7A 58 5APKGINFO (NetBSD pkgsrc / FreeBSD) file format.tgz .txzapplication/x-bsd-package
50 4B 03 04PKPASS (Apple Wallet) file format.pkpassapplication/vnd.apple.pkpass
50 4D 54 69 6C 65 73PMTiles file format.pmtilesapplication/x-pmtiles
21 42 44 4EPST (Outlook) file format.pst .ostapplication/vnd.ms-outlook
50 57 5A 00PWZ (Phoenix Wright) file format.pwzapplication/x-pwz
50 4B 03 04PYZ (Python zipapp) file format.pyz .pyzwapplication/zip
51 46 49 FBqcow / qcow1 file format.qcowapplication/x-qemu-qcow
QFI\xFBQCOW2 (QEMU Copy-On-Write) file format.qcow2 .qcowapplication/octet-stream
71 70 72 65 73 73qpress file format.qpapplication/x-qpress
52 61 72 21 1A 07 00 (RAR4) / 52 61 72 21 1A 07 01 00 (RAR5)RAR file format.rar .revapplication/vnd.rar
52 61 72 21RAR multi-volume file format.part1.rar .r00 .r01application/vnd.rar
52 61 72 21 1A 07 01 00RAR5 file format.rarapplication/vnd.rar
4D 53 57 49 4DRecovery WIM (.esd) file format.esdapplication/x-microsoft-esd
(custom)restic file formatrestic repositoryapplication/x-restic
2D 72 6F 6D 31 66 73 2Dromfs file format.romfsapplication/x-romfs
ED AB EE DBRPM (Red Hat package) file format.rpmapplication/x-rpm
(varies)Mac Resource Fork file format.rsrcapplication/x-rsrc
00 05 16 00 / 00 05 16 07AppleSingle / AppleDouble file format.adf .AppleDoubleapplication/applefile
52 5A 49 50rzip file format.rzapplication/x-rzip
50 4B 03 04.sb3 (Scratch project) file format.sb3 .sb2application/x.scratch.sb3
(This file must be converted with BinHex)BinHex (.hqx) file format.hqxapplication/mac-binhex40
4D 5ASFX (Self-extracting EXE) file format.exeapplication/x-msdownload
4D 5A7z SFX file format.exeapplication/x-msdownload
#!shar (Shell archive) file format.sharapplication/x-shar
7A 1F 11 10SIS / SISX (Symbian) file format.sis .sisxapplication/vnd.symbian.install
53 49 54 21StuffIt file format.sit .sitxapplication/x-stuffit
68 73 71 73Snap (Ubuntu package) file format.snapapplication/vnd.snap
FF 06 00 00 73 4E 61 50 70 59Snappy file format.sz .snappyapplication/x-snappy-framed
FF 06 00 00 73 4E 61 50 70 59Snappy framed file format.szapplication/x-snappy-framed
(varies)sparseimage file format.sparseimage .sparsebundleapplication/x-sparseimage
68 73 71 73SquashFS file format.sqsh .squashfs .sfsapplication/x-squashfs
53 51 4C 69 74 65 20 66 6F 72 6D 61 74 20 33SQLite Archive file format.sqlar .dbapplication/x-sqlar
4D 53 57 49 4DSWM (Split WIM) file format.swmapplication/x-microsoft-swm
75 73 74 61 72 (offset 257)TAR file format.tarapplication/x-tar
37 7A BC AF 27 1CTAR + 7z (.tar.7z) file format.tar.7zapplication/x-7z-compressed
CE B2 CF 81TAR.BR file format.tar.br .tbrapplication/x-brotli
42 5A 68TAR.BZ2 file format.tar.bz2 .tbz2 .tbzapplication/x-bzip2
1F 8B (gzip wrapper)TAR.GZ (tarball) file format.tar.gz .tgzapplication/gzip
4C 5A 49 50TAR.LZ file format.tar.lz .tlzapplication/x-lzip
4C 5A 49 50TAR.LZ file format.tar.lzapplication/x-lzip
5D 00 00TAR.LZMA file format.tar.lzma .tlzapplication/x-lzma
89 4C 5A 4FTAR.LZO file format.tar.lzo .tzoapplication/x-lzop
FD 37 7A 58 5A 00TAR.XZ file format.tar.xz .txzapplication/x-xz
1F 9DTAR.Z file format.tar.Z .tazapplication/x-compress
28 B5 2F FDTAR.ZST file format.tar.zst .tzstapplication/zstd
28 B5 2F FDTAR.ZSTD (alias) file format.tar.zst .tzstapplication/zstd
42 5A 68TBZ2 (alias of tar.bz2) file format.tbz2 .tbzapplication/x-bzip2
1F 8BTGZ (alias of tar.gz) file format.tgzapplication/gzip
(varies)TOAST (Roxio disc image) file format.toast .taoapplication/x-toast
64 38 3A 61 6E 6E 6F 75 6E 63 65.torrent file format.torrentapplication/x-bittorrent
55 42 49 23UBI / UBIFS file format.ubi .ubifsapplication/x-ubi
C1 83 2A 9E.umod / .upk (Unreal mod / package) file format.umod .upk .pakapplication/x-unreal
1F 8BUnity Package file format.unitypackageapplication/x-unitypackage
begin <perm> <name>uuencode (.uue) file format.uue .uutext/x-uuencode
(VDI header text)VDI (VirtualBox) file format.vdiapplication/x-virtualbox-vdi
conectix (VHD footer) / vhdxfile (VHDX)VHD (Virtual Hard Disk) file format.vhd .vhdxapplication/x-virtualbox-vhd
76 68 64 78 66 69 6C 65VHDX (Hyper-V) file format.vhdxapplication/x-hyperv-vhdx
KDMVVMDK (VMware Virtual Disk) file format.vmdkapplication/x-vmdk
4B 44 4DVMDK file format.vmdkapplication/x-vmware-vmdk
34 12 AA 55VPK (Valve) file format.vpkapplication/x-valve-vpk
28 B5 2F FDXBPS package file format.xbpsapplication/x-xbps
50 4B 03 04WACZ file format.waczapplication/wacz+zip
IWAD / PWADWAD (Where's All the Data) file format.wadapplication/octet-stream
49 57 41 44 / 50 57 41 44WAD (Doom) file format.wadapplication/x-doom-wad
50 4B 03 04WAR (Web Application Archive) file format.warapplication/java-archive
57 41 52 43 2FWARC file format.warc .warc.gzapplication/warc
62 70 6C 69 73 74 30 30.webarchive (Safari) file format.webarchiveapplication/x-webarchive
50 4B 03 04Wheel (Python) file format.whlapplication/zip
4D 53 57 49 4D 00 00 00WIM (Windows Imaging) file format.wim .esd .swmapplication/x-ms-wim
50 4B 03 04XAPK file format.xapkapplication/x-xapk
78 61 72 21xar (eXtensible ARchive) file format.xarapplication/x-xar
50 4B 03 04XPI (Firefox Extension) file format.xpiapplication/x-xpinstall
FD 37 7A 58 5A 00XZ file format.xzapplication/x-xz
FD 37 7A 58 5A 00pixz (parallel indexed xz) file format.tpxzapplication/x-xz
(varies)zboot kernel file format.gz .lz4 .xzapplication/x-linux-zboot
50 4B 03 04ZIP file format.zipapplication/zip
50 4B 03 04ZIPX file format.zipxapplication/zip
78 9C / 78 DA / 78 01zlib file format.zz .zlibapplication/zlib
5A 4F 4F 20ZOO file format.zooapplication/x-zoo
7B 50 51ZPAQ file format.zpaqapplication/x-zpaq
28 B5 2F FDZstandard file format.zst .zstdapplication/zstd
28 B5 2F FDZstandard with dictionary file format.zstapplication/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.