Secret Scanner

Paste code, a config, or a .env file and this scans it for leaked API keys, tokens, passwords and private keys — then tells you how to fix each one.

Runs entirely in your browser. Nothing you paste is uploaded anywhere.
Try an example:

Findings

Found one? Do these three things, in this order

1

Rotate it

Revoke the leaked key or password and issue a new one, right now. Once a secret has been pasted, committed or shared, deleting it is not enough — anyone who saw it can still use it.

2

Remove it

Delete the secret from the code. If it was ever committed to git, it also lives in the history — rewrite the history or treat the secret as permanently exposed and rely on step 1.

3

Move it to an environment variable

Keep the real value outside the code: set it as an environment variable (or in a secrets manager) and read it in code with something like process.env.API_KEY. Add your .env file to .gitignore.

Values are never shown in full. Findings and the copied report only ever display the first and last few characters of a secret. Your paste never leaves this page — but it does still sit in this browser tab, so close the tab when you're done.