Guide

Text Replacement Not Working on Mac? How to Fix It

Updated

A white Apple keyboard at an angle on a dark desk in blue-green light, its far end falling out of focus.
Photo: Josh Sorenson / Pexels

Mac text replacement often stops working in one app at a time. The fix is in that app’s Edit menu. Choose Edit → Substitutions and look at Text Replacement. If it has no checkmark, choose it and your entries start working again. If it already has one, turn it off and on.

If that changes nothing, or the menu has no Substitutions item, the app may not support the feature. Apple says text replacements “aren’t available in all apps”. Microsoft Word is the best-known case. When nothing expands in any app, refreshing the list is the next thing to try.

These fixes all rely on each app supporting the feature. Super Shortcuts puts the text on a key instead. You press the key, and it types the text almost anywhere you can type.

1. Turn it back on in that app

Apps that support Text Replacement usually have their own switch for it in the Edit menu: Edit → Substitutions → Text Replacement. A checkmark means it’s on. Click into a document or text field first if the item is grayed out.

It can get turned off in one app while every other app keeps working. TidBITS ran into exactly that and never found out what turned it off.

If the item already has a checkmark and nothing expands, choose it once to turn it off. Then choose it again to turn it back on.

2. Check that the app supports it

Apple’s help page says text replacements “aren’t available in all apps”. The feature comes from the text system macOS provides. An app that draws its own text fields often doesn’t get it. That’s why the same entry can work in Notes and do nothing in your code editor.

Look in the app’s Edit menu. With no Substitutions item, the app probably isn’t reading your list. Firefox is an exception. Then type your abbreviation and a space in TextEdit. If it expands there, your list is fine and the problem is the app.

These come up most often:

3. Check the entry and how you’re typing it

Open System Settings → Keyboard → Text Replacements and find the entry. On macOS 12 and earlier, it’s System Preferences → Keyboard → Text. Compare the text you set to replace with what you’re typing, letter by letter.

macOS makes the swap when you finish the abbreviation with a space or a punctuation mark. If you type it and stop, nothing happens. To undo a swap you didn’t want, press ⌘Z right after it.

4. Refresh the list and restart

If nothing expands in any app, the list itself may be stuck. Apple doesn’t document this fix, but Mac users have reported it working for years:

  1. Open System Settings → Keyboard → Text Replacements.
  2. Click the Add button, make a throwaway entry and click Add.
  3. Select the new entry, delete it and click Done.
  4. Restart your Mac and try an abbreviation in TextEdit.

If a macOS update is waiting, install it too.

5. Fix sync between your Mac and iPhone

Apple’s sync needs two things: iCloud Drive set up on your Mac, iPhone and iPad, and the same Apple Account signed in on each. Check those first.

This sync has a long history of trouble, and Apple doesn’t document a repair. If entries are still missing, Mac users report that rebuilding the list works.

Apple only describes importing the file on a Mac. As a result, your iPhone and iPad get their entries back only if iCloud sync starts working again. Import can also be unreliable on long lists. TidBITS found that files of about 100 entries usually worked and a 1,000-entry file was unpredictable. If your list is that long, we’d skip this repair.

  1. Put everything on your Mac. The backup only holds what’s on the Mac, so add any entries that exist only on your iPhone or iPad.
  2. Export your list. In Text Replacements, choose Edit → Select All, then drag the entries to your desktop. macOS saves them as a .plist file, named property list.plist or Text Substitutions.plist depending on your macOS version.
  3. Delete the entries on every device signed in to that account.
  4. Import the file. Drag the file into the Text Replacements window on your Mac and click Done. If the window refuses it, drag it in again. Reopening System Settings sometimes helps.

Keep that file until your entries are back on every device. The same file moves your list to another Mac.

Put the text on a key

We built text shortcuts in Super Shortcuts so the app you’re typing in doesn’t have to support anything.

It types for you. You press a key where you’d have typed a code. The Type text step presses the keys as if you’d typed the words yourself. That way it works almost anywhere you can type, including the apps above. The exceptions are a password field and Terminal with Secure Keyboard Entry on. There, macOS blocks apps like ours from typing.

Nothing to memorize. The Shortcut Keyboard lists each key’s job on screen whenever the Super key is down. You can choose S for your signature, or A for your address if that makes sense to you.

A different text in each app. A shortcut can work in just one app or website. That way one key can type one reply in Gmail and another in Zendesk.

Today’s date and the clipboard. A macOS text replacement is fixed text. Chips under the Type text field drop in today’s date, the current time, your clipboard or your selection the moment you press the key.

Chat boxes and long text. If the app sends on Return, set Line breaks to Shift + Return. A multi-line message then stays in the message box. For long passages, Paste text is faster and puts your clipboard back afterward.

To set one up, download Super Shortcuts, click New Shortcut, choose Type a text and write or paste your text. Pick a key, like Super key + S, and choose whether it works everywhere or in one app. Put the cursor where the text should go and press the key. The first run asks for Accessibility permission. That’s how the app sends keys. All of this is on the Free plan, which covers up to 10 shortcuts.

When to keep Text Replacements

Keep it if you want the same abbreviations on your iPhone and iPad. Super Shortcuts only runs on the Mac. The built-in feature is also already on your Mac and costs nothing. For a handful of short codes in apps that support it, it’s all you need.

A key for each text works best for the few dozen things you reuse most. If you keep hundreds of snippets behind abbreviations, a text expander is the better tool. A dedicated expander usually reaches more apps than the built-in feature. Espanso is free and open source. Super Shortcuts has no abbreviations, so it can run alongside any of them.

Frequently asked questions

Why did text replacement stop working on my Mac?

It's often turned off in that one app. Apps that support it usually have their own switch under Edit → Substitutions. That switch can end up off with no warning. Another cause is an app that never supported the feature, which Apple says is true of some apps. Less often, the whole list stops expanding. Mac users report that adding and deleting an entry, then restarting, brings it back.

How do I use text replacement on Mac?

Open System Settings → Keyboard → Text Replacements and click the Add button. Enter the text to replace and what should replace it. Click Add, then Done. After that, type the abbreviation followed by a space or punctuation mark and macOS swaps it for the full text.

Does Mac text replacement work in Chrome?

Chrome's Edit menu has Substitutions → Text Replacement, so check that it's on there. Whether it works inside a page can still depend on the page. Google Docs is the usual problem. Mac users report that their replacements don't expand in a document. Docs keeps its own replacement list in its preferences.

Why doesn't text replacement work in Microsoft Word on Mac?

Mac users report that Word's main document doesn't read the macOS list, though entries can still expand in comments. The document uses AutoCorrect, Word's own list in its Tools menu. Add any entry you made in System Settings there as well.

Why are my text replacements not syncing between Mac and iPhone?

Apple's sync needs iCloud Drive set up on each device and the same Apple Account signed in on each. If both are right and entries are still missing, Mac users report that rebuilding the list works. Add anything that's only on your iPhone or iPad to your Mac and export the list. Delete the entries on every device, then import the file on your Mac. Your iPhone and iPad only get them back if iCloud sync starts working again. If your list runs to around 1,000 entries, we'd skip this, because import can become unpredictable.

How do I back up my text replacements on Mac?

In System Settings → Keyboard → Text Replacements, select the entries and drag them to your desktop. Edit → Select All takes them all. macOS creates a .plist file, named property list.plist or Text Substitutions.plist depending on your macOS version. To restore them, drag that file into the Text Replacements window and click Done.

What can I use instead of text replacement on Mac?

It depends on how you want to trigger the text. If you like typing an abbreviation, a dedicated text expander usually reaches more apps. Espanso is free and open source. If you'd rather press a key, we built Super Shortcuts for that. There's no abbreviation to set off by accident, because the text only goes in when you press its key. Holding the Super key shows what's on each key.

Your download is starting.

  1. 1
    Open the file and drag Super Shortcuts to Applications.
  2. 2
    Launch it and click Open if macOS asks.
  3. 3
    Turn on Accessibility when it asks. That's how it presses keys and clicks menus for you.

Didn't start? Download again