Skip to content
M2TOOLKIT

File Type Checker

Find out what a file really is — even if its extension is wrong or missing.

  • Free
  • No sign-up
  • Files stay on your device

or drag and drop it here

Only the first few kilobytes are read, on your device

Your files are processed entirely in your browser using built-in web technologies. They are not uploaded to our servers, and closing the page clears them from memory.

How to use the File Type Checker

  1. Choose a file.
  2. Read the detected type and MIME type.
  3. Check the warning if the extension doesn't match.

What does this tool do?

Most file formats start with a recognizable signature, called a “magic number” — PDFs begin with %PDF and PNGs with a fixed 8-byte header. The checker reads only the first few kilobytes and compares them against dozens of known signatures.

Why use it?

  • Open files with no extension.
  • Spot programs disguised as documents.
  • Debug upload errors caused by wrong file types.

Example

A file called “invoice.pdf” that starts with “MZ” is actually a Windows program — a classic trick in phishing emails.

Privacy

Your files are processed entirely in your browser using built-in web technologies. They are not uploaded to our servers, and closing the page clears them from memory. There's no account to create and nothing to install.

Frequently asked questions

Are my files uploaded?

No. Files are read and processed in your browser, and results are saved straight back to your device.

Last reviewed by the M2Toolkit team.

Other tools people use alongside the file type checker.