Secret Scanner
Paste code, choose files or choose a whole project folder: every file is read on your device and checked for keys, tokens, passwords and private keys. Nothing is uploaded, and values are shown masked.
Scan for secrets
How to scan a project
- Choose the project folder (dependencies, build output and binary files are left out) or some files, or paste text.
- Read the findings by file and line.
- Revoke and replace every real secret at its provider, then move it to environment variables or a secrets manager.
What is found
- Keys and tokens in their published formats: AWS, GitHub, GitLab, Slack, Stripe, Google, OpenAI, Anthropic, npm, PyPI, SendGrid, Twilio, Mailgun and Azure storage.
- Private key blocks (RSA, EC, OpenSSH, PGP), passwords in database and queue addresses, JSON Web Tokens, and passwords written in code.
- Random-looking values of settings named like key, token or secret (by their Shannon entropy), as possible secrets.
Limits
Only the files you choose are read, not the git history: secrets removed in later commits are still in the history (scan it with a tool such as gitleaks, or use GitHub’s own secret scanning). Placeholders like changeme or ${TOKEN} are ignored; check unusual formats yourself.