DevTools Logo

Snippet Manager

Snippet Manager

Save, tag, search and copy your code snippets locally

New snippet

title is required and must be a non-empty string

Library

No snippets saved yet.

Save your first snippet on the left and it will appear here with search, tagging and one-click copy.

No snippets to show

About this tool

Snippet Manager: Save, tag, search and copy your code snippets locally: language-aware labels, full-text search, one-click copy and JSON export. A local, account-free store for reusable text and code snippets: each snippet has a name, optional trigger word, tags, and a body containing {{placeholder}} tokens that are filled at copy time. One click copies the expanded result to the clipboard; the whole library backs up to a single versioned JSON file that can be re-imported anywhere. Everything persists in the browser — no cloud, no login.

What this tool does not do

  • Processes only the inputs provided in this session without connecting to external accounts or background servers.
  • Runs entirely in the current browser tab; nothing is synced across devices or backed up to a server.

How to use this tool

  1. Save a snippet with tags

    Add title, language, tags, optional trigger, and body with {{placeholders}}.

  2. Search and fill placeholders

    Filter snippets instantly, fill variable prompts, and copy expanded code.

  3. Export JSON library

    Download your snippet collection as JSON to back up or share.

Use cases

Save snippet deploy-check with body containi

Save snippet deploy-check with body containing {{branch}} — click → prompt fills main → expanded text copied. 2. Trigger expansion: type;sig into the built-in scratchpad → replaced with the stored signature template. 3. Tag 12 snippets #sql, filter the list; search matches name, tags, body. 4. Export all → single snippets-2026-11-25.json (schema-versioned). 5. Import the JSON on a second machine; merge strategy: import skips duplicate ids, overwrites on matching id only when "replace" is checked. 6. Duplicate an existing snippet to vary one placeholder's default.

Common mistakes

Mistake:Where are my code snippets stored?

Fix:Snippets live strictly in your browser's localStorage—no cloud sync, account, or telemetry—so avoid clearing site data without exporting a JSON backup.

Mistake:Can I move my snippet library between work and personal machines?

Fix:Yes. Export the library as a single JSON file and import/merge it into any other browser.

Frequently asked questions

How do {{placeholder}} variables work when copying a snippet?

Any {{variable}} token in a snippet body prompts you for values before copying, expanding reusable CLI commands, SQL queries, or boilerplate templates cleanly.

Where are my code snippets stored?

Snippets live strictly in your browser's localStorage—no cloud sync, account, or telemetry—so avoid clearing site data without exporting a JSON backup.

Can I move my snippet library between work and personal machines?

Yes. Export the library as a single JSON file and import/merge it into any other browser.

How fast can I filter by language or tag?

Instant client-side search filters across titles, trigger prefixes, language tags, and snippet bodies as you type.