File Signature Inspector
Inspect the first 512 bytes of selected files and compare them with known magic-byte signatures. Results are best-effort format hints, not a security verdict; unknown and extensionless files are supported. Files stay on your device.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Drop files here, or browse
Files stay on your device.
Ctrl+V to paste an image
Drop files above to begin
Your files are processed on this device and never uploaded.
How it works
What the File Signature Inspector does
For each file it reads the first 512 bytes, compares them with known magic-number signatures, and reports the format, likely MIME type, size and a 16-byte hex preview. Matches cover PNG, JPEG, WebP, PDF, ZIP, GZIP, SQLite, ELF, WASM, MP3 and about twenty more. Extensionless files work too, so a file renamed to .bin is still identified.
When to use it
Use it when a download arrives with a missing or misleading extension and you need to know what to open it with, or to confirm that an export really produced the format you asked for. Read the result as a hint: leading bytes are strong evidence, but the tool never parses the rest of the file.
Reading the output columns
The extension check compares the signature with the file name: Matches, Differs, or Unverified when nothing was recognised. DOCX, XLSX and PPTX are all reported as ZIP, since they are ZIP containers; WebP, WAV and AIFF are only confirmed when the four identifying bytes after the RIFF header are present.
Limits and odd cases
Only the listed formats are detected; anything else reads as Unknown. A truncated file can still match its header. MP3 is spotted by an ID3 tag or a raw frame sync word, and MP4 files take their label from the brand text, so the container may appear as QuickTime movie or MPEG-4 audio or video.
Nothing leaves your device
Detection runs entirely in your browser. Only 512 bytes per file are read, nothing is uploaded, and the tool works offline, so confidential files stay on the machine.
Questions
What does a signature match prove?
A match suggests a file format based on its leading bytes. It does not validate the whole file, prove the file is safe, or guarantee that the extension matches its contents.
How much of each file is read?
At most the first 512 bytes. Detection is quick even for large files; formats whose identifiers occur later in a file may be reported as unknown.
Why might a ZIP-based document be reported as ZIP?
DOCX, XLSX, PPTX, and other package formats use ZIP containers. Distinguishing them requires inspecting archive entries; this tool reports the container signature only.
Related tools
See categoryFile Hash / Checksum
Compute SHA-256/384/512 and SHA-1 checksums for one or more files.
MIME Type Lookup
Look up the MIME type for an extension, or the extensions for a MIME type.
ASAR Archive Inspector
Read an Electron ASAR archive on-device: header size, the file tree encoded in the pickle header, sizes and offsets.
Compressed File Inspector
Identify zstd, xz, bzip2, gzip, lz4 and brotli files and read their headers, sizes and checksums.