This is a list of file signatures, data used to identify or verify the content of a file. Such signatures are also known as magic numbers and are further explained in the Magic number (programming) article.
Many binary file formats are not intended to be read as text. If such a file is accidentally viewed as a text file, its contents will be unintelligible. However, sometimes the file signature can be recognizable when interpreted as text. The column ISO 8859-1 shows how the file signature appears when interpreted as text in the common ISO 8859-1 encoding.
|
00 | . | 0 | PIC
PIF SEA YTR | IBM Storyboard bitmap file
Windows Program Information File Mac Stuffit Self-Extracting Archive IRIS OCR data file |
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
| ........
........ ........ | 11 | PDB | Palmpilot Database/Document File |
BE BA FE CA | ... | 0 | DBA | Palm Desktop Calendar Archive |
00 01 42 44 | ... | 0 | DBA | Palm Desktop To Do Archive |
00 01 44 54 | ... | 0 | TDA | Palm Desktop Calendar Archive |
00 01 00 00 | ... | 0 | ... | Palm Desktop Data File (Access format) |
00 00 01 00 | .... | 0 | ico | Computer icon encoded in ICO file format[1] |
00 00 00 nn 66 74 79 70
33 67 70 | ....ftyp
3gp | 0 | 3GG, 3GP, 3G2 | 3rd Generation Partnership Project 3GPP (nn=0x14) and 3GPP2 (nn=0x20) multimedia files |
00 00 00 nn 66 74 79 70
33 67 70 35 | ....ftyp
3gp5 | 0 | MP4 | MPEG-4 video files |
1F 9D | .. | 0 | z, tar.z | compressed file (often tar zip)
using Lempel-Ziv-Welch algorithm |
1F A0 | .. | 0 | z, tar.z | Compressed file (often tar zip)
using LZH algorithm |
47 49 46 38 37 61 47 49 46 38 39 61 | GIF87a GIF89a | 0 | gif | Image file encoded in the Graphics Interchange Format (GIF)[2] |
49 49 2A 00 4D 4D 00 2A | II*. MM* | 0 | tif, tiff | Tagged Image File Format |
4D 5A | MZ | 0 | exe | DOS MZ executable file format and its descendants (including NE and PE) |
50 4B 03 04, 50 4B 05 06 (empty archive) or 50 4B 07 08 (spanned archive) | PK.. | 0 | zip | zip file format |
52 61 72 21 1A 07 00 | Rar!... | 0 | rar | RAR archive version 1.50 onwards[3] |
7F 45 4C 46 | .ELF | 0 | | Executable and Linkable Format |
89 50 4E 47 0D 0A 1A 0A | .PNG.... | 0 | png | Image encoded in the Portable Network Graphics format[4] |
CA FE BA BE | Êþº¾ | 0 | class | Java class file, Mach-O Fat Binary |
EF BB BF |  | 0 | | UTF-8 encoded Unicode byte order mark, commonly seen in text files. |
FE ED FA CE | ........ | 0 or typically 0x1000 | | Mach-O binary (32-bit) |
FE ED FA CF | ........ | 0 or typically 0x1000 | | Mach-O binary (64-bit) |
CE FA ED FE | ........ | 0 | | Mach-O binary (reverse byte ordering scheme, 32-bit)[5] |
CF FA ED FE | ........ | 0 | | Mach-O binary (reverse byte ordering scheme, 64-bit)[6] |
FF FE | .. | 0 | | Byte-order mark for text file encoded in little-endian 16-bit Unicode Transfer Format |
FF FE 00 00 | .... | 0 | | Byte-order mark for text file encoded in little-endian 32-bit Unicode Transfer Format |
25 50 44 46 | %PDF | 0 | pdf | PDF documents |
30 26 B2 75 8E 66 CF 11 A6 D9 00 AA 00 62 CE 6C | 0&²u.fÏ. ¦Ù.ª.bÎl | 0 | asf, wma, wmv | Advanced Systems Format[7] |
24 53 44 49 30 30 30 31 | $SDI0001 | 0 | | System Deployment Image, a disk image format used by Microsoft |
4F 67 67 53 | oggS | 0 | ogg, oga | Ogg Vorbis, an open source audio container format |
38 42 50 53 | 8BPS | 0 | psd | Photoshop Document file, Adobe Photoshop's native file format |
FF FB | ˙ű | 0 | mp3 | MPEG-1 Layer 3 file without an ID3 tag or with an ID3v1 tag (which's appended at the end of the file) |
49 44 33 | ID3 | 0 | mp3 | MP3 file with an ID3v2 container |
42 4D | BM | 0 | bmp, dib | BMP file, a bitmap format used mostly in the Windows world |
43 44 30 30 31 | CD001 | 32769, 34817 or 36865 | iso | ISO9660 CD/DVD image file[8] |
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 54 | SIMPLE = & nbsp; &n bsp; T | 0 | fits | Flexible Image Transport System (FITS)[9] |
See also
References
- ^ Icons (at MSDN)
- ^ GRAPHICS INTERCHANGE FORMAT(sm) Version 89a
- ^ "TechNote.txt: RAR version 4.00 - Technical information". 2010-12-01. "The marker block is actually considered as a fixed byte sequence: 0x52 0x61 0x72 0x21 0x1a 0x07 0x00"
- ^ PNG (Portable Network Graphics) Specification Version 1.0
- ^ OS X ABI Mach-O File Format Reference
- ^ OS X ABI Mach-O File Format Reference
- ^ "ASF (Advanced Systems Format)". http://www.digitalpreservation.gov/fo rmats/fdd/fdd000067.shtml.
- ^ Gary C. Kessler (21 October 2012). "File Signatures Table". http://www.garykessler.net/library/fi le_sigs.html. Retrieved 28 December 2012.
- ^ "Flexible Image Transport System (FITS), Version 3.0 - File type signifiers". Template:2012-9-26. http://www.digitalpreservation.gov/fo rmats/fdd/fdd000317.shtml#sign. Retrieved 24 January 2013.
External links