On Windows, right-click any open space on the Desktop > New > Text Document. On a Mac, open Finder and navigate to the folder where you want the TXT file, then launch Terminal and enter touch MyTextFile.txt. On any system, you can also open a word processing application such as Microsoft Word, create your document, and then save it as a Plain Text (.txt) file.