Text File

noun

say it: “TEKST fyl” /tɛkst faɪl/

A file that holds only plain characters (letters, numbers, spaces and punctuation) with no hidden formatting, so any editor or terminal command can read it.

What is a text file?

A text file holds plain characters: letters, numbers, spaces and punctuation, with no hidden formatting. Any editor, and terminal commands such as cat, can read one. Notes, README files, settings files and code are text files; a photo or a program isn't.

file README.md
# README.md: ASCII text

In a sentence

  • “Notepad opened the settings because they're a text file, but the photo came out as gibberish.”
  • “The recipe is saved as a text file, so cat prints it straight to the screen.”

Level: Novice · More Operating System terms at this level

Updated