A file extension, or file name extension, is the letters immediately shown after the last period in a file name. For example, the file extension, txt has an extension of .txt. Other examples of filename extensions are .png, .Jpeg, .exe, .dmg and .txt