File Type Detector

Detect true file types from magic bytes and flag MIME mismatches.

Find out what a file really is. Detect file types from magic bytes, catch MIME mismatches and ambiguity, sniff container formats, and flag risks like Office macros and polyglot files — a fast forensic check that runs entirely in the browser.

  • Detect file type from magic bytes
  • Flag MIME type mismatches and ambiguity
  • Container format sniffing
  • Risk flags for Office macros and polyglots
  • Private, in-browser analysis
chayprabs/magic-byte-detectorFull source code, issues, and releasesOpen →

Spotted a bug or have an idea?

This tool is built in the open and shaped by feedback. If something feels off — or you want a feature — I read every message.