45 supported binary & container signatures

File Signatures & Magic Bytes Reference

Searchable reference of 45 file signatures (magic bytes) in hex and ASCII—covering PNG, JPEG, HEIC, PDF, ZIP, DOCX, winmail.dat, Mach-O, PE and more.

Every file format below is detected directly from its internal bytes by File Sniff’s free local file type checker (assets/js/checker/detector.mjs). Select any format to inspect its hexadecimal and ASCII magic bytes, byte offset, MIME type, container structure, extension mismatch pitfalls, and compatible apps on Mac, iPhone, iPad and Windows.

FormatHex magic bytesASCII / markerOffsetExtensions & MIME

0.7z
application/x-7z-compressed

0 & 8.aiff, .aif, .aifc
audio/aiff

0 & 8.avi
video/x-msvideo

4.avif
image/avif

0.plist
application/x-plist

0.bmp, .dib
image/bmp

0.bz2, .tbz, .tbz2
application/x-bzip2

0.so, .elf, .bin, .o
application/x-executable

0 (ZIP) + Central Directory.xlsx, .xlsm, .xltx, .xltm
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

0.flac
audio/flac

0.gif
image/gif

0.gz, .tgz, .svgz
application/gzip

4.heic, .heif
image/heic

0.ico
image/x-icon

0.jpg, .jpeg, .jpe, .jfif
image/jpeg

4.m4a, .m4b
audio/mp4

0.dylib, .bundle, .so
application/x-mach-binary

0.midi, .mid
audio/midi

0.mp3
audio/mpeg

4.mp4, .m4v, .mp4v
video/mp4

0.ogg, .oga, .ogv, .opus
application/ogg

0.doc, .xls, .ppt, .msg, .msi
application/x-ole-storage

0.otf
font/otf

0.msg
application/vnd.ms-outlook

0.pdf
application/pdf

0.png
image/png

0 (ZIP) + Central Directory.pptx, .pptm, .ppsx, .ppsm, .potx
application/vnd.openxmlformats-officedocument.presentationml.presentation

0.psd
image/vnd.adobe.photoshop

4.mov, .qt
video/quicktime

0.rar
application/vnd.rar

0.rtf
application/rtf

0.sqlite, .sqlite3, .db
application/vnd.sqlite3

257.tar
application/x-tar

0.tiff, .tif
image/tiff

0.dat
application/vnd.ms-tnef

0 & 8.wav, .wave
audio/wav

0.wasm
application/wasm

0 & 8.webp
image/webp

0 & e_lfanew.exe, .dll, .scr, .sys, .cpl
application/vnd.microsoft.portable-executable

0.woff
font/woff

0.woff2
font/woff2

0 (ZIP) + Central Directory.docx, .docm, .dotx, .dotm
application/vnd.openxmlformats-officedocument.wordprocessingml.document

0.pkg, .xar, .mpkg
application/x-xar

0.xz, .txz
application/x-xz

0.zip, .epub, .jar, .apk, .ipa, .odt, .ods, .odp
application/zip

Got an unknown or mislabelled file?

Drop it into our free browser checker to compare its real magic bytes against its filename—nothing is uploaded.

Check a file’s real type ↗︎