File Extension

A file extension (or simply "extension") is the suffix at the end of a filename that indicates what type of file it is. For example, in the filename "myreport.txt," the .TXT is the file extension. It indicates the file is a text document. Some other examples include .DOCX, which is used for Microsoft Word documents, and .PSD, which is the standard file extension for Photoshop documents.

While most file extensions are three characters in length, they can be as short as one character or longer than twenty characters. Sometimes long file extensions are used to more clearly identify the file type. For example, the .TAX2015 file extension is used to identify TurboTax 2015 tax returns and the .DESKTHEMEPACK extension identifies Windows 8 desktop themes. The file extension determines which program is used to open the file as well as what icon should be displayed for the file. It also helps you see what kind of file a certain document is by just looking at the filename.

Both Windows and Mac OS X allow you to manually change file extensions, which may also change the program the computer uses to open the file. While this might work for some files, it may also cause the file to not open at all. For example, if you change a file with a ".txt" extension to a ".doc" extension, Microsoft Word may still open it. However, if you change a ".txt" file to a ".psd" file, Photoshop will not recognize or open the file.

Since there are tens of thousands of file types, there are also tens of thousands of file extensions. While it may not be possible to remember all of them, it is helpful to learn some of the more common ones, such as .JPG, .GIF, .MP3, .ZIP, .HTML, and others. For a list of common file extensions and their associated file types, visit FileInfo.com's Common File Types page.

Updated November 5, 2012 by Per C.

quizTest Your Knowledge

Which organization develops standards for encoding digital audio and video?

A
ICANN
0%
B
MPEG
0%
C
ODA
0%
D
W3C
0%
Correct! Incorrect!     View the MPEG definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of File Extension on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.