File Inspector

Detect the real type from magic bytes, spot wrong extensions, check entropy and see a hex dump.

Runs in your browser

About File Inspector

Drop a file to see what it really is. The inspector reads the first bytes (the “magic bytes”) to identify the format and warns you when the extension does not match.

It also reports entropy, which hints at compressed or encrypted data, and shows a hex dump of the start of the file.

How to use it

  1. Drop a file.
  2. Read the detected type and any extension warning.
  3. Check entropy and the hex dump if you need more detail.

Frequently asked questions

What are magic bytes?
The first few bytes of many file formats are a fixed signature. For example, PDF files start with %PDF.
What does high entropy mean?
Values near the maximum usually mean the data is compressed or encrypted, since it looks random.

Related tools