Snippet Library

Save reusable text and code snippets with tags.

Open tool

Overview

The Snippet Library is a personal collection of reusable text and code blocks: email templates, regex patterns, terminal one-liners, boilerplate clauses, frequently typed paragraphs. Each snippet has a title, the body content, and a list of tags that group related entries so you can find them again in seconds.

Compared to scrolling through chat history or grepping old projects, a curated snippet library cuts retrieval to a single search. The tags double as a soft folder system: a snippet can carry several at once, so a SQL window-function example can live under both sql and analytics without duplicating the text.

How it works

Add a snippet by entering a descriptive title, pasting the body, and tagging it with comma-separated keywords. The library stores the snippet against your account and indexes the tags so the chip row above the list shows running counts. Click a tag to filter, then use the search box to narrow further by title or body content.

When you need the snippet, open the entry and copy the body. Updating a snippet is a normal edit; the new version replaces the old. Deleting removes the entry and trims the tag counts. The library is private — only you see your snippets.

Examples

  • A regex snippet for matching ISO 8601 dates, tagged regex, dates, validation.
  • An email template for declining a sales pitch politely, tagged email, templates, sales.
  • A bash one-liner for finding the largest files in a directory, tagged bash, ops.
  • A boilerplate paragraph for a contract scope-of-work, tagged contract, freelance.

FAQ

How long can a snippet be?
There is no enforced limit, but snippets work best when scoped to a single reusable block — a paragraph, a function, a query, a template.

Can a snippet have multiple tags?
Yes. Comma-separate them in the tag field. Multi-tagged snippets surface in more filters and are easier to find.

Should I tag aggressively or sparingly?
Three to five tags per snippet usually hits the sweet spot. Too few makes them hard to find; too many turns every tag into a long list.

How do I keep the library from going stale?
Review during a quarterly sweep. Delete snippets you no longer use, fold near-duplicates into one canonical version, and rename ambiguous titles.

Can I search inside snippet bodies?
Yes. The search runs against titles, bodies, and tags together.

Try Snippet Library

An unhandled error has occurred. Reload ×