Skip to main content
HandyWeb

File Type Detector

Find the real type of a file from its first bytes (signature or magic number), and see whether its extension is misleading, such as a program named photo.jpg.

Runs on your device.

Only the first 512 bytes of the file are read.

How to Use It

  1. Choose the file.
  2. Compare the real type with the file extension.

Questions and Answers

Why is the extension not enough?

Anyone can rename a file. The first bytes show its real type. For example, every Windows program starts with “MZ”, even when it is named photo.jpg.

Good to Know

It knows more than 40 common signatures. Text formats, such as CSV or JSON, have no signature. A file with a correct signature can still be harmful: this tool is not a virus scanner.

Source code of this toolReport a problem on GitHub