Cliplet

approved

by namikaze-40p

A clipboard and snippet manager — your own, separate from the OS clipboard.

★ 7 stars↓ 7,809 downloadsUpdated 25d agoMIT

Cliplet

An Obsidian plugin that serves as a clipboard and snippet manager — your own, separate from the OS clipboard.

Concept

Cliplet is designed to keep your snippets always at hand inside Obsidian. With its separate clipboard, you can capture ideas, reuse text or code, and speed up your writing—without ever overwriting your system clipboard.

Cliplet also provides a Cliplet history inside Obsidian. With the data.json option, your snippets stay with your vault and sync across devices.

Why Cliplet?

  • Keep multiple snippets without overwriting your system clipboard.
  • Keep work and personal snippets separate from your OS clipboard.
  • Mobile-friendly: browse and paste snippets where clipboard managers are limited.

demo

Storage Options

Cliplet supports two storage methods. With a maximum of 200 items and encryption at rest, performance is comparable in most cases—choose based on portability and backup preferences.

  • IndexedDB – Stored in Obsidian’s internal browser database per vault and per device. This allows you to keep different cliplet data on different devices or vaults, making it useful for separating work and personal content or desktop and mobile usage.
  • data.json – Stored as a JSON file inside your vault. Easy to locate and manage, and included in your vault backups, sync, and version control.

Both options work entirely offline and never send your data to external servers (content is also encrypted at rest to prevent casual viewing).

Storage typeAdvantagesDisadvantages
IndexedDBPer-device and per-vault isolation enables different data sets for different contexts.Does not sync between devices; data is stored locally on each device.
data.jsonEasy to locate and manage. Included in vault backups, sync solutions, and Git history. Portable between devices.Storing many large cliplets can increase file size, which may slow loading or sync times.

[!NOTE]

  • Encryption: Cliplet encrypts stored content to prevent casual viewing (e.g., opening data.json or browsing IndexedDB). The encryption key is derived from an ID stored in this plugin's data.json, so anyone who obtains your data.json and knows how Cliplet works can decrypt your cliplets. Do not rely on it to protect sensitive information such as passwords.
  • data.json storage notes:
    • If your vault is stored on the internet (e.g., in a public GitHub repository or shared cloud folder), avoid making data.json publicly accessible. Because the encryption key is derived from data.json itself, publishing it effectively exposes your cliplets.
    • Using data.json lets your cliplets sync across devices — but only if your sync service keeps that file up to date.
      Some services, like iCloud, can be slow or unreliable at syncing data.json, especially on iPhone or iPad.
      If you frequently use Cliplet across multiple devices, please check how reliably your sync solution updates data.json before relying on it.
  • Device behavior: IndexedDB is per device and per vault; data.json travels with your vault (Obsidian Sync/Dropbox/Git, etc.). The storage type is also chosen per device, so you can use IndexedDB on one device and data.json on another.
  • Switching: You can change the storage method in settings. A built-in migration merges all items into the selected storage. When switching from IndexedDB, the items are deleted from IndexedDB; when switching from data.json, they are kept in data.json for your other devices.
    Versions before 0.4.0 clear or overwrite data.json when switching, so if you sync data.json across devices, update Cliplet on all of them before switching.
  • Deleting all data: "Delete all data" in settings deletes the data on the current device. If the device uses data.json, the items in data.json are deleted as well, which also affects your other devices that use data.json.
  • Automatic cleanup: Up to 200 items are kept. Named and pinned items are never deleted automatically, and the 10 most recent unnamed items are always kept, even if you have 200 or more named or pinned items. Unnamed items that have not been used for 60 days are deleted.
  • Size limit: Each item can be up to 100 KB (measured in UTF-8 bytes). Larger content cannot be added or saved; existing larger items can still be pasted.

How to use

For the best experience, assign hotkeys to Cliplet commands in Obsidian’s settings.
This allows you to add, paste, and search cliplets quickly without leaving the keyboard.

  1. Add a cliplet: Run the “Add” command after selecting text.
  2. Paste the latest cliplet: Run the “Paste latest” command.
  3. Search cliplets: Run the “Search” command to find, then paste or edit the desired cliplet.

demo

demo

About placeholders

Cliplet lets you insert dynamic values inside cliplet content.
Use the following placeholders when writing cliplets:

PlaceholderDescription Input exampleOutput example
{cursor}Moves the cursor to the first {cursor} found in the text. Any additional {cursor}s are removed.Hello {cursor}worldHello │world
{clipboard}Inserts the current OS clipboard text at this point.Text: {clipboard}Text: apple
(If clipboard = apple)

Installation

You can find and install this plugin through Obsidian’s Community Plugins Browser.
For detailed steps or alternative installation methods, click here.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.