Snippet Manager
Save, organize, and search your code snippets.
How it works
- 1
Create a snippet
Click New Snippet, enter a title, select the language, paste your code, and add tags.
- 2
Search and filter
Use the search bar or tag filter to find snippets quickly.
- 3
Copy and use
Click Copy to copy any snippet to your clipboard with one click.
Common use cases
Save a React hook
Title: useDebounce, Language: TypeScript, Tags: react, hooks
Quick copy for SQL query
Search "join", find your saved SQL snippet
About This Tool
A personal code snippet library in your browser. Save code fragments with titles, language tags, and custom labels. Search across all snippets instantly, copy with one click, and sort by recent use. Supports 16 programming languages with import/export for backup and portability.
More examples
Examples
Save a React hook
Input
Title: useDebounce, Language: TypeScript, Tags: react, hooks
Output
Snippet saved and searchable by title, tag, or code content
Quick copy for SQL query
Input
Search "join", find your saved SQL snippet
Output
One-click copy to clipboard, usedAt timestamp updated
Frequently Asked Questions
- Where are my snippets stored?
- Snippets are stored locally in your browser using IndexedDB. They persist across sessions but are not synced to a server.
- Can I export my snippets?
- Yes. Use the Export button to download all snippets as a JSON file. Use Import to load them on another device.
- How many snippets can I store?
- There is no hard limit. IndexedDB can store hundreds of megabytes of data depending on your browser.