Facebook
Menu

How to set up text replacements on a Mac

Shown on
MacBook Neo
Software
macOS 27.0.1More macOS 27 guides
Checked
October 2026
Real screenshots
8 of 8 steps
By Published 2 October 2026Updated 22 November 20264 min read
Real screenshot: MacBook Neo, macOS 27.0.1Real screenshot · MacBook Neo, macOS 27.0.1

Quick answer

Open System Settings, click Keyboard, then Text Replacements…. Click +, type the short code under Replace and the full text under With, click Add, then Done. Typing the code and a space now inserts the full text.

Steps

0 of 8 steps
  1. 1

    Open System Settings

    Click the Apple menu in the top left corner of the screen and choose System Settings.

    Mac screenshot: Open System Settings
  2. 2

    Click Keyboard in the sidebar

    Keyboard is near the bottom of the sidebar, so you may need to scroll.

    Mac screenshot: Click Keyboard in the sidebar
  3. 3

    Click Text Replacements…

    The Text Replacements… button is lower down in the Keyboard settings.

    A list of your replacements opens, with Replace and With columns.

    Mac screenshot: Click Text Replacements…
  4. 4

    Click the plus button

    It is at the bottom left of the list.

    On our MacBook Neo the list already held one entry: omw, replaced with On my way!.

    Mac screenshot: Click the plus button
  5. 5

    Type the short code and the full text

    Type the short code in the Replace field and the text it should become in the With field. Choose a code you would never type by accident.

    On our MacBook Neo, macOS 27 opens a small separate window with Replace and With fields rather than an empty row in the list.

    Mac screenshot: Type the short code and the full text
  6. 6

    Click Add

    Add only becomes available once you have typed in the fields.

    On our MacBook Neo we used hts1 as the code and How To, Simply test as the text.

    Mac screenshot: Click Add
  7. 7

    Check the list and click Done

    The new entry appears in the list alongside the existing ones.

    On our MacBook Neo hts1 appeared above omw.

    Mac screenshot: Check the list and click Done
  8. 8

    Try it

    Open an app such as TextEdit, type the short code and press the Space bar. The full text replaces it.

    On our MacBook Neo typing hts1 and a space in a new TextEdit document produced How To, Simply test.

    Mac screenshot: Try it

If you do not see this option

  • No empty row after clicking plus On our MacBook Neo with macOS 27, the plus button opened a small window with Replace and With fields and Cancel and Add buttons. Type your entry there.
  • Add is greyed out On our MacBook Neo, Add stayed dimmed until we had typed in the fields. Fill in Replace and With, then click Add.
  • Keyboard is not in the sidebar You may need to scroll down. Inside an app, another route is Edit > Substitutions > Show Substitutions, and then click Text Settings.

If this does not work

  • The code is not replaced Make sure the app has text replacement switched on: go to Edit > Substitutions and look at Text Replacement (the tick tells you if it’s on). Apple says text replacements do not work in every app, so test in TextEdit, where it worked for us.
  • The replacement text is wrong A typo here is easy to put right. Open Text Replacements…, select the entry, click the minus button (−) to remove it, then add it again with the correct text.
  • It works in some apps but not others Apple says that in some apps the choices are in the Edit menu under Substitutions, Show Substitutions. Check that text replacement is turned on there.

Good to know

Text replacements do not work in every app, and that is not your Mac being stubborn. Apple says so itself. In some apps the choices are in the Edit menu under Substitutions, Show Substitutions.

With iCloud Drive set up on your Mac, iPhone and iPad and the same Apple Account on each, a replacement you add on one device works on the others as well, so you only have to set it up once.

To copy your replacements to another Mac, select them in the list and drag them to the desktop. That creates a file you can drag into the Text Replacements window on the other Mac.

To remove a replacement, open Text Replacements…, select the entry and click the minus button (−).

Start short codes with an unusual letter pair, such as xx, so that ordinary words never trigger them. Pick a real word as your code and your Mac will happily swap it for the long text every time you write that word, which is funny exactly once.

Text replacements sync to your iPhone through iCloud: how to create text shortcuts on iPhone.

Autocorrect changing words you meant? How to turn off autocorrect on a Mac.

macOS 27 compared with macOS 26: We rewrote this guide on macOS 27.0.1 (MacBook Neo): it now has 8 steps instead of 6. The macOS 26 page keeps the steps and screenshots as they were.

Version history: the macOS 26 version of this guide, with its own screenshots.

About this guide

Well, if you have typed your own email address so often that your fingers could do it in their sleep, this one is for you. A text replacement automatically swaps certain text for other text, for example fwiw for for what it’s worth.

Device
Mac
Shown on
macOS 27.0.1 (MacBook Neo)
App
System Settings
Real screenshots
8 of 8 steps
Checked
October 2026
Sources
2 official, linked below

Did this guide work for you?

Get new guides by email

Our newest guides, sent to your inbox. Free, and you can unsubscribe in one click.

We'll email you to confirm. How we use your email

Follow howtosimply on Facebook

We share our new guides on our Facebook page, so the next fix turns up in your feed.

Follow on Facebook

Also on Instagram · Threads · Pinterest · YouTube

Share this guide