search
HomeSystem TutorialMACHow 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:

  1. Using TextEdit
  2. Using Terminal
  3. 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:

  1. Open Finder and select Applications from the left sidebar.
  2. Launch the TextEdit app.
  3. Click the New Document button.
  4. Select TextEdit from the task menu, then choose Settings.
  5. In the New Document tab, select Plain text.
  6. Close the window and start writing.

How to Create TXT File on Mac? How to Make It on Your MacBook Air/Pro?

How to Create TXT File on Mac? How to Make It on Your MacBook Air/Pro?

How to Create TXT File on Mac? How to Make It on Your MacBook Air/Pro?

How to Create TXT File on Mac? How to Make It on Your MacBook Air/Pro?

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:

  1. Open Finder, select Applications, and double-click on the Utilities folder.
  2. Launch Terminal.
  3. Type in the location where you want to save your TXT file, following this format: cd ~/Desktop. Hit the Enter key.
  4. Next, type in the file name you want to use, following this format: touch TXTfile.txt. Hit the Enter key again.
  5. Go to your chosen location to check whether the TXT file is there.

How to Create TXT File on Mac? How to Make It on Your MacBook Air/Pro?

How to Create TXT File on Mac? How to Make It on Your MacBook Air/Pro?

How to Create TXT File on Mac? How to Make It on Your MacBook Air/Pro?

How to Create TXT File on Mac? How to Make It on Your MacBook Air/Pro?

How to Create TXT File on Mac? How to Make It on Your MacBook Air/Pro?

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:

  1. Go to Commander One’s website and download it on your Mac.
  2. Install and launch the app.
  3. Go to File on the task menu, then select New File from the dropdown menu.
  4. Choose a file name and click the OK button.
  5. Start working on your new TXT file.

How to Create TXT File on Mac? How to Make It on Your MacBook Air/Pro?

How to Create TXT File on Mac? How to Make It on Your MacBook Air/Pro?

How to Create TXT File on Mac? How to Make It on Your MacBook Air/Pro?

How to Create TXT File on Mac? How to Make It on Your MacBook Air/Pro?

How to Create TXT File on Mac? How to Make It on Your MacBook Air/Pro?

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!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Launch All Apps & Documents Related to a Project with Stapler for MacLaunch All Apps & Documents Related to a Project with Stapler for MacMay 13, 2025 am 10:37 AM

Longtime Mac users may recall a handy old shareware application for the Classic Macintosh called Stapler, which essentially helped manage projects by grouping a series of apps and documents into a single document that when opened would then launch al

How to Get Apple Intelligence on Your iPhone, iPad, or MacHow to Get Apple Intelligence on Your iPhone, iPad, or MacMay 13, 2025 am 10:32 AM

Apple Intelligence is a set of AI features that Apple is rolling out in beta, and will debut to a larger set of Apple device owners in the fall. Apple Intelligence offers many features from writing and creating text and emails, to taking actions and

MacOS Sonoma 14.6.1 & Ventura 13.6.9 Released with Bug FixesMacOS Sonoma 14.6.1 & Ventura 13.6.9 Released with Bug FixesMay 13, 2025 am 10:25 AM

If you feel like you have spent a significant amount of your time updating system software on your Apple devices lately, you’re in for a treat; another round of system software updates! This time around, Apple has released MacOS Sonoma 14.6.1 alon

MacOS Sequoia 15 Beta 6 Available for TestingMacOS Sequoia 15 Beta 6 Available for TestingMay 13, 2025 am 10:23 AM

Apple has issued the 6th beta version of MacOS Sequoia for users enrolled in the developer beta testing program. Usually a matching public beta build arrives soon after, which in this case dev beta 6 would be versioned as public beta 4. MacOS Sequoia

MacOS Sonoma 14.6 Update Released with Bug Fixes & Security UpdatesMacOS Sonoma 14.6 Update Released with Bug Fixes & Security UpdatesMay 13, 2025 am 10:20 AM

Apple has released macOS Sonoma 14.6 for Mac users running the Sonoma operating system. The MacOS Sonoma 14.6 software update primarily focuses on bug fixes and security updates for most Macs, however it does include a nice new feature specifically

MacOS Sequoia 15 Beta 5 Available to DownloadMacOS Sequoia 15 Beta 5 Available to DownloadMay 13, 2025 am 10:06 AM

MacOS Sequoia beta 5 is now available for users enrolled in the developer beta testing program to download and install onto their Macs. MacOS Sequoia beta 5 carries the build of 24A5309e, and usually a new developer beta build is soon followed by a m

Beta 2 of iOS 18.1, MacOS Sequoia 15.1, & iPadOS 18.1 Released with Apple IntelligenceBeta 2 of iOS 18.1, MacOS Sequoia 15.1, & iPadOS 18.1 Released with Apple IntelligenceMay 13, 2025 am 09:49 AM

Apple has released the second beta of iOS 18.1, iPadOS 18.1, and MacOS Sequoia 15.1, each with support for Apple Intelligence AI features, on supported devices anyway. The release of these new beta updates is unusual in that they’re concurrent wit

How to Uninstall VMWare Fusion on MacHow to Uninstall VMWare Fusion on MacMay 13, 2025 am 09:44 AM

You might be aware that VMWare Fusion Pro is now free to download and install, and perhaps you installed it on a Mac to test virtual machines or to play around with, and now you’ve decided you no longer need VMware on the Mac. But VMware Fusion P

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Article

Hot Tools

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment