Secret and Credential Leak Scanner
Scans pasted code, config or logs for committed secrets and shows any matches truncated. Heuristic, runs locally.
Loading the tool…
How to use this tool
- Paste the code, config or log you want to check.
- Select Scan for secrets.
- Review each match by line number - matches are shown truncated so the result is safe to share.
- For any real secret, rotate it. Removing the line is not enough once it has been committed.
What secret leak scanner does
Secrets leak into code the same way every time: a key pasted in to get something working and then committed. Once it is in the history it is effectively public, and the fix is to rotate the key, not to delete the line. Catching it before the commit - or auditing a file you are about to share - is far cheaper than the alternative.
Paste code, configuration or a log and this scans for the shapes that give secrets away: cloud access keys, provider tokens, private-key blocks and the generic password-equals assignment. Matches are shown truncated so the result is safe to screenshot. It is a heuristic - it produces false positives and can miss an unusual secret - and it runs entirely on this page: the text is never uploaded. Verify a match before acting, and rotate anything real.