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 is the step most people miss, and it matters because TextEdit defaults to a formatted style that adds invisible code.

Type or paste whatever you want in the file. Then press Command+S to save. Give it a name ending in .txt — for example, "grocery_list.txt" or "notes.txt". The .txt extension tells your Mac this is a plain text file. Choose where you want to save it (your Desktop, Documents folder, or wherever makes sense for what you're organizing), then click Save.

That's it. You now have a .txt file. Double-click it anytime to open and edit it.

Key Takeaways

  • TextEdit is built into every Mac and is the simplest tool for making a .txt file — search for it using Spotlight (Command+Space).
  • You must click Format > Make Plain Text before saving, or TextEdit will save in a formatted style instead of plain text.
  • Always end your filename with .txt so your Mac recognizes it as a text file and opens it correctly later.
  • Terminal and other text editors like VS Code work too, but TextEdit is the fastest route if you're just starting out.

Why TextEdit needs the "Make Plain Text" step

TextEdit has two modes. The default is "Rich Text," which is designed for documents with bold, italics, colors, and fonts — similar to Microsoft Word. When you save a Rich Text file, TextEdit adds invisible formatting code that other programs sometimes can't read cleanly.

Plain Text mode strips all that away. It saves only the words and characters you typed, with no hidden formatting. This is what .txt files are supposed to be. If you skip the Format menu step and save directly, your file will technically have a .txt name but will actually be saved in a different format underneath, which can cause problems if you try to open it in another program later.

Using Terminal if you want to create a file without opening an editor

If you're comfortable with Terminal, you can create a .txt file without opening any process. Search for Terminal in Spotlight (Command+Space, type "Terminal", press Enter). At the prompt, type touch filename.txt (replace "filename" with whatever you want to call it) and press Enter. A blank .txt file appears in your current folder — usually your home directory.

You can also use the command echo "your text here" > filename.txt to create a file with text already in it. For example, echo "Buy milk and eggs" > shopping.txt creates a file called shopping.txt containing that sentence. Terminal is faster once you're used to it, but TextEdit is simpler if you're new to the Mac.

Creating .txt files in other text editors

If you already use a text editor like Visual Studio Code, Sublime Text, or Atom, you can create a .txt file there too. Open the editor, create a new file, type your content, and save it with a .txt extension. These editors are overkill for a straightforward shopping list, but they're useful if you're writing code or working with multiple text files at once.

The principle is the same everywhere: type your content, save with a .txt extension, and you're done. The difference is just which program you're using to do it.

Where to save your .txt files so you can find them later

When you press Command+S to save, a dialog box appears asking where you want the file to go. Your Mac suggests a default location, but you can navigate anywhere. The Documents folder is a safe choice for personal files. If you're organizing by category (like "Recipes," "To-Do Lists," "Notes"), create a folder first, then save your .txt files inside it.

Avoid saving to the Desktop if you have many files — it gets cluttered fast and slows your Mac down. Instead, create a folder in Documents called something like "Text Files" or "Quick Notes" and save everything there. You can still access it quickly by opening Finder and clicking Documents in the sidebar.

Renaming or moving a .txt file after you create it

If you save a file and later want to rename it, right-click the file in Finder and select "Rename" (or press Enter when the file is selected). Change the name but keep the .txt at the end. If you accidentally remove the .txt extension, your Mac may stop recognizing it as a text file and try to open it with the wrong program.

To move a .txt file to a different folder, drag it from one location to another in Finder. You can also cut it (Command+X), navigate to the new folder, and paste it (Command+V). The file itself doesn't change — only its location.

Frequently Asked Questions

What's the difference between .txt and .rtf files on Mac?

.txt is plain text with no formatting at all — just letters, numbers, and basic punctuation. .rtf (Rich Text Format) can include bold, italics, colors, and different fonts. If you need formatting, save as .rtf. If you want the simplest, most compatible format, use .txt.

Can I open a .txt file in other programs besides TextEdit?

Yes. .txt files open in almost any text editor, word processor, or even web browsers. You can also open them in Mail, Notes, or any program that handles plain text. This is one reason .txt is useful — it's the most universal file format.

What if I save a file and it doesn't have a .txt extension?

Right-click the file in Finder, select "Rename", and add .txt to the end of the name. If the file was saved in the wrong format (like .rtf when you meant .txt), open it in TextEdit, go to Format > Make Plain Text, and save it again with Command+S.

Can I create a .txt file on my Mac and open it on Windows or a phone?

Yes. .txt files work on any device — Windows, Linux, iPhone, Android, Chromebook, everything. This is why plain text is so useful for sharing straightforward notes or lists across different computers and phones.

Is there a way to create a .txt file without using TextEdit?

Yes. Terminal is faster once you learn it, and any text editor (VS Code, Sublime, Atom) works too. But TextEdit is the simplest for most people because it's already on your Mac and requires no learning curve.