What Are File Types and How Do You Open an Unknown File?
A file type is the format that defines how data inside a file is structured—text, image, audio, video, spreadsheet, and so on. The file extension (the letters after the last dot, like .pdf or .jpg) is usually the quickest clue to that type, but it is only a label: it tells your system what the file claims to be, not what it actually contains. To open an unknown file, read its extension, look it up in a file-format database such as FileInfo.com, then install a program that supports that format. If no program opens it, the extension may be missing, wrong, or the file may be damaged.
File type vs. file extension
These two terms are often used interchangeably, but they describe different things:
- File type — the underlying format and structure of the data. A
.jpgand a.pngare both images, but they store pixels differently. - File extension — the suffix in the filename that signals the intended type. On Windows, extensions are shown by default; on macOS they are often hidden unless you enable them.
Renaming a file does not convert it. Changing report.docx to report.pdf just mislabels a Word document—the content is unchanged, and the program that opens it may fail or show garbled output.
How to identify an unknown file
Work from the cheapest check to the most involved:
- Look at the extension. If you see
.xyzand don't recognize it, that's your search term. - Search a file-format database. FileInfo.com maintains a searchable registry of over 10,000 file extensions with descriptions and lists of programs that open them. You can also drag and drop or upload a file to view its details.
- Inspect the file's properties. Right-click (Windows) or Get Info (macOS) to see the type, size, and the app currently associated with it.
- Check the file signature when the extension is missing or suspicious. The first few bytes of a file (the "magic number") identify the true format regardless of the name. For example, a PDF begins with
%PDF, and many image formats start with recognizable byte patterns. Hex viewers or thefilecommand on Linux/macOS reveal this.
How file associations decide what opens
An association is the link between a file type and the program your operating system uses to open it. When you double-click a file, the OS reads the extension, looks up the association, and launches the mapped program.
If the wrong program opens, or nothing happens:
- Windows: Settings → Apps → Default apps, or right-click the file → Open with → Choose another app.
- macOS: Right-click → Open With, or Get Info → "Open with" → Change All.
- Android: The system usually prompts you to pick an app the first time, and remembers your choice.
Associations are per-user and per-machine, so the same file may open differently on two computers.
Finding software for an unfamiliar format
- Search the extension in a format database and read the "programs that open" list.
- Prefer the format's official or native application when one exists; third-party viewers are a fallback.
- Use a universal file viewer when you only need to look at a file, not edit it. FileInfo.com recommends File Viewer Plus (Windows), File Viewer for Mac, and File Viewer for Android.
- Check whether the format is a container or project file that requires the original authoring tool (for example, a
.sb3Scratch project or a.pagesApple Pages document).
Common reasons a file won't open
| Symptom | Likely cause | What to try |
|---|---|---|
| "Windows can't open this file" | No associated program | Install a compatible app, then set the association |
| Opens but shows garbage | Wrong extension or wrong program | Verify the real format via file signature |
| File is empty or truncated | Incomplete download | Re-download; look for a .crdownload partial file |
| Password or encryption prompt | Protected or encrypted file | Use the originating app and correct credentials |
| Opens in a text editor only | Plain-text-based format | Open with the intended application |
A partially downloaded Chrome file, for instance, appears as .crdownload until the transfer finishes—renaming it won't make it usable.
Quick reference
- Extension = label; file type = actual format.
- Renaming does not convert.
- Associations map extensions to programs and can be changed per user.
- When in doubt, look up the extension, then inspect the file signature if the label seems wrong.