A text editor is a program that is run on a computer that can create and change text. The text can be saved into a file that is called a "text file". Text editors can be used for a lot of things. Many people use them to write documents. Some people write code (like HTML or C++) using a text editor.