Extension The last three characters of a filename including the period. For example, in the filename EXAMPLE.DOC, the extension .DOC is short for document. Extensions are an efficient way to distinguish the contents of files without having to open each file. See also: Filename.