Magic Byte Header & True File Type Identifier
Detect real file types, spoofed extensions, and MIME types from binary headers.
File Type & Magic Byte Inspector
Detect actual file formats from binary header signatures (magic bytes) to catch extension spoofing and disguise attacks.
Select any file to inspect header signature or browse
-
-
-
About the Magic Byte & File Type Identifier
Inspects the leading magic byte signatures of a file to determine its authentic file format, ignoring potentially spoofed file extensions (.jpg, .exe, .pdf).
How to Use
Upload any file or enter hexadecimal header bytes to identify the true MIME type and format specification.
Understanding Results
Protects against malicious payloads disguised as safe images (e.g. an executable renamed to .png).
Frequently Asked Questions
What are magic bytes?
The first few bytes of a binary file that act as a unique digital signature identifying the file format.
Related Developer Utilities Utilities
Verify file integrity, detect tampering, and calculate cryptographic checksums.
Encode and decode standard and URL-safe Base64 strings and image data URIs.
Strip GPS coordinates, camera serial numbers, date taken, and author info from photos.
Convert images between modern WebP, lossless PNG, and compressed JPEG formats.