Where to Stash Code Snippets Without Leaving the Browser
Every developer collects snippets. The regex you finally got right, the curl command with all the correct headers, a Dockerfile stanza, the SQL that answered last week's question. The problem is never writing them — it is finding them again. They end up scattered across gists, Slack messages to yourself, a growing scratch file, and a note app you have to alt-tab into and wait for. By the time you find the snippet, you have lost the thread of what you were doing.
The fix is to keep snippets where you already are all day: the browser. Here is how to stash code snippets without leaving it — and without an app switch, an account, or a network round-trip.
Why the browser is the right place to keep snippets
You already live in the browser. Docs, the ticket, the API reference, the pull request — they are all a tab away, and half your snippets came from there in the first place. Saving them somewhere else means the snippet and the context that produced it drift apart. Keeping them in the browser closes that gap: the place you copy code from is the place you save it, and the place you go looking for it later.
The other reason is speed. A dedicated snippet app is one more window to raise, focus, and search. When the snippet lives on your new tab, it is already open. You do not switch to it; it is just there.
Keep them on the new tab, one keystroke away
Slaet is a free Chrome extension and web app that turns your new tab into a workspace for tasks, notes, lists, and reminders. For snippets, the piece that matters is the rich-text notes. Open a note — standalone, or attached to whatever task the snippet belongs to — paste your code, and it keeps its formatting instead of collapsing into a wall of unindented text. Every new tab you open puts that note back in front of you, so your snippet library is always exactly one keystroke away.
That paste behavior is the point. When you copy a fenced code block, a Claude or ChatGPT response, or a section of a webpage, it lands with its structure intact — indentation, line breaks, lists, and inline formatting preserved. You are not reformatting a snippet every time you want to store it, and you are not losing the shape of the code the moment it leaves your editor.
How to start saving snippets in under a minute
- Install Slaet from the Chrome Web Store — it is free and takes one click.
- Open a new tab, create a note, and give it a name you will recognize — “shell one-liners,” “git recipes,” whatever fits.
- Paste your first snippet. It saves as you type — no account, no setup, no export step.
From then on, a snippet goes from clipboard to saved in a couple of seconds, and you never leave the tab you were already on.
Formatting that survives, markdown that reads clean
Snippets are rarely just code. There is the command, then a line explaining what the flags do, then a link to the docs. Slaet's notes handle markdown cleanly, so you can paste a mix of prose, links, and code and have it read the way you meant it — headings as headings, lists as lists, code as code. That makes a note far more useful than a flat text file: you can scan it, annotate it, and come back to it a month later and still understand why you saved what you saved.
A quick note on scope: Slaet preserves the formatting of what you paste. It is a place to store and organize snippets, not to highlight syntax by language or run code. If you want a fast, reliable keeper for the code you reuse — the kind of thing you would otherwise lose in a chat thread — that is exactly what it is built for. The guide walks through notes in more detail.
Local-first, so your snippets stay yours
Snippets often contain things you would rather not upload — internal endpoints, config, half-secrets. Slaet is local-first: your notes live in your browser and work fully offline, with no account required. It never reads your browsing history and never sells your data. If you want the same snippets on more than one machine, sign in with Google and they sync across Chrome, Brave, and Edge — but that is optional, and you can delete anything at any time.
Frequently asked questions
Does pasting code keep its formatting?
Yes. When you paste a code block into a note, the indentation, line breaks, and structure are preserved rather than flattened, so the snippet reads the same as it did where you copied it.
Does Slaet highlight syntax or run my code?
No. Slaet preserves the formatting of what you paste and keeps it organized on your new tab. It does not add language syntax highlighting or execute code — it is a snippet keeper, not an editor or runtime.
Can I use it without an account or internet?
Yes. Notes are stored in your browser by default and work offline. An account is only needed if you want to sync snippets across devices.
Is it free?
Completely. There is no paid tier and no credit card — unlimited notes, tasks, lists, and reminders on every new tab.
Slaet is a free Chrome extension and web app
Keep your code snippets on every new tab — paste cleanly, always one keystroke away, no account needed.
Add Slaet to Chrome