Secret Scanner
Find API keys, tokens, passwords and private keys in code, config and .env files before you publish them – AWS, Google, Stripe, GitHub, OpenAI and more.
Tool
About this tool
About Secret Scanner
Paste code or choose many files. The scanner looks for about 30 known key formats, database URLs with passwords, passwords in config files and random-looking secrets, and shows where they are with the value hidden. Use it before pushing to GitHub, sending code to a freelancer or sharing a ZIP.
How it works
Example
How to use this tool
- Paste code or choose files (.env, config, source).
- Review the findings – high first.
- Move secrets to environment variables and replace leaked keys.
Frequently asked questions
Is my code uploaded?
No – it is scanned in your browser and the secrets are never shown in full.
I removed a key from my code – am I safe?
Not if it was ever pushed: it stays in Git history. Create a new key and delete the old one.
Is this an AI tool?
It works with clear, tested rules and formulas instead of an AI model, so results are fast, private and the same every time. You can see exactly why each result was given.
Does the Secret Scanner store what I check?
No. The Secret Scanner does not store your input. Keys, files and secrets are handled in your browser; website checks only send the address you enter to our server, which loads the public page and forgets it.