Magic Bytes Identifier

Identify file types from magic bytes / file signatures. Drop a file or paste raw hex bytes.

Drag & drop a file here, or click to select
File never leaves your browser - all analysis runs locally
How it works

Files carry a "magic number" - a specific byte sequence at a known offset that identifies the file type. This tool compares the first bytes of your file against a database of 50+ known signatures.

Some types share magic bytes (e.g., ZIP and Office Open XML both start with PK\x03\x04). In those cases all possible types are shown. RIFF containers (WAV/AVI/WebP) start identically - further disambiguation requires checking bytes 8–11.