Reference Source

File format magic numbers

The leading bytes (magic number / file signature) that identify a file format, with its usual extension. Answers 'what actually is this file' when the extension is wrong or missing.

Records229
Sources1
Verified2026-08-03
Review by2027-08-03
LicenceCC BY-SA 4.0 (source: Wikipedia)

The data

Hex signatureOffsetFormatExtension
0 00 00 00 010BOBO
00 00 02 00 06 04 06 00 08 00 00 00 00 000
30 37 30 37 30 310cpio070701
30 37 30 37 30 320cpio070702
30 37 30 37 30 370cpio070707
23 25 4D 6F 64 75 6C 6523Modulefile for Environment Modules
2D 2D 2D 2D 2D 42 45 47 49 4E 20 43 45 52 54 49 46 49 43 41 54 45 2D 2D 2D 2D 2D0-----BEGIN CERTIFICATE-----
2D 2D 2D 2D 2D 42 45 47 49 4E 20 4F 50 45 4E 53 53 48 20 50 52 49 56 41 54 45 20 4B 45 59 2D 2D 2D 2D 2D0<https://en.wikipedia.org/wiki/OpenSSH> OpenSSH private key file
66 74 79 70 33 6743rd Generation Partnership Project 3GPP and 3GPP2 multimedia files3gp 3g2
42 53 44 49 46 46 34 300bsdiff binary patch
44 43 4D 01 50 41 33 30 50 41 33 300Windows Update Binary Delta Compression file
45 52 02 00 00 000ER␂␀␀␀
4A 6F 79 210Preferred Executable Format
52 4E 43 01 52 4E 43 020Compressed file using Rob Northen Compression (version 1 and 2) algorithm
62 6F 6F 6B0macOS bookmark format
37 7a BC AF 27 1C07-Zip File Format7z
8B 45 52 02 00 00 000‹ER␂␀␀␀
46 4F 52 4D ?? ?? ?? ?? 8SVX0 anyIFF 8-Bit Sampled Voice8svx 8sv svx snd iff
AC EDACSerialized Java Data
46 4F 52 4D ?? ?? ?? ?? ACBM0 anyAmiga Contiguous Bitmapacbmfiff
2A 2A 41 43 45 2A 2A7ACE (compressed file format)ace
41 46 460Advanced Forensics Formataff
46 4F 52 4D ?? ?? ?? ?? 41 49 46 460Audio Interchange File Formataiff
62 6F 6F 6B 00 00 00 00 6D 61 72 6B 00 00 00 000macOS file Aliasalias
46 4F 52 4D ?? ?? ?? ?? ANBM0 anyIFF Animated Bitmapanbm iff
52 49 46 46 ?? ?? ?? ?? 41 43 4F 4E0Animated cursorani
46 4F 52 4D ?? ?? ?? ?? ANIM0 anyIFF CEL Animationanim iff
60 EA0ARJarj
30 26 B2 75 8E 66 CF 11 A6 D9 00 AA 00 62 CE 6C0Advanced Systems Formatasf wma wmv
2E 73 6E 642EAu audio file formatau snd
4F 62 6A 010Apache Avro binary file formatavro
42 41 43 4B 4D 49 4B 45 44 49 53 4B0AmiBack Amiga Backup data filebac
42 4C 45 4E 44 45 5242Blender File Formatblend
42 50 47 FB0Better Portable Graphics formatbpg
6D 61 69 6E 2E 62 730main.bsbs
42 5A 680Compressed file using Bzip2 algorithmbz2
49 53 63 280InstallShield CAB Archive Filecab
4D 53 43 460Microsoft Cabinet filecab
52 49 46 46 ?? ?? ?? ?? 43 44 44 410.cda filecda
43 44 30 30 310CD-i CD image filecdi
49 54 53 46 03 00 00 00 60 00 00 000MS Windows HtmlHelp Datachm
80 2A 5F D70Kodak Cineon imagecin
CA FE BA BE0<https://en.wikipedia.org/wiki/Java_class_file> Java class file , <https://en.wikipedia.org/wiki/Fat_binary#Apple> Mach-O Fat Binaryclass
46 4F 52 4D ?? ?? ?? ?? 43 4D 55 530Musical Scorecmus
C90<https://en.wikipedia.org/wiki/COM_file_(CP/M)> CP/M 3 and higher with overlayscom
49 49 2A 00 10 00 00 00 43 520Canon RAW Format Version 2cr2
66 74 79 70 63 72 78 43 520Canon RAW Format Version 3cr3
43 36 34 20 43 41 52 54 52 49 44 47 45 20 20 200Commodore 64 cartridge imagecrt
43 72 32 340Google Chrome extension [ 48 ] or packaged app [ 49 ]crx
2D 2D 2D 2D 2D 42 45 47 49 4E 20 43 45 52 54 49 46 49 43 41 54 45 20 52 45 51 55 45 53 54 2D 2D 2D 2D 2D0PEM encoded X.509 Certificate Signing Requestcsr
02 00 5a 57 52 54 00 00 00 00 00 00 00 00 00 000Claris Works word processing doccwk
05 07 00 00 42 4F 42 4F 05 07 00 00 00 00 00 00 00 00 00 00 00 010AppleWorks 5 documentcwk
06 07 E1 00 42 4F 42 4F 06 07 E1 00 00 00 00 00 00 00 00 00 00 010AppleWorks 6 documentcwk
A0 32 41 A0 A0 A00x165A4Commodore 64 1541 disk image (D64 format)d64
A0 33 44 A0 A00x61819Commodore 64 1581 disk image (D81 format)d81
44 41 4144Direct Access Archive PowerISOdaa
50 4D 4F 43 43 4D 4F 430Windows Files And Settings Transfer Repositorydat
72 65 67 6672Windows Registry filedat hiv
DB 0A CE 00DBOpenGL Iris Perfomer .PFB (Performer Fast Binary)
44 49 43 4D128<https://en.wikipedia.org/wiki/DICOM> DICOM Medical File Formatdcm
52 49 46 58 ?? ?? ?? ?? 46 47 44 4D (big-endian)0Adobe Shockwavedcr
64 65 78 0A 30 33 35 000Dalvik Executabledex
52 49 46 58 ?? ?? ?? ?? 4D 56 39 33 (big-endian)0Macromedia Director file formatdir dxr drx
41 54 26 54 46 4F 52 4D ?? ?? ?? ?? 44 4A 560DjVu documentdjv
41 54 26 54 46 4F 52 4D ?? ?? ?? ?? 44 4A 560DjVu documentdjvu djv
6B 6F 6C 790Apple Disk Image filedmg
D0 CF 11 E00DOCFILEdoc
D0 CF 11 E0 A1 B1 1A E10Compound File Binary Format , a container format defined by Microsoft COM. It can contain the equivalent of files and directories. It is used by <https://en.wikipedia.org/wiki/Windows_Installer> Windows Installer and for documents in older versions of <https://en.wikipedia.org/wiki/Microsoft_Office> Microsoft Office . [ 44 ] It can be used by other programs as well that rely on the COM and OLE API's. ( 0xD0CF11E0 visually resembles "DOCFILE". [ 45 ] )doc xls ppt msi msg
53 44 50 580SMPTE DPX imagedpx
44 52 41 43 4F443D model compressed with Google Dracodrc
44 55 43 4b8DuckDB database fileduck
e0 01 00 ea0Ion (serialization format) binary encoding
45 56 460EnCase EWF version 1 formate01
2d 45 35 370ASTM E57 3D file formate57
7F 45 4C 460ELFelf
52 65 63 65 69 76 65 64 3A0Email Message var5eml
25 21 50 53 2D 41 64 6F 62 65 2D 33 2E 30 20 45 50 53 46 2D 33 2E 300Encapsulated PostScript file version 3.0eps epsf
25 21 50 53 2D 41 64 6F 62 65 2D 33 2E 31 20 45 50 53 46 2D 33 2E 300Encapsulated PostScript file version 3.1eps epsf
4C 66 4C 654CWindows Event Viewer file formatevt
45 6C 66 46 69 6C 6545Windows Event Viewer XML file formatevtx
45 56 46 320EnCase EWF version 2 formatEx01
4D 5A0DOS MZ executableexe
5A 4D0DOS ZM executableexe
76 2F 31 010OpenEXR imageexr
45 4D 58 320Emulator Emaxsynth samplesez2
45 4D 55 330Emulator III synth samplesez3 iso
46 4F 52 4D ?? ?? ?? ?? 46 41 4E 540Fantavision Moviefant
46 41 58 580Facsimile Imagefax
46 4F 52 4D ?? ?? ?? ?? FAXX0 anyIFF Facsimile Imagefaxx fax iff
41 47 44 330FreeHand 8 document [ 50 ] [ 51 ]fh8
53 49 4D 50 4C 45 20 20 3D 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 540Flexible Image Transport System ( <https://en.wikipedia.org/wiki/FITS> FITS ) [ 41 ]fits
66 4C 61 430FLACflac
46 4C 49 460Free Lossless Image Formatflif
46 4C 560Flash Video fileflv
46 4F 52 4D ?? ?? ?? ?? 46 54 58 540Formatted Textftxt
46 4F 52 4D ?? ?? ?? ?? FTXT0 anyIFF Formatted Textftxt iff
47 53 52 2D 31 35 34 310Commodore 64 1541 disk image (G64 format)g64
47 49 46 38 37 61 47 49 46 38 39 610Image file encoded in Graphics Interchange Format (GIF)gif
67 6c 54 460glTF fileglb
47 52 49 4247Gridded data (commonly weather observations or forecasts) in the WMO GRIB or GRIB2 formatgrib grib2
50 4D 43 4350Windows 3.x Program Manager Program Group file formatgrp
1F 8B0GZIP compressed filegz
0E 03 13 010Data stored in version 4 of the <https://en.wikipedia.org/wiki/Hierarchical_Data_Format> Hierarchical Data Format .hdf4 h4
89 48 44 46 0D 0A 1A 0A0, 512, 1024, 2048, ...Data stored in version 5 of the <https://en.wikipedia.org/wiki/Hierarchical_Data_Format> Hierarchical Data Format .hdf5 h5
66 74 79 70 68 65 69 63 66 74 79 70 6d4High Efficiency Image Container (HEIC)heic
00 00 00 18 66 74 79 70 68 65 69 63 00 00 00 000Apple HEIF image fileheif
3F 5F0Windows 3.x/95/98 Help filehlp
4B 43 4D 534BICC profileicm
69 63 6e 730Apple Icon Image formaticns
00 00 01 000Computer icon encoded in ICO file formatico
00 01 00 000Computer icon encoded in ICO file formatico
5B 5A 6F 6E 65 54 72 61 6E 73 66 65 72 5D0Microsoft Zone Identifier for URL Security ZonesIdentifier
49 4E 44 580AmiBack Amiga Backup index fileidx
46 4F 52 4D ?? ?? ?? ?? 49 4C 42 4D0 anyIFF ILBM Interleaved Bitmap Imageilbm lbm ibm iff
24 53 44 49 30 30 30 310ISO9660 CD/DVD image fileiso
49 73 5A 2149Compressed ISO imageisz
2B 2F 76 38 2B 2F 76 39 2B 2F 76 2B 2B 2F 76 2F0<https://en.wikipedia.org/wiki/UTF-7> UTF-7 byte order mark for text [ 31 ] [ 30 ]|
4B 57 41 4A0Windows 3.1x Compressed File??_
53 5A 44 440Windows 9x Compressed File??_
53 5A 44 44 88 F0 27 330Microsoft compressed file in Quantum format?? _
CE FA ED FE0Mach-O binary (reverse byte ordering scheme, 32-bit) [ 33 ]|
CF FA ED FE0Mach-O binary (reverse byte ordering scheme, 64-bit) [ 33 ]|
DD 73 66 730<https://en.wikipedia.org/wiki/UTF-EBCDIC> UTF-EBCDIC byte order mark for text [ 31 ] [ 30 ]|
FE ED FA CE0 0x1000<https://en.wikipedia.org/wiki/Mach-O> Mach-O binary (32-bit)|
FE ED FA CF0 0x1000Mach-O binary (64-bit)|
FE ED FE ED0JKS Javakey Store [ 32 ]|
4c 50 4b 53 48 48 52 480journald log filejournal
00 00 00 0C 6A 50 20 20 0D 0A 87 0A0JPEG 2000 formatjp2 j2k jpf jpm jpg2 j2c jpc jpx mj2
FF D8 FF E0 00 10 4A 46 49 46 00 010JPEG raw or in the JFIF or Exif file formatjpg
FF D8 FF DB0JPEG raw or in the JFIF or Exif file formatjpg jpeg
00 00 00 0C 4A 58 4C 20 0D 0A 87 0A0Image encoded in the JPEG XL formatjxl
37 48 03 02 00 00 00 00 58 35 30 39 4B 45 590KDB filekdb
2D 2D 2D 2D 2D 42 45 47 49 4E 20 44 53 41 20 50 52 49 56 41 54 45 20 4B 45 59 2D 2D 2D 2D 2D0PEM encoded X.509 PKCS#1 DSA private keykey
2D 2D 2D 2D 2D 42 45 47 49 4E 20 50 52 49 56 41 54 45 20 4B 45 59 2D 2D 2D 2D 2D0PEM encoded X.509 PKCS#8 private keykey
2D 2D 2D 2D 2D 42 45 47 49 4E 20 52 53 41 20 50 52 49 56 41 54 45 20 4B 45 59 2D 2D 2D 2D 2D0PEM encoded X.509 PKCS#1 RSA private keykey
1B 4C 75 610Lua bytecodeluac
4C 5A 49 500lzip compressed filelz
04 22 4D 180LZ4 Frame Formatlz4
2D 6C 68 30 2D2Lempel Ziv Huffman archive file Method 0 (No compression)lzh
2D 6C 68 35 2D2Lempel Ziv Huffman archive file Method 5 (8 KiB sliding window)lzh
CF FA ED FE0Mach-O binary (reverse byte ordering scheme, 64-bit)macho
6D 61 69 6E 2E 62 730Nintendo Game & Watch image filemgw
4D 54 68 640MIDI sound file [ 43 ]mid midi
1A 45 DF A30Matroska media containermkv mka mks mk3d webm
4D 4C 56 490Magic Lantern Video fileMLV
4E 45 530Nintendo Entertainment System image filenes
4E 45 53 1A0Nintendo Entertainment System ROM filenes
7F 45 4C 460Executable and Linkable Formatnone, .axf, .bin, .elf, .o, .out, .prx, .puff, .ko, .mod, .so
4E 55 52 55 49 4D 47 4E 55 52 55 50 41 4C0nuru ASCII/ANSI image and palette filesnui nup
4F 41 52 ??0OAR file archive formatoar
4F 52 430Apache ORC (Optimized Row Columnar) file formatorc
4F 54 54 4F4FOpenType fontotf
43 36 34 46 69 6c 65 000Commodore 64 binary filep00
65 87 78 560PhotoCap Object Templatesp25 obt
50 41 52 310Apache Parquet columnar file formatpar1
50 31 0A0Portable bitmap ASCIIpbm
50 34 0A0Portable bitmap binarypbm
78 56 340PhotoCap Templatepbt pdt pea peb pet pgt pict pjt pkt pmt
55 55 AA AA0PhotoCap Vectorpcv
25 50 44 46 2D0PDF documentpdf
50 32 0A0Portable Gray Map ASCIIpgm
50 35 0A0Portable Gray Map binarypgm
85 ?? ?? 030PGP filepgp
62 70 6C 69 73 740Binary Property List fileplist
89 50 4E 47 0D 0A 1A 0A0Image encoded in the <https://en.wikipedia.org/wiki/Portable_Network_Graphics> Portable Network Graphics formatpng
50 75 54 54 59 2D 55 73 65 72 2D 4B 65 79 2D 46 69 6C 65 2D 32 3A0<https://en.wikipedia.org/wiki/PuTTY> PuTTY private key file version 2ppk
50 75 54 54 59 2D 55 73 65 72 2D 4B 65 79 2D 46 69 6C 65 2D 33 3A0<https://en.wikipedia.org/wiki/PuTTY> PuTTY private key file version 3ppk
50 33 0A0Portable Pixmap ASCIIppm
50 36 0A0Portable Pixmap binaryppm
25 21 50 530PostScript documentps
21 42 44 4E21Microsoft Outlook Personal Storage Table filepst
2D 2D 2D 2D 2D 42 45 47 49 4E 20 53 53 48 32 20 4B 45 59 2D 2D 2D 2D 2D0<https://en.wikipedia.org/wiki/OpenSSH> OpenSSH public key filepub
51 46 490qcow file formatqcow
52 49 46 46 ?? ?? ?? ?? 51 4C 43 4D0Qualcomm PureVoice file formatqcp
FF 4F FF 510QOI - The “Quite OK Image Format”qoif
52 61 72 21 1A 07 000Roshal ARchive compressed archive v1.50 onwardsrar
52 61 72 21 1A 07 01 000Roshal ARchive compressed archive v5.00 onwardsrar
3C 72 6F 62 6C 6F 78 210Roblox place filerbxl
52 53 56 4B 44 41 54 410QuickZip rs compressed archivers
73 64 62 6673Windows customized databasesdb
53 45 51 360RCFile columnar file formatseq6
21 2D 31 53 4C 4F 42 1F21Slob (sorted list of Object storages ) is a read-only, compressed data store with dictionary-like interfaceslob
3A 29 0A0Smile filesml
53 4D 53 4E 46 32 30 300SmartSniff Packets Filesmsnf200
46 4F 52 4D ?? ?? ?? ?? 53 4D 55 530Simple Musical Scoresmus
46 4F 52 4D ?? ?? ?? ?? SMUS0 anyIFF Formatted Textsmus smu mus iff
4D 49 4C 200"SEAN : Session Analysis" Training filestg
aa aa aa aa0Crowdstrike Channel Filesys
43 36 34 20 74 61 70 65 20 69 6D 61 67 65 20 66 69 6C 650Commodore 64 tape image filet64
75 73 74 61 72 00 30 30 75 73 74 61 72 20 20 00257tar archivetar
20 02 01 62 A0 1E AB 07 02 00 00 000Tableau Datasourcetde
54 44 45 460Telegram Desktop Encrypted Filetdf
49 49 2A 000Tagged Image File Format (TIFF)tif tiff
49 49 2B 000BigTIFFtif tiff
4D 4D 00 2A0Tagged Image File Format (TIFF)tif tiff
4D 4D 00 2B0BigTIFFtif tiff
74 6F 78 330Open source portable voxel filetox
FF 0AFFTrueType fontttf tte dfont
00 00 FE FF0<https://en.wikipedia.org/wiki/UTF-32BE> UTF-32BE byte order mark for text [ 28 ] [ 30 ]txt others
0E FE FF0<https://en.wikipedia.org/wiki/Standard_Compression_Scheme_for_Unicode> SCSU byte order mark for text [ 31 ] [ 30 ]txt others
EF BB BF0<https://en.wikipedia.org/wiki/UTF-8> UTF-8 <https://en.wikipedia.org/wiki/Byte_order_mark> byte order mark , commonly seen in text files. [ 28 ] [ 29 ] [ 30 ]txt others
FE FF0<https://en.wikipedia.org/wiki/UTF-16BE> UTF-16BE byte order mark, commonly seen in text files. [ 28 ] [ 29 ] [ 30 ]txt others
FF FE0<https://en.wikipedia.org/wiki/UTF-16LE> UTF-16LE byte order mark, commonly seen in text files. [ 28 ] [ 29 ] [ 30 ]txt others
FF FE 00 000<https://en.wikipedia.org/wiki/UTF-32LE> UTF-32LE byte order mark for text [ 28 ] [ 30 ]txt others
8c 0a 000Unreal Engine Compressed Asset Storage fileucas
2d 3d 3d 2d 2d 3d 3d 2d 2d 3d 3d 2d 2d 3d 3d 2d0Unreal Engine Table of Contents fileutoc
3C 3C 3C 20 4F 72 61 63 6C 65 20 56 4D 20 56 69 72 74 75 61 6C 42 6F 78 20 44 69 73 6B 20 49 6D 61 67 65 20 3E 3E 3E0VirtualBox Virtual Hard Disk file formatvdi
63 6F 6E 65 63 74 69 7863Windows Virtual PC Virtual Hard Disk file formatvhd
76 68 64 78 66 69 6C 6576Windows Virtual PC Windows 8 Virtual Hard Disk file formatvhdxfile
23 20 44 69 73 6B 20 44 65 73 63 72 69 70 74 6F0VMware 4 Virtual Disk description file (split disk)vmdk
4B 44 4D0VMDK files [ 46 ] [ 47 ]vmdk
43 72 65 61 74 69 76 65 20 56 6F 69 63 65 20 46 69 6C 6543Creative Voice filevoc
34 12 AA 550VPK file, used to store game data for some Source Engine gamesvpk
4D 53 57 49 4D 00 00 00 D0 00 00 00 004DWindows Imaging Format filewim swm esd
D7 CD C6 9A0Windows Metafilewmf
77 4F 46 460woffwoff
78 61 72 210eXtensible ARchive formatxar
67 69 6D 70 20 78 63 660XCF (file format)xcf
58 46 49 52 ?? ?? ?? ?? 33 39 56 4D (little-endian)0XFIR ???? 39VM
58 46 49 52 ?? ?? ?? ?? 4D 44 47 46 (little-endian)0XFIR ???? MDGF
58 50 44 530SMPTE DPX imagexpds
2F 2A 20 58 50 4D 20 2A 2F0X PixMapxpm
FD 37 7a 58 5A 000XZ compression utility using LZMA2 compressionxz
46 4F 52 4D ?? ?? ?? ?? 59 55 56 4E0YUV Imageyuvn
1F 9D0compressed file (often tar zip) using Lempel-Ziv-Welch algorithmz tar.z
1F A00compressed file (often tar zip) using LZH algorithmz tar.z
50 4B 03 04 50 4B 05 06 (empty archive) 50 4B 07 08 (spanned archive)0zip file formatzip
5A 4F 4F0Zoo (file format)zoo
28 B5 2F FD0Zstandard compresszst

Where this came from

Every record above links the page it was taken from and quotes the sentence that states it. These are the 1 source this dataset was assembled from.

Machine-readable

229 records. Licence: CC BY-SA 4.0 (source: Wikipedia). Last verified against source: 2026-08-03. Scheduled for re-check by: 2027-08-03.