File-extension Definition

noun

A short series of letters and/or numerals at the end of a personal computer filename, used to indicate the type of file and the software that will be required to operate or open it.

A text file will have a file extension of .txt.
Wiktionary