/slashtypeOpen your snippets

Snippet converter for Raycast, Espanso, Alfred, TextExpander and aText

Moving to another snippet app? Choose the file your old app exported, pick the app you are moving to, and download a file it imports, with every keyword, name and text, multi-line snippets included.

1. Choose the file you exported

Read and written on this page, in your browser: the file is not uploaded to Slashtype or anyone else.

Getting your snippets out of each app

Raycast
In Raycast, run the Export Snippets command and save the JSON file.
Espanso
Take match/base.yml from Espanso's folder, usually ~/Library/Application Support/espanso (run espanso path config in Terminal if it is elsewhere). Each other file in its match folder converts the same way.
Alfred
In Alfred's preferences, open Features > Snippets, right-click a collection and choose Export.
Mac text replacements
In System Settings > Keyboard > Text Replacements, select them all (Command-A) and drag them to the desktop. That makes a file called Text Substitutions.plist.
TextExpander
In TextExpander's web app, open Import/Export, choose Export and export a snippet group as a CSV file.
aText
In aText, choose File > Save… and the CSV format.

Or stop copying snippets between Macs

Converting gives you a copy for one app on one Mac. Slashtype keeps your snippets in one library in the cloud and types them in every app on every Mac you connect: import the file you already have once, then edit a snippet in one place and every Mac has the change.

Install on your Mac in one step

Paste in Terminal on your Mac
$ curl -fsSL https://slashtype.co/install | sh

It opens your browser to create your free library (or sign in) and connect this Mac, then installs Slashtype. Then import your file on the website. macOS 13 or later.

Or start a library and import first

Questions

Is my snippets file uploaded?
No. This page reads your file and writes the new one in your browser, and nothing in it is sent to Slashtype or anyone else. That matters when snippets hold addresses, phone numbers or account numbers.
Which apps can it convert between?
Raycast, Espanso, Alfred, TextExpander, aText and the Mac's own text replacements, in any direction: choose the file one of them exported and download a file for another. A CSV or JSON list of keywords and texts from any other app works too.
Are multi-line snippets kept?
Yes. Line breaks, tabs, quotes and commas inside a snippet come across exactly as they are, and so does each snippet's name where the new app has one.
What does not convert?
Each app writes its placeholders its own way (Raycast's {clipboard}, Espanso's {{date}}, Alfred's {date}), so they are copied as written and the converter tells you how many snippets hold one. Espanso forms, regex triggers, images and rich text are left out with the reason, and so is a snippet with no keyword.
Does it cost anything?
No. The converter is free and needs no account.
SlashtypeRaycast snippets on every MacAlfred snippets on every MacTextExpander alternativeEspanso alternativeaText alternativeMac text replacementsSnippet converterSecurityPrivacy PolicyTerms of Service
Featured on NativeShelf.comSlashtype on Mac App Index