ToolerCat / API Key & Secret Detector

API Key & Secret Detector

Which service does this key belong to — and is it a secret? Scan text locally and mask what leaks.

Generate a new secure key → · JWT Decoder →

Everything runs in your browser — nothing is sent. Still, never paste live production secrets into any website; use this to identify keys and to mask logs before sharing.

What it recognises

Prefix / patternServiceType
sk_live_ / sk_test_ / rk_Stripesecret
pk_live_ / pk_test_Stripepublishable
whsec_Stripe, Svixwebhook secret
ghp_ / github_pat_ / gho_ / ghs_GitHubsecret
glpat-GitLabsecret
AKIA / ASIAAWSaccess key ID
AIzaGoogleAPI key
ya29.GoogleOAuth token
GOCSPX-GoogleOAuth client secret
xoxb- / xoxp- / xapp-Slacksecret
sk-proj- / sk-…T3BlbkFJ…OpenAIsecret
sk-ant-api03-Anthropicsecret
SG.SendGridsecret
AC… / SK…Twilioidentifier
npm_npmsecret
pypi-PyPIsecret
shpat_ / shpss_Shopifysecret
hf_Hugging Facesecret
dop_v1_DigitalOceansecret
eyJ….eyJ….…JWTtoken
-----BEGIN … PRIVATE KEY-----PEM / SSHprivate key

…plus Twilio, Mailgun, Mailchimp, Square, PayPal/Braintree, Notion, Postman, Linear, Figma, Atlassian, Doppler, Telegram bot tokens, Slack and Discord webhooks, Laravel APP_KEY, database URLs with passwords, Bearer tokens and high-entropy values assigned to *_KEY, *_SECRET, *_TOKEN or password.

I leaked a key — what now?

Revoke or roll it in the provider’s dashboard immediately (deleting the commit is not enough — Git history and forks keep it), create a new key, update your deployment, then check the provider’s logs for unexpected use.

FAQ

Is it safe to paste a key here?

Detection runs entirely in your browser; nothing is uploaded or logged. For live production secrets, prefer pasting only the first few characters — the prefix is usually enough to identify the service.

Can it mask secrets in a log before I share it?

Yes — “Copy text with secrets masked” keeps the first and last characters of each secret and replaces the rest.

More about this tool

Paste code, logs or a config file to find leaked secrets: AWS keys, Stripe and GitHub tokens, private keys, JWTs and dozens of other credential formats are recognised by their patterns.

The scan runs locally in your browser, so you can check text before committing it, sharing it in a ticket or posting it in a chat.