Developer tool / 100% free

MIME Type Detector

Identify a file's real type from its content signature rather than trusting the extension. A file named report.pdf can be anything at all, and the extension is the least reliable thing about it. It is free, needs no account, and adds no watermark to your result.

Built for: mime type detector

MIME Type Detector

Add your files. Recommended settings are ready, so you can process in one click.

Drop files here

PDF, Word, images, audio, video, archives and more

Up to 100 files · 250 MB · No account
  1. 1Add files
  2. 2Choose an action
  3. 3Download or keep going
Private by default. Selected files upload only for server actions.Privacy details
When you need this

What people use it for.

Checking what an unexpected attachment actually is before opening it
Identifying a file whose extension is missing or wrong
Verifying uploads in a workflow where the extension cannot be trusted
How it works

What happens to your file.

The leading bytes are matched against known format signatures, and where the format is parsable the structure is inspected to confirm, then compared against what the extension claims.

What this tool includes

Everything you need, without a paywall.

Free Pro batch queue included
Magic-byte detection
Extension comparison
MIME guess
JSON output
Questions

Common questions.

Why not just trust the extension?

The extension is metadata anyone can change. Renaming a file does not alter its contents, which is exactly how mislabelled and malicious files get opened.

What does a mismatch mean?

The content does not match the claimed type. Sometimes that is a harmless rename, such as a JPEG saved as .png. Sometimes it is deliberate disguise.

Can it identify any file type?

It recognises common document, image, archive and media formats by signature. Unknown or proprietary formats are reported as generic binary data.

Related free tools

You might also need.