macReports

Apple iOS Mac OS X Reports , Help and News

  • How to
  • News
  • Not working?
  • Tips and Tricks
  • Guides
You are here: Home / Guides / How To Create A Text (TXT) File On A Mac

How To Create A Text (TXT) File On A Mac

Last updated on December 11, 2018 By Serhat Kurt 5 Comments

A text (TXT) file contains unformatted text with the file extension .txt (e.g., macreports.txt). By unformatted, it is meant that these type of text files are plain text files without any styling and formatting, for instance, these documents do not have bold texts, italic texts, images, colors, different font types, hyperlinks, tables, bulleted lists etc. These documents just have plain texts. A TXT file can be created, opened and edited on a Mac with a text editor. An example of a text editor is TextEdit, which is included with the macOS software. Here is how you can create a text file:

a text file

Open and use TextEdit and create a text file

  1. Open the TextEdit app on your Mac (Applications > TextEdit, or use Spotlight, press Command-Space bar, to search, find and open TextEdit). TextEdit is a text editing and word processing tool that comes with your Mac.
  2. In the TextEdit app, choose File > Open. TextEdit has two format modes: (a) plain text (.txt file) and (b) rich text (.rtf file). The difference is that .txt mode will not allow formatting, while .rtf mode will let you format like adding images, colors, tables etc.
  3. Default format is rich text format. You can change this by going to TextEdit > Preferences and select Plain Text.TextEdit preferences
  4. You can also change the mode while you editing your text by going to Format > Make Plain Text or Format > Make Rich Text. If you change a .rtf file (rich text) to .txt file (plain text), your document will lose all formatting options.TextEdit formats
  5. Create and edit your text file
  6.  And then go to File > Save to save your text file. text file save
  7. Name your file and save it. create and save a .txt file

You can also create more rich documents, you can use Pages, Pages for iCloud or similar apps. One other note is that text files are also known as flat files or ASCII files.

See also: Where Do Screenshots Go On Mac?

Filed Under: Guides Tagged With: .TXT, Text File, TextEdit

Comments

  1. no one says

    October 21, 2020 at 5:57 pm

    how can I use this with python coding

    Reply
  2. Kelu says

    October 12, 2020 at 3:20 am

    That’s work, thank you
    I can create file and add the .txt at the end by myself.

    Reply
  3. B2B Infosoft says

    August 17, 2020 at 11:14 am

    We tried to do this but it’s showing this “You cannot save this document with extension “.txt” at the end of the name. The required extension is “.rtf”.”

    Reply
    • no one says

      October 21, 2020 at 5:57 pm

      it is complicated first you do the thing they do and make sure you do it , and in format click make plaintext then it will work

      Reply
  4. Chin says

    June 9, 2020 at 4:15 pm

    Sorry mind to ask, why i cannot find it? I follow the instruction space command find textedit.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Follow us

  • Facebook
  • RSS
  • Twitter

Got a tip for us? Email us.

Latest Posts

How to Boot in Single-user Mode or Verbose Mode in macOS

Unable to Load: An Error Occurred While Loading a Higher Quality Version of this Photo or Video, Fix

How to Use Apple Watch to Track your Sleep

How to get AirPods Pro with Static, Crackling Replaced for Free

How to Fix Keyboard Lag on Mac

Pages

  • About macReports
  • Contact Us
  • Privacy Statement
  • Terms of Use

Tags

AirPods Apple Car Apple Company Apple ID Apple Music Apple Pay Apple TV Apple Watch Apps App Store Backup Black Screen Bluetooth Catalina FaceTime iCloud iMessage iMessages iMovie iOS iOS 14 iPad iPhone iTunes Keyboard Mac Mac Battery MacBook macOS macOS Big Sur Mail Mail App Messages Music Notifications PDF Photos Safari screenshot Siri Spotlight Search Update Wi-Fi Windows YouTube

Search macReports

Categories:

  • Guides
  • How to
  • News
  • Not working?
  • Tips and Tricks

About macReports:

This website is founded by Serhat Kurt. He worked as a Senior Technology Director. He holds a doctoral degree (or doctorate) from the University of Illinois at Urbana / Champaign and a master’s degree from Purdue University.

Stacey Butler

Stacey Butler is a tech writer at macReports covering news, how-tos, and user guides. She is a longtime Mac and iPhone user and holds a Ph.D. from the University of Illinois at Champaign-Urbana.

 

This website is not affiliated with Apple.

Copyright © 2021 / macReports

This website uses cookies. By navigating around this site you consent to cookies being stored on your machine.Accept