The fastest way: use TextEdit to create a plain text file
Open TextEdit (search for it in Spotlight by pressing Command+Space, type "TextEdit", then press Enter). When it opens, go to Format menu and click Plain Text — this is the step most people miss. If you skip it, Mac will save as a rich text document instead, which adds formatting code you probably don't want.
Type your content. When you're ready to save, press Command+S. Give it a name, choose where to save it (Desktop, Documents, or a folder you create), and make sure the file format shows "plain text" at the bottom. Click Save. That's it — you now have a .txt file.
If you want to open that file later, double-click it and it opens in TextEdit again. You can also open it in any other text editor on your Mac, or email it, or move it to another computer.
Key Takeaways
- TextEdit is built into every Mac and requires no download — search for it using Spotlight (Command+Space).
- Switch TextEdit to Plain Text mode before you start typing, or your file will save with hidden formatting code.
- Plain text files (.txt) open in any text editor and work on any device, making them the most portable option.
- If you need formatting like bold or italics, use Pages or Google Docs instead of TextEdit's plain text mode.
- Save your file with Command+S and choose a location (Desktop or Documents folder) so you can find it later.
When to use TextEdit versus other apps
TextEdit works best for notes, to-do lists, code snippets, and any text you want to share across devices without worrying about compatibility. It's lightweight and opens instantly.
If you need to format text — make words bold, change font sizes, add colors, or insert images — use Pages instead. Pages is Apple's word processor and comes free on every Mac. Open it the same way (Spotlight search), and it saves files that look the same on iPhone, iPad, and other Macs.
For documents you want to share and edit with other people, Google Docs is often easier because anyone with the link can open it in a web browser, no app needed. But if you're just writing for yourself and want something that works offline, TextEdit is simpler.
How to organize files so you can find them later
When you save a file, Mac shows you a location dropdown. By default it points to Documents. That's usually fine — Documents is where Mac expects to find your files, and it's the first place you'll look.
If you create a lot of documents, make a folder inside Documents to keep them organized. Right-click in Finder (the folder icon in your dock), click New Folder, name it something like "Writing" or "Notes", then save your text files inside it. When you press Command+S in TextEdit, you can navigate to that folder before saving.
You can also save directly to Desktop if you want the file visible on your screen, but files pile up there quickly and slow down your Mac. Desktop is better for things you're actively working on this week, not long-term storage.
Saving with the right file name and format
When you save, Mac lets you choose the file name and the format. For a plain text file, the format should say "plain text (.txt)" — TextEdit shows this at the bottom of the save window. The file name is what you type in the box at the top.
File names can include letters, numbers, spaces, and hyphens. Avoid special characters like / \ : * ? " < > | because Mac won't let you use them. If you name a file "my-notes.txt", Mac automatically adds the .txt part — you don't need to type it yourself.
If you save the same file twice with Command+S, Mac overwrites the old version. If you want to keep both versions, use Command+Shift+S (Save As) instead, give it a new name, and Mac saves it as a separate file.
Opening and editing files you've already created
To open a text file you created before, open Finder (the folder icon in your dock), navigate to where you saved it, and double-click the file. It opens in TextEdit automatically. Make your changes and press Command+S to save — Mac overwrites the old version with your new edits.
If a file opens in the wrong app, right-click it, select "Open With", and choose TextEdit from the list. You can also drag a file onto TextEdit's icon in the dock to open it.
If you can't find your file, use Spotlight: press Command+Space, type the file name (or part of it), and Mac searches your entire Mac. Click the result to open it or show its location in Finder.
Switching between plain text and formatted text
If you started in plain text mode and want to add formatting, you can't just switch modes — TextEdit doesn't convert between them. Instead, create a new document in Pages (which supports formatting), copy your text from the plain text file, and paste it into Pages.
If you're in Pages and want to export as plain text, go to File menu, click Export As, choose Plain Text, and save. This removes all formatting and creates a .txt file you can share with anyone.
Most of the time, you'll pick one format at the start and stick with it. Plain text for quick notes and sharing, Pages for anything you want to format and print.
Troubleshooting common issues
If TextEdit won't open, restart your Mac. If a file won't save, check that you have write permission for the folder — try saving to Documents instead. If you can't find a file you saved, search for it by name using Spotlight (Command+Space).
If a file opens in the wrong app, it may have the wrong file extension. Right-click the file, select Rename, and make sure it ends in .txt. If it doesn't, add .txt to the end and press Enter.
If you accidentally deleted a file, check the Trash (icon in your dock). If it's there, right-click it and select Put Back. If Trash is empty, the file is gone — Mac doesn't keep a recovery system for deleted files the way some other systems do.
Frequently Asked Questions
Can I create a text document without TextEdit?
Yes. Pages, Google Docs, Word, and many other apps can create and save text files. TextEdit is just the simplest option because it comes free on every Mac and opens instantly. If you already use another app, use that instead.
What's the difference between plain text and rich text?
Plain text is just letters and numbers with no formatting — no bold, italics, colors, or fonts. Rich text can include all of those. Plain text files are smaller, work on any device, and never break. Rich text files look fancier but only open properly in apps that support that format.
Can I edit a text file on my iPhone?
Yes, if you save it to iCloud Drive. In TextEdit, go to File menu, click Save, and make sure "iCloud Drive" is selected in the location dropdown. The file syncs to your iPhone automatically, and you can open it in the Notes app or any text editor.
What happens if I close TextEdit without saving?
Mac will ask you "Do you want to save changes?" Click Save to keep your work, or Don't Save to discard it. If you click Don't Save by accident, the file is gone — Mac doesn't keep unsaved drafts unless you turn on autosave in System Settings.
Can I password-protect a text file?
TextEdit doesn't have a built-in password feature. If you need to protect sensitive information, use Pages (which has password protection) or encrypt the file using Mac's built-in encryption tools. For most everyday notes, plain text is fine.