Simple. Automatic. Zero effort.
-
01
Paste your code
Paste code containing secrets into any AI chat — ChatGPT, Claude, Gemini, Grok, or your custom sites.
-
02
Auto-detect secrets
70+ regex patterns instantly catch API keys, tokens, credentials & private data.
-
03
Masked & safe
Each secret is replaced with a placeholder like [AWS_KEY_k3f9_0] before sending. Originals are saved to your local vault.
-
04
Smart Restore
Copy any AI response with placeholders — originals are automatically put back in your clipboard.
Install once, never think about it again.
Instant Interception
Secrets are caught before they ever reach the chat.
Memory-Only Vault
Originals never touch disk and expire after 15 minutes.
Smart Restore
Copy AI responses with placeholders — secrets auto-restored in your clipboard.
Pattern Controls
Turn any rule on or off, with a plain-language example for each.
Custom Sites
Add any website you want to protect, one click.
Test Mode
See what gets masked before you paste for real.
Also included: a stats dashboard for secrets caught today and all-time, JSON backup & restore, and zero dependencies.
Credentials
- Passwords & bearer tokens
- JWTs, OTPs, OAuth tokens
- .env key-value pairs
API Keys
- AWS, GCP, Azure
- OpenAI, Anthropic, Groq
- Stripe, GitHub, Slack
Infrastructure
- Postgres, MongoDB, Redis URLs
- Firebase, Vercel, Supabase
- NPM, PyPI, Shopify tokens
Private Data
- RSA, SSH, PGP private keys
- Aadhaar, PAN, UPI, credit cards
- Random-looking tokens
70+ detection patterns — toggle any on/off from the popup. Everyday code and logs stay readable. Custom patterns coming soon.
Don't trust us — verify
No servers, no tracking, no trust required. Read the source yourself.
- No Network RequestsZero outbound calls, ever.
- Works OfflineDisable Wi-Fi. It still works.
- No TrackingNo analytics, telemetry, or cookies.
- Fully Open SourceMIT licensed. Read every line.
What Google says about this extension
Secret Sanitizer is Featured on the Chrome Web Store. Google confirms it follows recommended practices for Chrome extensions, that the publisher has a good record with no history of violations, and that the developer certifies your data isn't sold or used for anything unrelated to the extension. All four signals are verifiable on the Chrome Web Store listing.
Loved by developers & indie builders
Nice build. Local-first + open source is exactly what security tools should aim for.
This is genuinely useful. The number of times I've had that split-second panic after pasting something into ChatGPT is way too high. Love that it's fully local and open source. No way I'd trust a closed-source tool that scans my clipboard!
This is really cool, congrats on shipping the update!
Such a smart idea! Protecting secrets before they ever leave your machine just makes sense.
Honestly, that is such a smart idea. Lately when I'm building, I feel naked with my API keys. Great job, I love it!
Secret Sanitizer is a brilliant safeguard. Auto-masking secrets locally before they hit AI chats keeps everything secure without the cloud risk. Love the open-source vibe!
Really cool project and could definitely save some people. I've gotten close with my .env, I hate to admit!
SecretSanitizer is a really smart and practical solution. Protecting sensitive data, such as API keys, in AI workflows is more important than ever. Simple, focused, and highly relevant for today's security challenges, great concept and execution!
This is actually so useful. I've definitely pasted stuff I shouldn't have into AI chats before. Congrats on the launch!
Frequently asked
Does Secret Sanitizer send my data anywhere?
No. It runs entirely in your browser and makes zero network requests — there is no server to send data to. Your secrets never leave your machine. You can verify this by reading the source code or using it offline.
Which AI sites does it work on?
ChatGPT, Claude, Gemini, and Grok are supported out of the box. You can also add any custom website in the extension settings.
How is this different from just being careful?
Humans miss things — especially in large config files or logs. Secret Sanitizer automatically scans for 70+ secret patterns (API keys, tokens, passwords, database URLs) the instant you paste. It catches what you overlook without slowing you down.
What happens to the original values?
They stay in a memory-only vault inside your browser. Nothing is written to disk, and the originals are deleted after 15 minutes or when the browser closes. Until then, Smart Restore swaps the placeholders back when you copy the AI’s reply.
Does it work offline?
Yes. Detection and masking run locally and the extension makes no network requests, so it works the same with your internet turned off.
Does it mask what I type, or files I upload?
No. It checks text at the moment you paste it. Text you type by hand and files you upload are not scanned, and no detector catches everything, so still glance over sensitive text before you send it.
Is it free? Is it on Firefox?
It is free and open source under the MIT licence, with no account and no paid tier. Today it is a Chrome extension; Firefox support is on the roadmap.
Paste freely. Leak nothing.
Free, open source, installs in 5 seconds. No sign-up, no cloud, no nonsense.
Add to Chrome — Free