File Extension Lookup
Type an extension such as .heic or .msg to learn what it is and what opens it, or drop a file to check whether its contents match its name.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Search an extension
Type an extension, a format name or a program in the search box.
- 2Narrow it down
Pick a category to browse related formats.
- 3Read the entry
See what the format is, its MIME type, programs that open it and safety notes.
- 4Check real files
Choose files below to compare their first bytes with their names.
- 5Read the warnings
Look for mismatches, programs in disguise, double extensions and hidden characters.
- 6Export the report
Download the results as CSV, or clear them when done.
About this tool
Every day people receive files they cannot open or do not trust: a .heic photo from an iPhone that a Windows laptop will not show, a .msg attachment forwarded from Outlook, a .pages document from a Mac user, a .dwg drawing from an architect, or an invoice.pdf.exe that should never be opened at all. This tool answers the two questions that matter. The lookup part is an offline reference of about two hundred common extensions across documents, spreadsheets, presentations, images, camera raw files, audio, video, archives, e-books, fonts, code, data, web files, 3D and CAD drawings, disk images, installers and system files. Search by extension, by format name or by a program name such as Photoshop, or browse a category. Each entry tells you what the format is, its MIME type, which free and paid programs open it on Windows, macOS, Linux, Android and iPhone, related extensions in the same family, and a plain safety note for formats that can run code or hide it, such as macro-enabled Office files, scripts, shortcuts and HTML attachments. The check part reads only the first 4 KB of files you choose, in your browser, and compares those bytes with about sixty known file signatures. It tells you whether the contents match the extension, whether the file is really a program, and warns about double extensions, long runs of spaces before the extension and hidden right-to-left characters that make malware.exe look like a harmless document name. Results stay in a list you can export as CSV.
How the signature check works
Most binary formats start with fixed bytes called a signature or magic number: PDF files begin with %PDF, PNG images with 89 50 4E 47, Windows programs with MZ, and ZIP containers with PK. Because Word, Excel, PowerPoint, EPUB, APK and JAR files are all ZIP containers inside, they share the ZIP signature, and the tool reports a match for any of them. Plain text formats such as CSV, JSON and source code have no signature, so the tool checks that the bytes look like text instead. Only the beginning of each file is read and nothing is opened, executed or uploaded.
Spotting disguised files
Attackers rely on habits. Windows hides known extensions by default, so photo.jpg.exe shows as photo.jpg. A right-to-left override character can reverse the end of a name so that an .exe appears to end in .pdf. A shortcut (.lnk) or an HTML file can look like a document but run commands or show a fake login page. The tool flags each of these patterns. When in doubt, do not open the file; ask the sender through another channel.
Limits
A matching signature only shows that the name tells the truth about the format. It is not a virus scan: a genuine PDF or Word file can still contain malicious content. Use up-to-date antivirus software for files from strangers. The reference covers common formats, not every extension in existence, and program lists are examples rather than an exhaustive or endorsed list.
Worked example
Three email attachments are dropped in. report.pdf starts with %PDF and gets Contents match the extension. holiday.jpg starts with the bytes 4D 5A (MZ), the signature of a Windows program, so the tool shows Contents do NOT match the extension and warns that the contents are a program. invoice.pdf.exe gets a double-extension warning, because it looks like a .pdf file but is really an .exe file that can run code. The CSV report lists all three with their sizes and verdicts.
Quick facts
- Category: Security & Privacy
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: IANA Media Types registry and published file format signatures
Frequently asked questions
What is a file extension?
It is the part of a file name after the last dot, such as docx in report.docx. The operating system uses it to choose which program opens the file. It is only a naming habit: renaming a file does not change its contents, which is why the tool also checks the first bytes.
How do I open a HEIC photo on Windows?
Install the free HEIF Image Extensions from the Microsoft Store and Windows Photos opens HEIC files. Alternatively, convert the photo to JPEG with an image converter, or set the iPhone camera to Most Compatible so new photos are saved as JPEG.
How do I see file extensions on my computer?
On Windows 11, open File Explorer, choose View, then Show and tick File name extensions. On Windows 10 use the View tab and tick File name extensions. On a Mac, open Finder settings, then Advanced, and tick Show all filename extensions.
Which extensions are dangerous to open?
Anything that runs code: .exe, .msi, .scr, .bat, .cmd, .ps1, .vbs, .js on Windows, .jar, .apk, .app and .pkg, plus shortcuts (.lnk), registry files (.reg) and HTML attachments. Office files ending in m, such as .docm and .xlsm, can contain macros. Archives can hide any of these inside.
Why does a .docx file show as a ZIP?
Because it is one. Modern Office files, OpenDocument files, EPUB e-books, Android APKs and Java JARs are ZIP archives containing XML and media. The tool reports a match for any of those extensions when it sees the ZIP signature.
Are my files uploaded for the check?
No. The browser reads the first 4 KB of each file you choose directly on your device. The file is never uploaded, opened or run, and the result list is saved only in this browser.
