File Magic Byte Identifier
Identify the real file type from magic-byte signatures in your browser.
Loading tool...
What is File Magic Byte Identifier?
A magic byte identifier reads the first bytes of a file, its file signature, and matches them against a database of known formats like PDF, PNG, ZIP, MP4, ELF, and SQLite. It then compares the detected type with the file extension to reveal renamed or disguised files, entirely offline in your browser.
Key Benefits
- Reveals the true format regardless of the file name
- Catches renamed executables and disguised archives
- Runs fully offline with no uploads and no network calls
- Hex header view for debugging corrupted files
Common Use Cases
- β’Screening email attachments and downloads before opening them
- β’Verifying user uploads in QA and security reviews
- β’Debugging files with wrong extensions in data pipelines
- β’Forensic triage of unknown files without special software
Identify a File by Its Actual Content
- Add your files: Drag and drop files onto the panel or use the file picker β multiple files are supported and nothing leaves your browser.
- Read the detection result: Each file shows the detected type name, MIME type, candidate extensions, and size, based on the first 4 KB of actual content rather than the filename.
- Check the extension match: The Match, Mismatch, or Unknown badge compares real content with the declared extension, and the hex preview shows the leading bytes behind the verdict.
- Save the report: Press Download report to export file-detection-report.txt with every file, its detected type, and its status for your records or a security ticket.
Key Features
- Detects 40+ file formats from magic-byte signatures, fully offline
- Spots fake or renamed extensions with a clear match / mismatch verdict
- Batch mode: scan multiple files at once with per-file results
- Hex view of the first 32 header bytes of every file
- Copy or download a plain-text detection report