The fastest way: use TextEdit

Open TextEdit from your Applications folder or by pressing Command+Space, typing "TextEdit", and pressing Enter. When the blank document opens, go to the Format menu and select "Make Plain Text" — this step matters, because TextEdit defaults to rich text format, which adds invisible formatting codes that can cause problems later.

Type or paste your content. Then go to File > Save, give your file a name with the .txt extension (for example, "notes.txt"), choose where you want to save it, and click Save. The .txt extension tells your Mac and other programs that this is a plain text file.

If you forget to switch to plain text before saving, TextEdit will ask you to confirm the format when you hit Save — you can choose "Use .txt" at that point and it will convert the file for you.

Key Takeaways

  • TextEdit is built into every Mac and requires no installation — find it in Applications or use Command+Space to search for it.
  • You must select "Make Plain Text" from the Format menu before saving, or TextEdit will save in rich text format instead of .txt.
  • Always include the .txt extension when you name your file so other programs recognize it as plain text.
  • Plain text files contain only characters with no formatting, images, or special styling, which makes them compatible with almost every device and program.

Why plain text matters

A plain text file contains only the characters you type — no bold, italics, fonts, colors, or images. This simplicity is actually its strength. A .txt file opens on any device: Windows, Linux, older computers, phones, tablets, and web browsers. Rich text formats like .docx or .rtf add invisible codes that some programs cannot read or that display differently depending on what software opens them.

When you save a file as .txt, you are removing all that extra formatting. If your document has no formatting to begin with, this makes no difference. If it does have bold text or different fonts, those will disappear when you convert to .txt — the words remain, but the styling does not.

Using Terminal if you prefer the command line

If you are comfortable with Terminal, you can create a text file without opening any application. Press Command+Space, type "Terminal", and press Enter. At the prompt, type touch filename.txt (replacing "filename" with whatever you want to call your file) and press Enter. The file appears instantly in your current folder.

To add content to the file from Terminal, type nano filename.txt, type or paste your text, press Control+O to save, press Enter to confirm the filename, and then press Control+X to exit. This method is faster if you are already working in Terminal for other tasks, but TextEdit is simpler if you are not familiar with command-line tools.

Where your file saves and how to find it

When you click Save in TextEdit, a dialog box appears asking where you want to put the file. By default, it shows your Documents folder. You can navigate to any folder on your Mac from this dialog — your Desktop, Downloads, a folder you created, or anywhere else. The location you choose is where the file will live until you move it.

After you save, you can find your file by opening Finder, navigating to the folder where you saved it, and looking for the filename you gave it. Files with the .txt extension show a plain text icon (usually a document with lines on it). You can also search for the filename using Spotlight: press Command+Space and type the filename.

Editing and re-saving your file

To edit a text file you already created, double-click it in Finder. It opens in TextEdit (or whatever program your Mac is set to use for .txt files). Make your changes and press Command+S to save — your changes overwrite the original file. You do not need to choose a location or format again; your Mac remembers those settings from when you first saved it.

If you want to save a version with a different name or in a different location without changing the original, use File > Save As instead of Command+S. This creates a new file with the new name while leaving your original file unchanged.

Common mistakes and how to avoid them

The most common mistake is forgetting to switch TextEdit to plain text format before saving. If you save in rich text format by accident, the file gets a .rtf extension instead of .txt, and some programs will not recognize it as a plain text file. You can fix this by opening the file again, going to Format > Make Plain Text, and saving it — TextEdit will ask you to confirm the format change.

Another mistake is not including the .txt extension in the filename. If you type just "notes" instead of "notes.txt", your Mac may not recognize it as a text file, and it might open in the wrong program or not show the correct icon. Always type the full filename with the extension.

A third issue is saving in a folder you cannot find later. If you are not sure where you saved something, use Spotlight (Command+Space) to search for the filename — this is faster than hunting through folders.

Text editors beyond TextEdit

TextEdit works fine for simple text files, but if you create text files regularly, you might prefer a dedicated text editor. BBEdit (free version available) and Visual Studio Code (free) are popular choices. They offer features like syntax highlighting (color-coding for code), line numbers, and search-and-replace tools that TextEdit does not have. Both save .txt files the same way TextEdit does — you just type, then File > Save with a .txt extension.

For most everyday tasks like notes, to-do lists, or simple documents, TextEdit is all you need. Specialized editors are worth learning only if you find yourself creating text files frequently or working with code.

Frequently Asked Questions

What is the difference between .txt and .rtf?

.txt is plain text with no formatting at all — just characters. .rtf (rich text format) can include bold, italics, fonts, and colors. Plain text files are smaller, more compatible, and open on any device. Use .txt unless you specifically need formatting.

Can I create a text file on my Mac without TextEdit?

Yes. You can use Terminal with the touch command to create an empty file, or use any text editor like Visual Studio Code, BBEdit, or even Notes (though Notes saves in its own format by default). TextEdit is just the easiest built-in option.

What happens if I save a TextEdit file without the .txt extension?

Your Mac may not recognize it as a text file and might open it in the wrong program or show the wrong icon. You can rename the file in Finder by right-clicking it, selecting "Rename", and adding .txt to the end of the name.

Can I open a .txt file on my iPhone or iPad?

Yes. Text files open in the Notes app, Mail, or any text editor you download from the App Store. Because .txt files contain no special formatting, they work on any device — that is one reason plain text is so useful.

Is it safe to delete the .txt extension from a filename?

Technically yes, but do not do it. The extension tells your Mac and other programs what kind of file it is. Without it, your Mac may not know how to open the file, or it might open in the wrong program. Always keep the extension.