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.