The fastest way depends on what you already have open
Creating a text document takes seconds, but the method changes based on your operating system and what software you have available. On Windows, you can right-click your desktop or inside a folder and select "New" → "Text Document". On Mac, open TextEdit from Applications → Utilities, go to Format menu, choose "Make Plain Text", then save. On Linux, right-click in a file manager window and select "Create Document" or "New File", or open a terminal and type touch filename.txt.
The simplest approach on any system is to open whatever text editor came pre-installed — Notepad on Windows, TextEdit on Mac, gedit or Kate on Linux — and immediately save a blank file with a name and location you choose. This takes one or two clicks and gives you a working document in seconds.
Key Takeaways
- Windows users can right-click the desktop or a folder and select "New" → "Text Document" to create a file instantly without opening any program.
- Mac users should open TextEdit, switch to plain text mode in the Format menu, and then save the file with a .txt extension.
- Linux users can right-click in a file manager and select "Create Document", or type touch filename.txt in a terminal window.
- Saving immediately after creation ensures your document has a proper filename and location, preventing accidental loss if you close the window.
Creating a text document on Windows
Right-click on your desktop or inside any folder where you want the file to appear. A menu will pop up. Select "New", then click "Text Document". Windows will create a file named "New Text Document.txt" with the name highlighted so you can type over it immediately. Type the name you want and press Enter.
If you prefer to open a program first, click the Start button, type "Notepad", and press Enter. Notepad opens with a blank page. Type or paste your content, then press Ctrl+S to save. A dialog box appears asking where to save and what to name the file. Choose your location, type a filename (Windows adds .txt automatically), and click Save.
Both methods create a plain text file that opens in Notepad by default. If you want to use a different program like Word or Google Docs instead, you can still create the basic text file this way and open it with another application later.
Creating a text document on Mac
Open Finder and navigate to Applications. Double-click Utilities, then double-click TextEdit. A window opens with a blank page. Before you start typing, go to the Format menu at the top and select "Make Plain Text". This is important — TextEdit defaults to rich text format, which adds invisible formatting that can cause problems if you need a simple .txt file.
Type or paste your content. When you are ready to save, press Command+S. A dialog box appears. Type your filename, make sure the file format dropdown shows "Plain Text", choose where to save it, and click Save. Mac will add the .txt extension automatically if you do not type it.
If you want to use a different text editor, Mac also includes nano and vim in the Terminal, though both require typing commands. For most people, TextEdit is the easiest built-in option.
Creating a text document on Linux
The method depends on which desktop environment you use. In most file managers (Nautilus, Dolphin, Thunar), right-click in an empty area of the folder where you want the file. Select "Create Document" or "New File". A dialog box or inline text field appears. Type your filename with a .txt extension and press Enter.
If you prefer the terminal, open it and navigate to the folder where you want the file. Type touch filename.txt and press Enter. The file appears instantly. You can then open it with any text editor by typing nano filename.txt (for a simple editor) or gedit filename.txt (for a graphical editor).
Most Linux distributions come with gedit, Kate, or mousepad as the default text editor. If you create a file through the file manager, it usually opens in whichever editor is set as default when you double-click it.
Choosing where to save your document
When you save a new text document, the dialog box shows you a folder location. On Windows, the default is usually your Documents folder or Desktop. On Mac, it defaults to your Documents folder. On Linux, it depends on your file manager settings but is often your home directory or a folder you were already viewing.
You can navigate to a different folder before saving. Create new folders if you need them — most save dialogs have a "New Folder" button. Organizing files into folders as you create them makes them much easier to find later. A simple structure like Documents → Projects → Project Name → filename.txt works well for most people.
If you are not sure where to save, your Documents folder or Desktop is always a safe choice. You can move or rename the file later if needed.
Naming your text document correctly
A filename should describe what is in the file and end with .txt so your computer knows it is a text document. Good examples: "grocery_list.txt", "meeting_notes_2024.txt", "recipe_chocolate_cake.txt". Avoid spaces if possible — use underscores or hyphens instead, since some older programs have trouble with spaces in filenames.
Windows, Mac, and Linux all handle .txt files the same way, so a file you create on one system opens normally on another. Do not use special characters like / \ : * ? " < > | in your filename, as these can cause errors on some systems.
If you accidentally name a file wrong, you can rename it later. Right-click the file and select "Rename", type the new name, and press Enter.
Opening and editing your text document
Once you have created and saved a text document, opening it is simple. Double-click the file and it opens in your default text editor. On Windows, that is Notepad. On Mac, it is TextEdit. On Linux, it is usually gedit or Kate. You can then type, paste, or edit the content as needed.
If you want to open the file in a different program, right-click it and select "Open With" (Windows and Linux) or "Open With" from the File menu (Mac). Choose the program you prefer. You can also set a different default editor if you use one regularly — right-click the file, select Properties or Get Info, and look for an "Open With" or "Default Programs" option.
Frequently Asked Questions
What is the difference between a text document and a Word document?
A text document (.txt) contains only plain text with no formatting — no bold, italics, colors, or special fonts. A Word document (.docx) can include formatting, images, tables, and other features. Text documents are smaller, open faster, and work on any device, but Word documents look fancier and let you control how text appears on the page.
Can I create a text document without opening any program?
Yes. On Windows, right-click your desktop or a folder and select "New" → "Text Document". On Mac, you need to open TextEdit first. On Linux, right-click in a file manager and select "Create Document". The Windows method is the fastest because it skips opening an application entirely.
What if I save a file but cannot find it later?
Check the folder you saved it to — look in Documents, Desktop, or Downloads first. On Windows, open File Explorer and type the filename in the search box at the top right. On Mac, open Finder and use the search box in the top right corner. On Linux, open your file manager and search from there. If you remember part of the filename, searching for that part usually finds it.
Can I create a text document on my phone or tablet?
Yes, but you need a text editor app. On iPhone or iPad, Notes is built in and works for simple text. On Android, Google Keep or the built-in Notes app work well. These apps save automatically, so you do not have to worry about saving manually like you do on a computer.
Is it safe to delete a .txt file?
Yes, deleting a text document is safe and permanent (unless you recover it from trash). Before you delete, make sure you have a copy somewhere else if the content matters. On Windows and Mac, deleted files go to Trash or Recycle Bin first, so you can recover them if you change your mind. On Linux, behavior depends on your file manager, but most move files to Trash as well.