Skip to content
toolstome

Secrets and API key scanner

Check code, configuration files, logs or a support ticket for secrets before you commit, share or publish them. Paste text or add files, and the scanner looks for the documented formats of AWS, GitHub, GitLab, Slack, Stripe, Google, OpenAI, Anthropic, SendGrid, Twilio and npm credentials, private key blocks, JSON Web Tokens, database connection strings and URLs with passwords, and hard-coded passwords or tokens with random-looking values. Each finding shows the file and line with the secret masked.

Free · No sign-upProcessed in your browser

Paste text or add files to scan.

Pattern-based: it can miss secrets and flag examples. A clean result is not a guarantee.

How to use the Secrets Scanner

  1. 1

    Paste text or add files

    Code, .env files, config, logs; files are read locally.

  2. 2

    Review the findings

    Each shows the type, file, line and masked context.

  3. 3

    Rotate real secrets

    Revoke and replace any real key that was exposed.

  4. 4

    Remove them from code

    Use environment variables or a secrets manager.

When to use it

  • Check a file before committing it or pasting it into a ticket.
  • Review a config dump or log before sharing it.
  • Spot test and live keys mixed up in code.

Limits

  • Pattern matching can miss unusual secrets and flag look-alikes such as example keys.
  • It does not check whether a key is real or still active.
  • Up to 20 MB of files at a time.

Privacy

Everything is scanned in your browser; your text and files are never uploaded. Secrets are masked in the results.

Frequently asked questions

Are my files uploaded?

No. They are read and scanned on your device, which matters because they may contain real secrets.

I found a real key. What now?

Revoke or rotate it with the provider at once, even if you delete it from the code, because it may already have been copied.

Why was a value flagged as a hard-coded secret?

It is assigned to a name like password, token or api_key and looks random. Check whether it is real.

Why wasn’t my secret found?

It may not have a recognisable format. A clean result is not a guarantee.

Can I scan a whole repository?

Add the files you want to check. For full repositories and history, also use a scanner in your CI pipeline.

People also use

Last updated November 22, 2026 · How we build and test our tools

Categories

Recently used tools

Tools you open will appear here.

More