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

Raycast 2023-06-07 at 18.02.55.png

JSON Format

[
  {
    "name": "Personal Email",
    "text": "[email protected]",
    "keyword": "@@"
  },
  {
    "name": "Home Address",
    "text": "221B Baker St., London"
  },
  {
    "name": "Catchphrase 1",
    "text": "Elementary, my dear Watson",
    "keyword": "!elementary"
  }
]

snippets.json

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

CleanShot 2022-06-29 at 10.32.20.png