Secret Scanner (API keys and tokens)

Find API keys, tokens, private keys, password-like values and email addresses hidden in config files or logs, with line numbers and highlights. Runs entirely in your browser; nothing is saved or sent.

  • Runs in your browser (no upload)

Finds API keys, tokens, private keys, email addresses and more in the pasted text. The text is processed only on this page; it is never saved or sent.

What to look for

Results are never saved or uploaded. Detection is pattern-based, so it cannot find every secret and may flag harmless strings. If a real key or token shows up here, do not just delete it — revoke or rotate it with the service that issued it.

Scan results

11 possible finding(s) (severity: high 7, medium 2, low 2).

Findings

  1. #1HighAWS access key IDLine 2, column 19
    AKIA…MPLE
  2. #2HighAWS secret access keyLine 3, column 25
    wJal…EKEY
  3. #3HighGitHub tokenLine 4, column 14
    ghp_…xxxx
  4. #4HighSlack tokenLine 5, column 17
    xoxb…xxxx
  5. #5HighStripe live secret keyLine 6, column 19
    sk_l…0000
  6. #6HighGoogle API keyLine 7, column 17
    AIza…xxxx
  7. #7MediumPassword or secret-like value (DB_PASSWORD)Line 8, column 14
    Ex…d!
  8. #8MediumJWT (access token)Line 9, column 23
    eyJh…xxxx
  9. #9HighPrivate key (PEM)Line 10, column 1
    -----BEGIN RSA PRIVATE KEY----- …
  10. #10LowEmail addressLine 14, column 12
    ta…om
  11. #11LowPhone numberLine 14, column 31
    +8…00

Values in the list are shortened (20+ characters: first and last 4; 12–19 characters: first and last 2; shorter values are fully hidden).

Highlighted text

# Sample configuration (all values are fake)
AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE#1 AWS access key ID
aws_secret_access_key = wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY#2 AWS secret access key
GITHUB_TOKEN=ghp_EXAMPLExxxxxxxxxxxxxxxxxxxxxxxxxxxxx#3 GitHub token
SLACK_BOT_TOKEN=xoxb-000000000000-0000000000000-EXAMPLExxxxxxxxxxxxxxxxx#4 Slack token
STRIPE_SECRET_KEY=sk_live_EXAMPLE00000000000000000#5 Stripe live secret key
GOOGLE_MAPS_KEY=AIzaSyEXAMPLExxxxxxxxxxxxxxxxxxxxxxxxxx#6 Google API key
DB_PASSWORD="Ex4mple-Pa55w0rd!#7 Password or secret-like value (DB_PASSWORD)"
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzYW1wbGUtdXNlciIsIm5hbWUiOiJFeGFtcGxlIiwiaWF0IjoxNzAwMDAwMDAwfQ.EXAMPLE-signature-xxxxxxxxxxxxxxxxxxxxxxxx#8 JWT (access token)
-----BEGIN RSA PRIVATE KEY-----#9 Private key (PEM)
MIIEowIBAAKCAQEAexampleEXAMPLEexampleEXAMPLEexampleEXAMPLEexample
EXAMPLEexampleEXAMPLEexampleEXAMPLEexampleEXAMPLEexampleEXAMPLE00
-----END RSA PRIVATE KEY-----
# Contact: taro@example.com#10 Email address / +81 90-0000-0000#11 Phone number

How to use

  1. Paste the config file, log or code you want to check (a sample with fake values is filled in at first).
  2. Choose what to look for: keys and tokens, hard-to-guess values, and email addresses or phone numbers.
  3. Review the line numbers and types in the list, then copy the masked report or the text with secrets replaced if needed.

FAQ

Is the pasted text sent anywhere?

No. Scanning runs entirely in your browser; the text and results are never saved, sent or logged, and keys are never checked against any outside service.

How are "hard-to-guess values" detected?

Values of 8 or more characters assigned to keys such as secret, token, password or api_key are reported when their Shannon entropy is at least 3.0 bits per character. Variable references like ${VAR}, function calls and URLs are ignored.

What should I do if a key is found?

If it is a real key or token, deleting it from the text is not enough: it may already have been copied, shared or committed. Revoke it with the issuing service and switch to a new one.

Notes & limitations

  • What you enter is processed only on this page and is not sent to YUCTS servers.
  • Detection is pattern-based: keys in unknown formats or split across lines can be missed, and harmless strings can be flagged.
  • The tool does not check whether a key is real or still valid (it never contacts any outside service).
  • The text you enter and the results are never saved, sent or logged.

Data sources