File Type Checker
About this tool
About File Type Checker
A file name can say anything; its first bytes can't lie as easily. This checker reads each file's signature (its magic bytes) and tells you what the content actually is, then compares that with the extension. It recognises more than 60 formats, including PDF, JPEG, PNG, WebP, HEIC and AVIF, ZIP and the formats built on it (DOCX, XLSX, PPTX, EPUB, APK and JAR, told apart by looking inside the archive), RAR, 7-Zip, audio and video containers, fonts, databases, and Windows, macOS and Linux programs. It warns loudly about the tricks used in phishing attachments: an executable named .pdf, double extensions like invoice.pdf.exe, invisible right-to-left characters that reverse the end of a name, and Office files that contain macros. Unknown downloads without an extension get identified too. Each result shows the size, the SHA-256 and MD5 hashes and a hex and ASCII dump of the first bytes. Files are only read locally; nothing is uploaded, and this is not a virus scanner.
Built and maintained by Abhi JainUpdated
How to Check a File's Real Type
- 1
Choose files
Drop one or more files on the page, or click Choose files. Any type and size works.
- 2
Read the verdict
Each file shows Matches, Mismatch, Suspicious or Unconfirmed, with what was detected and the extension it should have.
- 3
Inspect the details
Check the warnings, copy the SHA-256 or MD5, and switch the hex view between 128 B and 256 B to see the header yourself.
File Type Checker: questions and answers
How can I tell what type a file really is?
Most formats start with a fixed signature: PDFs begin with %PDF-, PNGs with the bytes 89 50 4E 47, ZIP files with PK, Windows programs with MZ. This tool reads those bytes, so a renamed file is still identified correctly.
Why is a mismatched extension dangerous?
Attackers rename programs to look like documents, for example invoice.pdf.exe, or use invisible characters so a name ending in exe displays as .pdf. If the content is a program or script, opening it runs code on your computer.
Does a matching type mean the file is safe?
No. A real PDF or Word file can still contain malicious content, and this is not an antivirus. It tells you what the file is so you can decide whether to open it, and with what.
Why does it say Unconfirmed for my file?
Some formats have no signature at all, such as CSV, plain text or many code files, and a few rare formats aren't in the list. The file may well be fine; the checker just can't prove what it is.
Is my file uploaded?
No. Only the first and last few kilobytes are read to identify it (plus the whole file for the hashes), all inside your browser. For full checksum verification use the File Checksum Calculator.
Related Tools
- File Checksum CalculatorMD5, SHA-1, SHA-256, SHA-384 and SHA-512 of any file, checked against the published hash.
- EXIF ViewerSee a photo's hidden EXIF, GPS, XMP and IPTC data, with a privacy check.
- Encrypt FileLock any file with a password using AES-256-GCM, right in your browser.
- Remove PDF MetadataStrip author, title, creation date, and hidden metadata from PDF.