CodeVault — now on Chrome & VS Code

Your code, remembered.

The calm, syntax-aware home for the snippets you keep rewriting. Save once, tag it, and find it in seconds — right where you code.

Free · open source · works everywhere you code

Scroll to explore
Features

Everything you need. Nothing you don't.

CodeVault does one job extremely well — it keeps your code findable.

useDebouncedValue.tsTS
1import { useEffect, useState } from "react"
2
3export function useDebounced(value, delay = 300) {
4const [debounced, setDebounced] = useState(value)
5useEffect(() => {
6const timer = setTimeout(() => setDebounced(value), delay)
7return () => clearTimeout(timer)
8}, [value, delay])
Saved
Editor

A real editor, in your browser

The same engine that powers VS Code — real syntax highlighting, indentation, and instant language switching.

#auth⌘K
rateLimit middlewareJS
email regexRE
fetchWithRetryTS
3 results in 12ms
Search

Search that actually finds it

Match on title, language, description, or tags.

Add a tag…
#react#auth#regex#fetch#cache+
Tags

Tags, not folders

Organize flat and fast with #tags that travel with your code.

Private

Only you can see this

Privacy

Private by default

Keep snippets to yourself, or flip one switch to share.

const user = await db.user.find()
Copy

Copy, don't rewrite

One click and it's on your clipboard — ready to ship.

Day
export const vault = {
"snippets": 128,
"tags": 24,
"theme": "light",
"synced": true,
}
Night
export const vault = {
"snippets": 128,
"tags": 24,
"theme": "dark",
"synced": true,
}
Themes

Calm by day, focused by night

A quiet light theme and a deep dark one — both tuned for long reading sessions.

Interactive demo

The same utility, three vaults

Switch the language and watch it type. Every snippet is stored exactly like this — ready to search and copy.

debounce.js
1
2
3
4
5
6
7
8

Try it — this is the real editor behaviour.

How it works

Three steps to a tidy code brain

No setup rituals, no tagging spreadsheets. Capture it once and CodeVault handles the rest.

CodeVault/My snippetsSynced
Search title, language, or #tag…⌘K
All#react#auth4 snippets
TSuseDebouncedValue#react·2m agoCopy
JSrateLimit middleware#auth·1h agoCopy
REemail regex#regex·3h agoCopy
TSfetchWithRetry#fetch·1d agoCopy
All changes saved12 tags
Step 01

Capture

Paste a snippet or write it fresh in the Monaco editor. Add a title, a note, and pick the language.

No forms to fight. The editor is already there.

Step 02

Organize

Tag it with #auth, #regex, or whatever fits. Mark it public to share, or keep it private.

Flat tags beat deep folders when you are in a hurry.

Step 03

Reuse

Search by title, language, or tag — then copy it in one click. That utility is never lost again.

Or insert it straight into Chrome and VS Code.

Extensions

Use CodeVault where you code.

Save a selection, search your vault, and drop snippets straight into Chrome or VS Code — same account, no context switch.

Save any selectionSearch your vaultInsert at cursor
Chrome extensionSave selections from any pageGetVS Code extensionInsert snippets at your cursorGet

Connect with a personal access token from Settings → API tokens.

Loved by developers

Built for people who write code daily

A few words from early users of CodeVault.

AMAarav MehtaBackend Engineer
I used to grep old repos for that one middleware I wrote last year. Now it's two keystrokes and a copy away.
Early CodeVault user
SLSofia LindqvistFull-stack Developer
The Monaco editor sold me. It feels like VS Code, but the snippet is already organized the moment I save it.
Early CodeVault user
DPDev PatelFrontend Engineer
Tagging instead of folders is the right call. My regex collection finally has a home that isn't a sticky note.
Early CodeVault user
MOMarta OliveiraStaff Engineer
Private by default is exactly the default I wanted. Sharing is a switch, not a migration.
Early CodeVault user
KWKenji WatanabeEngineering Lead
Onboarding took four minutes. Four minutes later my whole team had a shared library of interview snippets.
Early CodeVault user
PRPriya RaghunathanPlatform Engineer
I search my vault from the VS Code command palette now. The snippet lands at my cursor, no tab switching, no copy-paste ritual.
Early CodeVault user
FAQ

Questions, answered

Everything you might want to know before you start vaulting code.

Yes. CodeVault is open source under the MIT license — you can self-host it or use the hosted version at no cost.

Stop rewriting code. Start reusing it.

Your future self will thank you. Vault your first snippet in under a minute — free, open source, and no credit card in sight.

MIT licensed · self-hostable · your code stays yours