What it recognises
| Prefix / pattern | Service | Type |
|---|---|---|
sk_live_ / sk_test_ / rk_ | Stripe | secret |
pk_live_ / pk_test_ | Stripe | publishable |
whsec_ | Stripe, Svix | webhook secret |
ghp_ / github_pat_ / gho_ / ghs_ | GitHub | secret |
glpat- | GitLab | secret |
AKIA / ASIA | AWS | access key ID |
AIza | API key | |
ya29. | OAuth token | |
GOCSPX- | OAuth client secret | |
xoxb- / xoxp- / xapp- | Slack | secret |
sk-proj- / sk-…T3BlbkFJ… | OpenAI | secret |
sk-ant-api03- | Anthropic | secret |
SG. | SendGrid | secret |
AC… / SK… | Twilio | identifier |
npm_ | npm | secret |
pypi- | PyPI | secret |
shpat_ / shpss_ | Shopify | secret |
hf_ | Hugging Face | secret |
dop_v1_ | DigitalOcean | secret |
eyJ….eyJ….… | JWT | token |
-----BEGIN … PRIVATE KEY----- | PEM / SSH | private 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.