How the File Type Detector Works
AnyTool reads only the first header slice of a dropped file in the browser and matches its magic-byte signature to the true format, MIME type, and canonical extension, then warns when the real type differs from the file extension. It detects 400+ binary formats via the file-type engine and adds in-house heuristics for text formats it skips (JSON, XML, SVG, CSV, HTML), disambiguates ZIP-based containers (docx/xlsx/jar/apk/epub) by inspecting entry names, and shows a hex viewer with the matched signature highlighted.
- True format from magic bytes, not extension
- MIME type, canonical extension, mismatch warning
- 400+ binary formats plus text heuristics
- Container disambiguation (docx/jar/apk/epub)
- Hex header viewer with matched bytes highlighted
