Text expansion by voice on your Mac
How to type your address, signature or a canned reply on a Mac by saying a phrase: Voice Control commands, Text Replacement, and Koi's dictation snippets.
Espanso is free and powerful but configured in YAML. For a text expander with a window, pick Raycast's free Snippets, Typinator (from $39.99) or TextExpander for teams. If you dictate rather than type, Koi types your saved text when you say a phrase.
By Irakli, founder ·
Start here
Espanso is a free, open source text expander. You type a keyword and it's replaced with longer text, in any app, on Mac, Windows and Linux. Its site lists forms you fill in before the text is typed, dates in the past or future, the output of shell commands and scripts, and packages you can install from the Espanso Hub or publish there. Option and Space on a Mac opens a search bar to find a snippet by name. It's licensed under GPL 3 and paid for by donations.
Everything lives in plain YAML files. On a Mac that's ~/Library/Application Support/espanso, with your snippets in match/base.yml. Its getting started guide has you add a trigger and its replacement there, warns that the indentation must be right and that spaces beat tabs, and says Espanso reloads by itself when you save. There's no editor app; one is planned.
We make Koi, so read this with that in mind. Koi is first below because it's ours, and it is not a text expander: its snippets work by voice, while you dictate. If you type and want something like Espanso with a window to manage it, the real alternatives start at number 2. Every fact about another app comes from that app's own site, checked October 21, 2026.
Why switch
Two ways
In Espanso, from its guide:
In Koi, by voice:
Koi matches the phrase whatever its case and the punctuation between its words. Said as a sentence on its own, its full stop goes with it, and the longer phrase wins when two overlap. Details in names, snippets and styles.
The picks
Best for: People who dictate and want saved text when they say a phrase
Koi is dictation for any Mac app: tap Fn + ⌥, talk, and the words are typed where your cursor is. It runs on your Mac, works offline, knows 100 languages, and drops the ums. Snippets are part of that: say the phrase mid-sentence and the text you saved is typed instead, exactly as you saved it. You add them in a window, not a file, and they're kept on your Mac.
What it isn't: typing a keyword does nothing in Koi. There are no forms, no dates that change, no scripts or shell commands, no packages, and no Windows or Linux app. If you type all day and like Espanso's power, keep Espanso, or pick one of the expanders below.
Unlike Espanso, Koi isn't free. It's Pro at $20 a month or $192 a year after a 3-day free trial that needs a card, or Lifetime, paid once from $59, with call recording and an assistant in the same app. See how it compares with other dictation apps in the best offline dictation apps for Mac.
Best for: A free expander with a proper window, if you use Raycast
Raycast's Snippets expand a keyword in any text field, right away or after a space, with placeholders for the date, the clipboard and where the cursor lands, and you manage them in Raycast's window. Snippets are on its free plan; Pro is $10 a month or $96 a year, on Raycast's pricing, for its AI and more. Its manual doesn't list running shell commands from a snippet, which Espanso does.
Alfred's Powerpack, £34 once, has snippets with auto-expansion and a clipboard history too.
Best for: A polished Mac expander with snippets kept on your Mac
Typinator expands abbreviations into text, pictures, dates, formulas, code or AI prompts, fixes common typos as you type, and comes with ready-made sets. Snippets are stored locally, with optional sync through iCloud, Dropbox, OneDrive or your own server. It starts at $39.99 on the ergonis store: Basic is a one-time payment for the current major version, Mac only and private use; Advanced and Business are yearly and add iOS.
Best for: Teams that share snippets across Mac, Windows, iPhone and Chrome
TextExpander has fill-ins, groups, inline search and team libraries with permissions, on Mac, Windows, iPhone, iPad and Chrome, synced through an account. Free allows 5 active snippets; Pro is $60 a user a year, billed yearly, on its pricing. It's the opposite of Espanso: polished and shared, but paid, and tied to an account. More in our TextExpander alternatives.
Best for: Formatted snippets on Mac and Windows
aText expands abbreviations into formatted text, pictures and attachments, with editable fields, dates, keystrokes and scripts, and syncs between Mac and Windows through iCloud Drive or Dropbox. The Mac version has a 21-day free trial. We couldn't confirm its price on its own site.
Best for: A few plain replacements, free, nothing to install
System Settings, Keyboard, Text Replacements: type a short text and what it becomes, and click Add. Plain text only, with no forms, dates or scripts. For a handful of shortcuts it's all you need.
Typing vs talking
Espanso watches what you type and swaps a trigger, often starting with a colon like “:br”, for its text. It's precise and scriptable: a snippet can run a shell command, fill in a form or work out a date. The cost is that you learn and remember the triggers, and edit YAML to add new ones.
Koi listens instead. While you dictate, it watches for phrases you saved, like “my address” or “my sign-off”, and types their text in their place. There's no trigger syntax, and you add a snippet in a window. In return, it's much less powerful: the text is typed exactly as you saved it, with nothing worked out at the time.
The two don't clash. Koi's snippets only fire inside dictation, and Espanso only reacts to typing, so you can run both: Espanso when you type, Koi when you talk.
Privacy
Snippets often hold the things you'd least like to leak: addresses, phone numbers, account numbers, stock replies to clients. Here's where each app keeps them, from their own sites:
Koi has no sync and no iPhone app, so the same thing that keeps snippets on your Mac also keeps them off your other devices.
Comparison
From each app's own site. “Not listed” means the site doesn't mention it.
| Triggered by | Managed in | Forms | Scripts | Platforms | Price | |
|---|---|---|---|---|---|---|
| Espanso | Typed keyword | YAML files | Yes | Shell and scripts | Mac, Windows, Linux | Free, open source |
| Koi | A phrase you say while dictating | Settings window | No | No | Mac | $20 a month, or Lifetime, $59 for the first 25 buyers, rising to $199 |
| Raycast | Typed keyword | Raycast window | Placeholders | Not listed | Mac | Free; Pro $10 a month |
| Typinator | Typed abbreviation | App window | Not listed | Not listed | Mac; iOS on Advanced | From $39.99 |
| TextExpander | Typed abbreviation | Its app, with an account | Fill-ins | Not listed | Mac, Windows, iPhone, iPad, Chrome | Free, 5 snippets; Pro $60 a year |
| aText | Typed abbreviation | App window | Editable fields | Yes | Mac, Windows | Not confirmed |
| macOS | Typed text | System Settings | No | No | Mac | Free |
Honest take
Stay on Espanso if
Choosing
If you're curious about writing by voice, read how to dictate on a Mac, then see Koi's plans.
How to type your address, signature or a canned reply on a Mac by saying a phrase: Voice Control commands, Text Replacement, and Koi's dictation snippets.
TextExpander alternatives for Mac: Espanso, Typinator, Raycast, aText and macOS Text Replacements ranked, plus Koi's voice snippets for people who dictate.
How to use voice to text on Mac with Apple's built-in Dictation, step by step, and when Koi does more: offline, 100 languages, unlimited on every plan.
Raycast Dictation alternatives for Mac, checked October 2026: offline dictation with no Pro plan, bigger word lists, no 20-minute cap, and prices compared.
Support
Try Pro free for 3 days, card needed. Dictation and recorded calls are unlimited on every plan.