How to Create a New Text File on Mac
If you were working on a Windows PC, you would have been able to create a new file in a couple of easy steps. However, this feature is not there for Mac users.
How to Create a New Text File on Mac Reasons to Create Text File on Mac Method 1: Create Text File with Terminal on Mac Method 2: Create a New File using TextEdit Method 3: Integrate on Automator
- Right-click anywhere on your Desktop screen.
- Select New > Text Document, as shown.
Reasons to Create Text File on Mac
Before we take a look at the methods to create a text file on Mac, let us first examine the reasons why you might need it:
Quick access: The most common reason why one would like to create a new blank text file on Mac is for quick and easy access. Sometimes you may need a shortcut on your desktop to note down important things, during an office meeting or an online class. Text without formatting: Another reason you would want a blank text file would be to note down things without any formatting. Sometimes this technique helps to create better-appearing documents. For example, one can make crude articles in plain text format and then, paste these on a word processor for formatting. Explore newer functions: If you have transitioned to macOS recently, knowing how to create a new blank text file on Mac will help you greatly, especially, when you need to write down pointers.
As such, creating a new black text file on a macOS may confuse anyone who has just started using it. Hence, follow our step-by-step guide to create a text file on Mac.
Method 1: Create Text File with Terminal on Mac
The terminal app is an easy way to create a text file on Mac, as explained below:
Go to Finder and click on Services.
Click on the New Terminal at Folder option, as depicted.
Now, a Terminal window will open, including the current folder set according to your preference.
Type: touch myfile.txt in the Terminal. Note: Replace myfile.txt with the name with which you want to save your file. For example, mynotes.txt
Press Enter and then, exit the app.
Double-click on it to open and edit it, as you wish.
Method 2: Create a New File using TextEdit
This method is easier than downloading third-party applications and coding commands. The good thing is that this platform is inbuilt on every macOS, and thus, there are no additional purchases required. Follow the given steps to create a text file on Mac using TextEdit:
Launch Spotlight by pressing Command & Space keys together.
Open TextEdit on your Mac by searching for it in the Spotlight search bar.
In TextEdit, select New Document, as shown.
By default, the TextEdit app will create a file with rich text. Click on Make Plain Text from the Format menu.
You can now start writing. Once done, save this file by pressing the Command & S keys.
Here, rename your File and select the destination where it will get saved.
Press the Ok button to save it. Also Read: How to Use Utilities Folder on Mac
Method 3: Integrate on Automator
Even though the right-clicking option is not available on macOS, you can integrate it into the window of your preference. Follow the given steps to modify the required coding:
Click on Finder, and type Automator in the search bar.
Then, select New Document from the bottom left corner of the screen. Note: You can also press the keyboard shortcut keys Command + N to perform this function quickly.
Select an Application and click on Choose. In this case, Workflow.
Scroll down the list given in Library under the Actions tab.
Click on Utilities.
Click on Run AppleScript, as shown highlighted.
Now, drag Run AppleScript from there into Workflow.
Type: Tell application “Finder” to make a new file at (the target of the front window) as an alias.
Next, click on File and then, Save as NewTextDoc.app Note: Make sure to select Application in Where and File Format options.
Open Applications folder using Finder.
Press and hold Option – Command keys and simultaneously drag the NewTextDoc application to the toolbar.
Hereon, you will be able to create a new document in any folder by simply, clicking on the Automator option in the toolbar.
The new text file will be named untitled. You can rename the file as per your preference. MacOS versions include two command-line text editors, i.e., Vim and Emac, however, they can get a little complex and may need some getting used to. While these open-source tools are free to use, you can also buy and download additional editing software programs that you may be more comfortable using.
Atom is a hackable, text editor often used to create a text files on Mac. Microsoft Word is also used to create a new file on Mac.
Recommended:
How to Add Fonts to Word Mac Fix Could Not Sign in to iMessage or FaceTime 5 Ways to Fix Safari Won’t Open on Mac Fix MacOS Big Sur Installation Failed Error
We hope this guide was able to give you proper, step-by-step instructions to create a text file on Mac. You should now feel confident to create a text file with Terminal on Mac. If you have any further queries, don’t hesitate to put them down in the comments section below.