A file extension or filename extension is a suffix at the end of a filename. It is used to show the type of a computer file. This suggests what program can understand it. For example, MYWORDS.TXT is a plain text file and may be opened by a text editor. Filename extensions come after the name of the file, and many of them are three letters long.

Some examples of common file extensions are:


There are many other commonly used file extensions.

You can change the program defaults so that the computer knows which program to open each type of file extension with.