filestructures
A list of all filetypes with their header and footer values
This repo is a curated list of all possible file types with their headers.
Please use following format
Audio
File Type |
Header |
Footer |
AU |
0x2E 0x73 0x6E 0x64 |
none |
MIDI |
0x4D 0x54 0x68 0x64 |
none |
MMF |
0x4D 0x4D 0x4D 0x44 |
none |
MPEG4 (M4A) |
0x4D 0x34 0x41 0x20 |
none |
MPEG4 (M4B) |
0x4D 0x34 0x42 0x20 |
none |
MPEG4 (M4P) |
0x4D 0x34 0x50 0x20 |
none |
OGG |
0x4F 0x67 0x67 0x53 |
none |
WAV |
0x52 0x49 0x46 0x46 |
none |
Pictures
File Type |
Header |
Footer |
BMP |
0x42 0x4D |
none |
GIF |
0x47 0x49 0x46 0x38 |
0x00 0x00 0x3B |
JPEG |
0xFF 0xD8 0xFF |
0xFF 0xD9 |
JP |
0x6A 0x50 0x20 0x20 |
none |
JP2 |
0x6A 0x50 0x32 0x20 |
none |
RIFF |
0x52 0x49 0x46 0x46 |
none |
Video
File Type |
Header |
Footer |
MP4 |
0x6D 0x6D 0x70 0x34 |
none |
Contribution Guidelines
- Star this repo
- Fork this repo
- Add filetype with its header and footer(if any)
- Send PR