How to Create TXT File on Mac? How to Make It on Your MacBook Air/Pro?
Why create a TXT file on a Mac
TXT files are very convenient for creating simple text files, writing code, and keeping important information safe.
Specifically, they’re suitable for users who need to write text without any additional formatting. Unlike .docx or Pages documents, you can’t change elements, such as font type, size, or color, adjust margins or paragraphs, or add non-text elements like images or graphics.
This is why TXT documents can be useful for you:
- TXT files are often used for simpler tasks, such as taking notes, composing novels, making shopping lists, or drafting personal letters and cover letters.
- Some people also use them to store important information such as passwords, instructions, mailing or home addresses, and phone numbers.
- In a professional context, they’re commonly used to write code, such as HTML or CSS, and to store log files.
- TXT documents are one of the oldest file types, which contributes to their simplicity. While they are often overlooked, they have significant advantages, such as being lightweight and taking up minimal storage space.
- They’re ideal for avoiding compatibility issues with major word processors. They can be opened in both Microsoft Word and Apple’s Pages, regardless of whether you’re using older or newer versions of Windows or macOS.
However, the simplicity of TXT files also means they offer less protection compared to more advanced formats like .docx. To improve its security, you should learn how to encrypt a file on a Mac.
How to make a TXT file on Mac
Despite the simple nature of TXT files, this format is becoming increasingly less common and is no longer the default option in apps like macOS’s TextEdit. Fortunately, there are several ways to continue enjoying the benefits of TXT files on Apple computers.
Here’s how to create a TXT file on your Mac:
- Using TextEdit
- Using Terminal
- Using third-party apps
1. Using TextEdit
Although Apple has removed .txt as the default format for its TextEdit text editor, you can still use it to create TXT files. We believe it’s the easiest way to create TXT documents on your Mac. The program comes pre-installed, is free to use, and has a very user-friendly interface.
We advise you to create a TXT file with TextEdit as follows:
- Open Finder and select Applications from the left sidebar.
- Launch the TextEdit app.
- Click the New Document button.
- Select TextEdit from the task menu, then choose Settings.
- In the New Document tab, select Plain text.
- Close the window and start writing.
2. Using Terminal
Another straightforward option we recommend is to create TXT files using Terminal. The program is already installed on your Mac, so you don’t need to download any additional apps. However, we believe you might prefer another option if you’re not too tech-savvy, as it requires some technical knowledge.
But fear not! Follow our step-by-step instructions to create a TXT file using Terminal:
- Open Finder, select Applications, and double-click on the Utilities folder.
- Launch Terminal.
- Type in the location where you want to save your TXT file, following this format: cd ~/Desktop. Hit the Enter key.
- Next, type in the file name you want to use, following this format: touch TXTfile.txt. Hit the Enter key again.
- Go to your chosen location to check whether the TXT file is there.
3. Using third-party apps
In our opinion, the least recommended option involves downloading a third-party app. This doesn’t mean we think it’s a bad choice. An app like Commander One can be useful for other purposes as well, such as managing the files and folders on your Mac. And more importantly, it’s free!
Although there are various third-party apps to create TXT files, we’ll explain how to do it using Commander One:
- Go to Commander One’s website and download it on your Mac.
- Install and launch the app.
- Go to File on the task menu, then select New File from the dropdown menu.
- Choose a file name and click the OK button.
- Start working on your new TXT file.
What to do if your TXT file won’t save on Mac
TXT files typically don’t cause many problems, thanks to being lightweight, simple, and widely compatible. However, some users have reported issues when trying to save these documents on a Mac.
If you’re having trouble saving a TXT file, here are a few potential reasons and solutions:
- Insufficient disk space: If your disk is full, you won’t be able to save new documents. Using MacKeeper can help you delete unnecessary, large, and duplicate files to free up storage. For more information, see our tutorial on how to delete files on a MacBook.
- File permission restrictions: To resolve permission issues, click on the app you’re using to create the TXT file, select File from the menu, and choose Get Info. In the new window, you can adjust the permission settings, which may help resolve the saving issue.
- System glitches: System glitches can prevent you from saving files. In these cases, we recommend restarting your computer or force quitting the app. Other possible solutions include uninstalling and reinstalling the program or clearing the cache with an app like MacKeeper.
- Corrupted preferences: The above solutions may also help when your app’s preferences are corrupted. Alternatively, you can try another method to create a TXT file previously mentioned or download a different third-party app.
To avoid problems when transferring TXT files (or any documents) via email or flash drives, consider compressing the documents. This can help reduce their size and prevent transfer issues. If you’re interested, we recommend checking out our article on how to zip files on a Mac.
TXT files on Mac are no longer a problem
TXT files offer several advantages, including ease of use, wide compatibility, and small file size. Although they’re no longer the default format in Mac’s TextEdit, there are still several ways to create them. You can use TextEdit itself, utilize the preinstalled Terminal on your Mac, or turn to third-party apps.
If your Mac isn’t well organized, it can lead to difficulties when saving TXT files and other document types. To help with this, we recommend using MacKeeper’s Duplicates Finder tool to delete the redundant file copies from your Mac.
The above is the detailed content of How to Create TXT File on Mac? How to Make It on Your MacBook Air/Pro?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











After upgrading to the latest macOS, does the Mac run slower? Don't worry, you are not alone! This article will share my experience in solving slow Mac running problems after upgrading to macOS Sequoia. After the upgrade, I can’t wait to experience new features such as recording and transcription of voice notes and improved trail map planning capabilities. But after installation, my Mac started running slowly. Causes and solutions for slow Mac running after macOS update Here is my summary of my experience, I hope it can help you solve the problem of slow Mac running after macOS Sequoia update: Cause of the problem Solution Performance issues Using Novabe

macOS WindowServer: Understanding High CPU Usage and Solutions Have you noticed WindowServer consuming significant CPU resources on your Mac? This process is crucial for your Mac's graphical interface, rendering everything you see on screen. High C

OneDrive for Mac: A Comprehensive Uninstall Guide OneDrive, Microsoft's cloud storage service, offers online file storage and synchronization across various platforms, including Mac. However, you might need to remove it for storage optimization, inc

Managing Mac storage: A comprehensive guide to deleting files Daily Mac usage involves installing apps, creating files, and downloading data. However, even high-end Macs have limited storage. This guide provides various methods for deleting unneces

Since Apple's first iPad was released in 2010, it has begun designing its own chips for its devices. The latest iteration of chips is the Apple A15 bionic chip on the iPhone 13. However, for Mac, the first Apple self-developed chip, the Apple M1, was not released until 2020 with the MacBook Air, Mac mini and MacBook Pro. In 2021, the 24-inch iMac followed closely, followed by improvements on the 14-inch and 16-inch MacBook Pro (as the Apple M1 Pro and A

Adobe Photoshop: The Industry Standard and its Alternatives Adobe Photoshop remains the gold standard for raster image editing, a professional's choice for over three decades. Its influence is undeniable, shaping nearly every subsequent image editor

Have you seen a message saying, “The version of macOS needs to be reinstalled” or “The version of macOS on the selected disk needs to be reinstalled”?Maybe you’ve recently installed a new macOS, just bought a used Mac, or the message

Choosing the Right Email Provider: A Comprehensive Guide Tired of your outdated email address? This guide helps you select a new digital home among the best free email providers, covering top services and their accompanying Mac and iOS apps. Key Co
