A text editor is a type of software/application that enables the user to create and edit text files. Whereas word processors can produce a wide range of formats, a text editor is designed for plain text files. If you’re looking for an app that allows you to customize your documents with formatting options such as headings, bold, italics, and underline, then a word processor is likely more suitable for your needs.
There are many advantages to using a text editor rather than a word processor for writing. A text editor typically has fewer distractions and options, making it easier to focus on what you're writing; edits can be made quickly and error-free without leaving the page.