Text Editor

A text editor is a software application that creates and edits plain text files. In addition to simply typing text directly, they can cut, copy, and paste text from other sources and quickly find and replace text within a file. Text editors lack the text formatting features of word processors, which use rich text files instead. Plain text cannot change the font, color, size, or layout of text on a page, nor can images be embedded. Software and website developers often use plain text editors to write, edit, and review source code.

Despite the limitations of plain text, text editors can include advanced features that change how text looks in the editor. Many text editors can customize the appearance of text in a way that does not affect the text file itself, allowing the user to write in whatever font they choose. Some text editors can automatically highlight the syntax of different programming languages, changing font color and formatting of certain elements to make code easier to read. For example, a text editor can change the color of HTML tags, comments, or function names to help them stand out. These formatting changes do not alter the text itself, only appearing as helpful guides for users. Coders can even customize syntax highlighting to fit their preferences.

An HTML file in the BBEdit text editor with tags and links highlighted
An HTML file in the BBEdit text editor with tags and links highlighted

Text editors can also open and edit extremely large text files far easier than a word processor since a text editor does not have to account for the additional overhead of text formatting and page layout. Many text editors also support using regular expressions to search and manipulate the text within a file.

Updated October 10, 2022 by Brian P.

quizTest Your Knowledge

What command is used to load a file into an application?

A
Cut
0%
B
Copy
0%
C
Import
0%
D
Export
0%
Correct! Incorrect!     View the Import definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Text Editor on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.