File Type Detector
Is that file really a PDF or a renamed program? Drop one or many files and see what they truly are, with their first bytes in hex.
- Drop one or more files
- Read the detected type
- Compare it with the extension
Your files never leave your device
How to check a file
Drop one or many files on the page, or choose them with the button. For each file the tool reads the first bytes, compares them with known signatures and shows the real type, together with those bytes in hex. It then tells you whether the extension matches, so a renamed file is easy to spot.
- A file extension can be changed by anyone, but the first bytes of a file reveal its real format.
- A mismatch is a warning sign, for example a program named photo.jpg.
- The check is local and reads only the start of each file, so even large files are quick; ZIP-based files such as DOCX are also opened to list their entries.
A worked example
A real JPEG begins with the bytes FF D8 FF, a PNG with 89 50 4E 47 and a PDF with 25 50 44 46, which is the text %PDF. A Windows program begins with 4D 5A, the letters MZ. If a file called photo.jpg shows 4D 5A, it is not a picture but an executable, and the tool marks the extension as not matching. A file with the bytes 50 4B 03 04 is a ZIP, and the tool looks inside to tell a DOCX from a plain archive.
Limits and good practice
The tool recognizes about 60 common formats and up to 200 files at a time. A file that is damaged, or in a rare format without a known signature, shows as unknown. The detector identifies the format only; it does not scan for viruses, so a file with a matching type can still be harmful. Do not open a file whose type does not match, and scan it with antivirus software first.
Frequently asked questions
Is my file uploaded?
No. The check runs on your device, only the first bytes are read (plus the entry list of ZIP-based files), and nothing is sent anywhere.
Which types can it detect?
About 60 common formats: images, documents, archives, audio, video, fonts, databases and programs.
Why does it say unknown?
The format has no known signature, or the file is damaged or empty.
Can it tell DOCX from ZIP?
Yes. It looks inside the ZIP to tell Office, ODF, APK, JAR and EPUB files apart.
Can I scan many files?
Yes, up to 200 at a time.
Does it find viruses?
No. It only identifies the format. Use antivirus software to scan for malware.