Create a plain text file on MacOS

Posted in Notes on 1 April 2017

This post has been archived

The content of this post has not been updated since 2017, and may be out of date. Extra care should be taken with any code provided.

Quick guide to creating simple plain text (.txt) files on Microsoft Windows, Apple MacOS and Linux.

Text files are useful for sending code or short pieces of information that may get corrupted or changed if shared directly in an email, messaging platform or support portal.

On Apple MacOS you will be able to create a plain text file using the “TextEdit” program that comes as standard.

  1. Launch Spotlight using Command + Space
  2. Search for “TextEdit”
  3. In TextEdit select “New Document”

By default TextEdit will try and create a rich text document, to switch to plain text.

  1. Switch to plain text using the “Format” dropdown and click on “Make Plain Text”.
  2. Update the content of the document as required
  3. Save the file as usual, when naming it append the file name with “.txt”
  4. This will create a text file you can share.

Related Notes Posts

October 2024

What's going on between WordPress and WP Engine?

The disagreement between WordPress and WP Engine has sparked considerable debate within the WordPress community and could have important implications for users of the WordPress... Continue reading

August 2024

Guide to writing a good cookie policy (UK)

A cookie policy informs website visitors about the cookies your website uses, why they are used, and how users can control them. > **The information... Continue reading

May 2024

Email and newsletter deliverability best practice

Email deliverability refers to the ability of an email to successfully reach the recipient's inbox, rather than being marked as spam or bouncing back. High... Continue reading

More Notes Posts