File Type Detector

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

About this tool

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.

What it does

  • 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

Repository

chayprabs/magic-byte-detector

Source code, issues, and releases

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.

Related tools