What Is a File Type and How Do You Identify an Unknown One?

A file type is the format that defines how data inside a file is structured—text, image, audio, spreadsheet, archive, and so on. The file extension (the letters after the last dot, like .jpg or .zip) is the label your operating system uses to guess that type and pick a program to open it. To identify an unknown file, check its extension, look that extension up in a file-format database, and if the extension is missing or hidden, inspect the file's contents or use an online viewer. This works for most everyday files; it won't reliably identify proprietary or deliberately obfuscated formats without the software that made them.

File type vs. file extension

These two terms get used interchangeably, but they aren't the same thing.

Term What it is Example
File type (format) The actual internal structure of the data JPEG image data
File extension A suffix in the filename that signals the type .jpg

The extension is a hint, not proof. You can rename photo.jpg to photo.txt and the extension changes while the underlying data stays a JPEG. That's why a file can "look" like one type and behave like another.

How your system uses the extension

When you double-click a file, the operating system reads the extension and looks up which program is registered to handle it. If the extension is known, the right app opens. If it's unknown, you get a prompt asking what to use, or nothing happens at all.

This association is why the same file can open fine on one computer and fail on another—the second machine may not have the associated program installed.

Finding the extension when it's hidden or missing

Many systems hide extensions by default, which makes a file look like it has no type at all.

On Windows: open File Explorer, go to the View menu, and enable "File name extensions." The suffixes will appear.

On macOS: select the file and press Command-I to open Get Info; the "Kind" field shows the type, and the full name (with extension) appears in the Name & Extension section.

If there's genuinely no extension: the file may still be identifiable. Open it in a text editor—plain text, code, and some config files are readable. If it looks like garbage characters, it's likely binary (an image, archive, or compiled file).

Looking up an unknown extension

Once you have the extension, look it up in a file-format database. FILExt is one of the oldest such references, with a database covering almost every file extension and links to the programs that create each type. You can search a specific extension in the search box, or browse the alphabetical index (A–Z, plus Number and Symbol categories).

The lookup tells you:

  • What the format is
  • Which programs can open, edit, or convert it
  • Whether it's a common format or something rare

When nothing on your device can open it

If the database says the file needs software you don't have, you have a few options:

  1. Install the recommended program listed for that extension.
  2. Use an online viewer. FILExt offers a drag-and-drop Online File Viewer that analyzes a file and previews it in the browser, recognizing thousands of file types. Note that it requires JavaScript enabled, and the site asks you to disable AdBlock before uploading.
  3. Convert it. If you only need the contents, a converter for that format may let you turn it into something you can already open.

Common pitfalls

  • Trusting the extension alone. A renamed file will mislead both you and your software.
  • Assuming a missing extension means a broken file. It usually just means the type is unregistered or the extension is hidden.
  • Opening unknown files from untrusted sources. Executable formats (.exe, .bat, and similar) can run code. Identify first, open later.

The practical sequence: reveal the extension, look it up, install or use a viewer for the format, and only then open it.

filext.com
FILExt.com is the file extension source. Here you'll find a collection of file extensions; many linked to the programs that created the files. FILExt…