back to browser scan More tools

File Type Identifier

Your files never leave your browser. All processing happens locally on your device.

How do you identify a file type?

Ignore the name and read the first bytes. Most binary formats start with a fixed byte sequence, its file signature or magic number: a PNG begins with 89 50 4E 47, a PDF with %PDF-, a Windows program with MZ. This tool recognizes over 150 formats this way. Containers need a second look: a .docx, an .xlsx, an .apk and an .epub are all ZIP files, so it reads the ZIP index to see which files are inside.

How can I tell what type a file is without the extension?

Drop it above. The extension plays no part in the detection, so a file called "download", "attachment.bin" or "IMG_0412" gets the same answer as a correctly named one. If the format has a usual extension, the tool offers to save a correctly named copy so the right app opens it. Your original file is left untouched.

Why would the extension not match the contents?

Usually by accident: a HEIC photo ends up with a .jpg name after a copy or a careless rename, a site serves a WebP with a .png name, someone renames a .docx to .doc. Sometimes on purpose. A program renamed to "photo.jpg" or "invoice.pdf.exe" is an old malware trick, because Windows hides known extensions and people trust the icon. When the contents are a program and the name says document or image, the tool shows a red warning.

How can I check the MIME type of a file?

Every result lists the MIME type that matches the detected contents, for example application/pdf or image/heic. Your browser and operating system usually guess the MIME type from the extension, so a misnamed file gets the wrong one. Here it comes from the bytes. That makes it the value to use when you configure an upload form or a server.

Can you identify a file type without opening it?

The file is never uploaded and never opened. The page reads only small parts of the file as raw bytes (the first and last 64 KB, plus the file list of ZIP-based formats) and runs nothing inside them, so a suspicious attachment can be checked before anyone double-clicks it. Many online identifiers upload the whole file to their server instead. You can verify this one in your browser’s DevTools Network tab: the only request you may see is the site’s own small analytics ping, and your file is not part of it. Once you know what you have, the Image Metadata Stripper and the PDF Metadata Remover remove what photos and documents say about you.

Incogniton Logo

Level up your privacy

Arrow