How to Make a Text Document on Mac: Every Method Explained
Creating a text document on a Mac is straightforward once you know which tool fits your situation — but the options are more varied than most people expect. macOS gives you several built-in ways to create text files, and each one produces a slightly different result depending on the app you use, the file format you need, and what you plan to do with the document afterward.
What "Text Document" Actually Means on a Mac
Before diving into steps, it helps to know that "text document" can mean two different things:
- A plain text file (.txt) — no formatting, no fonts, just raw characters. Useful for code, notes, scripts, and anything that needs to be read by other programs.
- A rich text or word-processing document (.rtf, .docx, .pages) — supports fonts, headings, bold, images, and layout.
Which type you need shapes which app makes the most sense.
Method 1: Using TextEdit (Built Into Every Mac)
TextEdit is Apple's built-in text editor and the fastest way to create a document without installing anything.
- Open Spotlight (Command + Space), type TextEdit, and press Enter.
- Click New Document.
- Start typing.
By default, TextEdit opens in Rich Text mode, which gives you basic formatting options like bold, italics, and font selection. This saves as an .rtf file.
Switching TextEdit to Plain Text Mode
If you need a true .txt file:
- Go to Format → Make Plain Text (or press Shift + Command + T).
- The toolbar formatting options will disappear, confirming you're now in plain text mode.
- When you save (Command + S), the file will default to .txt format.
You can also set plain text as the permanent default under TextEdit → Settings → New Document → Plain Text.
Saving Your TextEdit Document
- Press Command + S to save.
- Choose a folder, name the file, and confirm the format.
- TextEdit will warn you if you're saving a rich text document as plain text, since formatting will be stripped.
Method 2: Using Pages
Pages is Apple's full word-processing application, pre-installed on most Macs. It's the right tool when you need formatted documents — reports, letters, structured notes — with more design control than TextEdit offers.
- Open Pages from the Applications folder or Launchpad.
- Choose a template or select Blank for a clean start.
- Begin typing and use the toolbar to apply formatting.
Pages saves in its own .pages format by default, but you can export to Word (.docx), PDF, or plain text via File → Export To.
🗒️ If you're sharing documents with Windows users or teams using Microsoft Office, exporting as .docx avoids compatibility friction.
Method 3: Using Terminal (Plain Text via Command Line)
For users comfortable with the command line, Terminal offers a fast way to create plain text files.
- Open Terminal (found in Applications → Utilities).
- Navigate to your desired folder using cd, for example: cd ~/Documents
- Create a new file by typing: touch filename.txt
- To open and edit it directly in Terminal, use a text editor like nano: nano filename.txt
- Press Control + X to exit nano, then confirm saving.
This method produces a pure plain text file with no formatting layer whatsoever — preferred by developers, system administrators, and anyone working with configuration files or scripts.
Method 4: Using Microsoft Word or Google Docs
If your workflow or workplace already relies on Microsoft Word or Google Docs, creating a document follows a familiar pattern:
- Word: Open the app, choose Blank Document, and save as .docx or any supported format.
- Google Docs: Open a browser, go to docs.google.com, click the + icon, and your document saves automatically to Google Drive as you type.
Google Docs is cloud-native, meaning there's no local file unless you explicitly download it. Word saves locally by default but also syncs to OneDrive if configured.
Comparing Your Main Options 📄
| Method | File Type | Formatting | Best For |
|---|---|---|---|
| TextEdit (Rich) | .rtf | Basic | Quick formatted notes |
| TextEdit (Plain) | .txt | None | Scripts, code, raw text |
| Pages | .pages / .docx | Full | Designed documents |
| Terminal | .txt | None | Developers, power users |
| Word | .docx | Full | Office compatibility |
| Google Docs | Cloud / .docx | Full | Collaboration, cloud access |
Factors That Affect Which Method Works for You
The "right" way to create a text document on a Mac shifts depending on several variables:
macOS version: Older versions of macOS may have slightly different versions of TextEdit or Pages. Core functionality remains consistent, but interface details vary across major releases.
What you'll do with the file: A document you'll share with a Windows colleague has different format requirements than a personal note or a shell script. Plain .txt files are universally readable; .pages files are not.
Collaboration needs: If multiple people need to edit the same document, a cloud-based tool like Google Docs or Pages with iCloud sharing changes the workflow significantly compared to a local file.
Technical comfort level: Terminal is powerful and precise but assumes familiarity with command-line navigation. TextEdit requires nothing beyond basic Mac usage.
File size and complexity: Simple notes and code snippets rarely need anything beyond plain text. Long documents with tables, images, and headers benefit from a full word processor.
🖥️ The format you choose also affects how the file behaves when opened on another device or operating system — something worth thinking through before you commit to a file type.
Most Mac users can create a workable text document in under a minute using TextEdit. But whether that's the right document, in the right format, for the right purpose — that depends entirely on what you're building and who needs to use it.