File Type Detector
Identify what a file really is from its first bytes, not its name: over 60 formats, from PDF and HEIC to DOCX, APK and SQLite. Shows whether the extension matches.
File Type Detector identifies what a file really is by reading its first bytes, the signature every format starts with, instead of trusting the name. It recognises over 60 formats, shows the MIME type and size, and tells you whether the extension matches.
What are magic bytes?
File signature
Most formats begin with a fixed pattern of bytes. A PDF starts with %PDF-, a PNG with the bytes 89 50 4E 47. Reading them reveals the real format even when a file has been renamed.
ZIP-based formats
DOCX, XLSX, PPTX, EPUB, JAR and APK files are all ZIP archives inside. The detector reads the archive's list of contents to tell which one you have.
Why use File Type Detector?
- Open files with no extension. Find out what an attachment called "download" or "file.bin" actually is.
- Spot a disguised file. A program renamed to invoice.pdf shows up as a Windows program, with a clear "No" in the match column.
- Never uploaded. Only the start of each file is read, in your browser. Nothing is sent anywhere.
How to use File Type Detector, step by step

- Drop files into File Type Detector. Add as many as you like at once.
- Press Identify the files. Each file gets its detected type, MIME type, size, date and whether its extension fits.
- Look closer if you need to. Tick the details option to see the first 64 bytes in hex for each file.
Frequently asked questions
Which formats does it know?
Over 60, including PDF, JPEG, PNG, GIF, WebP, HEIC, AVIF, TIFF, PSD, MP3, WAV, FLAC, MP4, MOV, MKV, WebM, ZIP, RAR, 7z, DOCX, XLSX, EPUB, fonts, Windows, Linux and macOS programs, SQLite, and text in UTF-8 or UTF-16.
Can it say whether a file is safe?
No. It tells you what kind of file it is, which helps you spot a mismatch, but it does not scan for viruses.
Why does a plain text file show as "Unknown"?
Formats with no signature, such as some old encodings or raw data, cannot be recognised from their bytes. Text is identified when it is valid UTF-8 or starts with a byte order mark.
Looking for the long version? The guides cover each of these jobs in depth.