Back to tools
magic bytes Anti-spoofing check Local processing

File Type Detector

Identify a file's true format from its header (magic bytes) and check whether the extension has been spoofed. Runs entirely locally.

Share:
Privacy protected: All processing happens locally in your browser. No data is uploaded to any server, keeping your privacy and data safe.
📄 Select a File
Click to choose or drag in any file Only the file header is read for identification; file contents are never uploaded
-
Select a file to detect its real type

Technical References

  1. File signatures — Wikipedia: https://en.wikipedia.org/wiki/List_of_file_signatures

Frequently Asked Questions

How does it detect file types?

It reads the fixed magic bytes at the start of the file and compares them against known format signatures to determine the real type.

Which formats are supported?

JPEG, PNG, GIF, WebP, PDF, ZIP, RAR, 7Z, MP3, MP4, WAV, ICO, BMP, TIFF, SQLite, ELF, and more.

Can it detect disguised extensions?

Yes. If the file-header type doesn't match the extension, a warning with a suggested extension is shown.

Can file contents leak?

No. Only a few bytes of the file header are read — nothing is uploaded.

Technical References

  1. File signatures — Wikipedia: https://en.wikipedia.org/wiki/List_of_file_signatures