Skip to content
Core Features

Snippets

This page only applies to Raycast for Mac V1. Latest information for Raycast for Mac V2, Windows, and iOS is available in the New Raycast Manual.

Write faster by using snippets to store and insert frequently used text. Expand them automatically with a keyword.

Use the Create Snippet command to store a new snippet. If you specify a keyword, you can simply type it in any application to have it auto-expand in-place. Snippets are handy for frequently used text such as canned email responses, code or emojis.

Screenshot of the Create Snippet command in Raycast V1

Search and manage all of your Snippets in one place using the Search Snippets command. Edit existing Snippets, pin your most frequently used ones, and copy them directly to your clipboard.

Screenshot of the Search Snippet command in Raycast V1

Snippets have a 65,536 character limit due to performance constraints. This limit cannot be modified.

If Raycast for Teams is enabled you can create shared Snippets for all members of your team.

You can make your snippets dynamic with Dynamic Placeholders.

You can import snippets from a JSON file using the Import Snippets command (available in Raycast 1.37.0+).

Import Snippets command
  • Root object — array of snippets
  • Snippet object
    • name — Snippet title. Type: String (required)
    • text — Snippet content. Type: String (required)
    • keyword — Auto-expansion keyword. Type: String (optional)
[
  {
    "name": "Personal Email",
    "text": "sherlock@gmail.com",
    "keyword": "@@"
  },
  {
    "name": "Home Address",
    "text": "221B Baker St., London"
  },
  {
    "name": "Catchphrase 1",
    "text": "Elementary, my dear Watson",
    "keyword": "!elementary"
  }
]

After the import is completed, you'll see how many snippets were added and how many duplicates were skipped. If a snippet has the same title and content, it's considered a duplicate.

Snippets import result