The fastest way: use TextEdit and save as plain text
Open TextEdit (search for it in Spotlight by pressing Command+Space, type "TextEdit", and press Enter). When it opens, go to the Format menu at the top and click "Make Plain Text". This step matters — if you skip it, your file will save as a Word document instead of a text file.
Type or paste whatever you want in the file. Then press Command+S to save. A dialog box appears asking where to save and what to name it. Type your filename with .txt at the end — for example, "shopping-list.txt" or "notes.txt". Choose where you want it to go (your Desktop, Documents folder, or anywhere else), then click Save.
Your text file is now created and ready to use. You can open it anytime by double-clicking it, and it will open in TextEdit or whichever text editor your Mac prefers.
Key Takeaways
- TextEdit must be switched to Plain Text mode before saving, or your file becomes a formatted document instead of a .txt file.
- Always type the .txt extension when you name the file, or Mac may not recognize it as a text file.
- Terminal and other text editors offer faster routes if you create text files regularly.
- Once saved, a .txt file opens in your default text editor and can be opened by almost any program on any device.
Using Terminal if you create text files often
If you find yourself making text files repeatedly, Terminal is faster than opening TextEdit each time. Open Terminal (search for it in Spotlight the same way you found TextEdit). Type this command and press Enter: nano filename.txt — replace "filename" with whatever you want to call your file.
A text editor opens inside Terminal. Type or paste your content. When you are done, press Control+X, then Y (for yes), then Enter. Your file is saved immediately in your home directory (usually /Users/YourName).
This method skips the dialog boxes and format menus entirely. The tradeoff is that Terminal looks unfamiliar if you have never used it before, but the actual steps are simpler once you know them.
Creating a blank text file without opening any program
You can create an empty text file directly on your Desktop or in any folder without launching TextEdit or Terminal. Right-click on your Desktop (or open Finder, navigate to the folder where you want the file, and right-click in the empty space). Look for an option called "New File" or similar — this depends on whether you have installed any third-party tools.
If that option does not appear, use this Terminal shortcut instead: open Terminal, type touch ~/Desktop/filename.txt, and press Enter. Replace "filename" with your chosen name. The file appears on your Desktop immediately, empty and ready to open and edit.
This method creates the file but does not open it. Double-click it to open it in your text editor, add content, and save.
Why .txt is the right format for plain text
A .txt file is plain text — no bold, no colors, no fonts, just letters and numbers. This makes it compatible with every device and every program. A Word document (.docx) or Pages document (.pages) can only be opened by specific programs, but a .txt file opens on Windows, Linux, phones, tablets, and old computers.
Text files are also tiny. They take almost no storage space and transfer instantly over email or messaging apps. If you need to share notes, code, lists, or any writing that does not need formatting, .txt is the standard choice.
Common mistakes and how to avoid them
The most common mistake is forgetting to switch TextEdit to Plain Text mode before saving. If you save without doing this, your file becomes a .rtf file (rich text format) instead of .txt. You can fix this: open the file in TextEdit, go to Format menu, click "Make Plain Text", then save again.
Another mistake is forgetting the .txt extension when you name the file. If you type just "shopping-list" instead of "shopping-list.txt", Mac may not recognize it as a text file and will not open it the way you expect. You can rename it later by right-clicking the file, selecting "Rename", and adding .txt to the end.
A third mistake is saving to a location you cannot find later. When the save dialog appears, pay attention to where you are saving. If you are unsure, choose Desktop or Documents — these are easy to find. You can always move the file later by dragging it in Finder.
Opening and editing your text file later
Once your .txt file exists, double-click it to open it. It opens in your default text editor — usually TextEdit, but it might be a different program depending on what you have installed. Make any changes you want, then press Command+S to save. The changes are saved to the same file.
If you want to open the file in a different program, right-click it and select "Open With", then choose from the list. This is useful if you prefer a different text editor or if you want to open the file in a program like Excel or a code editor.
Frequently Asked Questions
What is the difference between .txt and .rtf files?
.txt is plain text with no formatting at all. .rtf (rich text format) can include bold, italics, colors, and fonts. On Mac, TextEdit saves as .rtf by default unless you switch to Plain Text mode first. For most purposes, .txt is better because it works everywhere.
Can I create a text file on my Desktop?
Yes. Right-click on your Desktop and look for "New File" (if you have that option), or use Terminal with the command touch ~/Desktop/filename.txt. Either way, the file appears on your Desktop ready to open and edit.
What if I accidentally saved my text file as .rtf instead of .txt?
Open it in TextEdit, go to Format menu, click "Make Plain Text", then save. You can also rename the file by right-clicking it and selecting "Rename", then changing the extension from .rtf to .txt — though this works best if you have already converted it to plain text first.
Can I open a .txt file on my iPhone or iPad?
Yes. Email the file to yourself or use iCloud Drive to sync it. On your iPhone or iPad, open the Files app, find the file, and tap it. It opens in a text viewer or your default text editor. You can also use apps like Notes or Word to open .txt files.
Is there a way to make text files without using TextEdit?
Yes. Terminal is faster if you create files often. You can also use other text editors like BBEdit, VS Code, or Sublime Text if you install them. For most people though, TextEdit is already on your Mac and works fine.