File type by signature
Inspect up to the first 4096 bytes locally and compare the signature with the filename and browser-reported MIME. The file is never uploaded.
- Filename
- Recognized signature
- Browser-reported MIME
- Filename extension
- Extension comparison
- MIME comparison
ZIP container only: this does not confirm an Office or ebook subtype, document validity or absence of macros.
A signature does not validate the entire format or prove a file is free of malware. Unknown means unsupported, incomplete or unrecognized; it does not mean safe.
Example: a PNG named photo.exe has a PNG signature but an inconsistent extension. This is a discrepancy, not a malware verdict.
PNG: 89 50 4E 47 0D 0A 1A 0A