Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Snippets Manager

ramandvramandv3k downloads

Snippets manager with full mobile support. You can manage code snippets, infos like passport number, email signature or anything.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates10

The Snippets Manager Plugin for Obsidian allows you to manage and quickly insert text snippets stored in a markdown file (or folder of markdown files, including subfolders). This plugin enhances your workflow by enabling fuzzy search for snippets, allowing you to copy them to your clipboard or directly paste them at the cursor position in your active note. Now, with Alfred integration, it's even more powerful.

Obsidian Snippet Manager

New Features

Alfred Support

Snippets can now be saved in Alfred JSON format for integration with Alfred. If enabled, your snippets will be automatically saved in a JSON format compatible with Alfred workflows.

How to Use Alfred Support:

  1. In the plugin settings, toggle Enable Alfred Support.
  2. Snippets will be saved as alfred-snippets.json inside the plugin folder.
  3. Install the alfred workflow by downloading here
  4. You need to add the alfred-snippets.json file path to the alfredworkflow configuration. [In the snippets manager plugin settings panel, the full path to the generated Alfred JSON file is displayed, and you can copy it by double clicking and copy it for easy access.]

Templater Support

You can now use Templater syntax in your snippets! If you have the Templater plugin installed, any snippet containing <% will be processed by Templater before insertion.

Example:

### Today's Date
Today is <% tp.date.now("YYYY-MM-DD") %>

Usecases

Do i need this plugin if i already you Text Expander kind of apps?

Yes, you need it. In most of the cases, those apps will be available only for desktops. But this plugin will work on your mobile too.

Mobile Use:

I use Snippet Manager to quickly copy things like addresses, map locations, URLs, and quotes. With the help of the "Website shortcut" Android app and the Obsidian Advanced URI plugin, I’ve set up a shortcut directly to the snippet search modal. Now, with just one click, I can copy whatever I need to my clipboard and paste it anywhere on my phone.

Example Advanced URI link for Obsidian. You can create the link to the URL. [Replace your vault name accordingly]

obsidian://advanced-uri?vault=<your-vaultname>&commandid=snippets-manager%3Aopen-snippet-search

Features

  • Snippet Management: Store snippets in a markdown file with headings as keys (whether personal details like email signature, passport number, code snippets or anything).
  • Multiple Locations & Tags Support: You can define multiple comma-separated file/folder paths to aggregate snippets. You can also specify comma-separated #tags to dynamically pull snippets from any note in your vault containing those tags.
  • Path Prefixing: By default, snippets from subdirectories or tags include their directory path (or vault path) in their visual name. A toggle is available in settings to disable this and only show the base file name.
  • Code Snippets: The plugin supports code snippets stored in markdown code blocks. When retrieving a code snippet, the plugin automatically strips the backticks, providing you with just the clean code.
  • Fuzzy Search: Quickly search through snippets using a fuzzy search interface.
  • Clipboard Copying: Copy selected snippets to your clipboard.
  • Direct Insertion: Paste snippets directly at the cursor position in the active markdown note.
  • Configurable Snippet Location: Choose a markdown file or folder to store your snippets.
  • Mobile Support: The plugin is fully compatible with Obsidian's mobile app. You can easily create a shortcut to the Snippet Search using the Advanced URI plugin, making it even more convenient to search and copy snippets on the go.
  • Alfred Support: Generate an Alfred-compatible JSON file for use in Alfred workflows. This file is saved inside the Snippet Manager plugin folder, and the path can be easily copied from the settings.
  • Templater Support: Support for Templater syntax. Snippets with <% will be processed by Templater before insertion.

Links

✨ Check out latest updates
🪲 Report bugs and suggest features
❓ Ask questions
👍 Give thumbs up to issues important to you

Installation

  • Obsidian Community Plugins:
    • This plugin will be available in the Obsidian community plugins list. If so, you can install it directly from Obsidian:

    • Go to Settings > Community Plugins > Browse.

    • Search for Snippets Manager.

    • Click Install and then Enable.

    • Or just install directly into Obsidian.

Usage

Setting Up Snippets

  1. Multiple Paths and Tags Setup:

You can store snippets in single markdown files (e.g., Snippets.md), across multiple folders (e.g., Programming/), or dynamically pull them from any markdown file tagged with specific tags (e.g., #snippet). In the plugin settings, you can provide a comma-separated list of locations and another for tags.

  1. Markdown Snippet Structure:
  • Each snippet should be stored under a heading (### Heading), with the content under the heading representing the snippet.
  • Example in a single file:
### Greeting
Hello, how are you doing today?

### Signature
Best regards,
[Your Name]

### Hello World
```js
helloworld() {
console.log("Hello World!!!");
}
```
  • Example with multiple files:

    • Snippets/Email.md (with headings for email templates)
    • Snippets/Code.md (with headings for code snippets)
  1. Configure Snippet Settings:
    • In Obsidian, go to Settings > Snippets Manager.
    • Set the Snippets locations to your snippet files or folders separated by commas (e.g., Snippets.md, Support/).
    • Alternatively or additionally, set Snippets tags to dynamically resolve snippets (e.g., #snippet, #templates).
    • Adjust Show full folder path as prefix if you want to hide or show long directory paths in your snippet names.

Using Snippets Manager

  1. Search and Insert Snippets:

    • Use the command palette (CMD/CTRL + P) and search for Search Snippets.
    • A fuzzy search modal will appear, allowing you to search for your snippets by their headings.
    • Press Enter to copy the snippet to your clipboard.
    • Press CMD/CTRL + Enter to paste the snippet directly at the cursor position in the active note.
  2. Keyboard Shortcuts:

    • Enter: Copy the selected snippet to the clipboard.
    • CMD/CTRL + Enter: Copy the selected snippet to the clipboard and paste it at the cursor position in the active note.

Development

Requirements

  • Node.js and npm
  • TypeScript

Building the Plugin

  1. Clone the repository:

    git clone https://github.com/your-repo/snippet-manager
    cd snippet-manager
    
  2. Install dependencies:

    npm install
    
  3. Build the plugin:

    npm run build
    
  4. Develop with live reload:

    npm run dev
    

Contributing

Contributions are welcome! If you have any bug reports, feature requests, or code improvements, feel free to open an issue or submit a pull request.

License

This plugin is open-source software licensed under the MIT License.

94%
HealthExcellent
ReviewPassed
About
Manage text snippets stored in Markdown files or folders (including subfolders) and insert them quickly using fuzzy search. Copy snippets to the clipboard or paste at the cursor, export Alfred-compatible JSON, import Awesome ChatGPT Prompts into your snippets, and process Templater tags before insertion.
TemplatingFilesSearch
Details
Current version
1.1.8
Last updated
2 weeks ago
Created
2 years ago
Updates
10 releases
Downloads
3k
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
ramandvramandv
ramandv.com
GitHubramandv
  1. Community
  2. Plugins
  3. Templating
  4. Snippets Manager

Related plugins

QuickAdd

Quickly add new notes or content to your vault.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.

Home tab

A browser-like search tab for your local files.

Create Note in Folder

Add commands to create a note in a specific folder.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Local REST API & MCP Server

Unlock your automation needs by interacting with your notes over a secure REST API.

Templater

Create and use dynamic templates.

Recent Files

Display a list of recently opened files.

Claudian

Embeds Claude Code/Codex as an AI collaborator in your vault. Your vault becomes agent's working directory, giving it full agentic capabilities: file read/write, search, bash commands, and multi-step workflows.

Smart Connections

AI link discovery copilot. See related notes as you write. Lookup using semantic (vector) search across your vault. Zero-setup local model for embeddings, no API keys, private.