Clipboard Contents Security Checker

Read your clipboard (with permission) and scan it for secrets, tokens, and PII before you paste

Ad placeholder (leaderboard)

Before you paste, this checker reads your clipboard (only with your permission) and scans it locally for things you almost certainly do not want to leak: API keys, tokens, private keys, and personal data. If something sensitive is on your clipboard, you find out before it lands in a chat box or support ticket.

How it works

When you grant permission, the tool calls navigator.clipboard.readText() and runs the returned string through a set of detectors. Each detector is a carefully scoped pattern:

  • Secrets — AWS access keys (AKIA…), GitHub tokens (ghp_…), Slack tokens (xox…), generic 32+ char API keys, and JWTs (three base64url segments separated by dots).
  • Private keys — PEM blocks such as -----BEGIN … PRIVATE KEY-----.
  • Payment data — 13–19 digit sequences that match card grouping and pass the Luhn check digit, which eliminates most random-number false positives.
  • PII — email addresses, IBANs, and long digit runs that resemble phone or account numbers.

Every match is shown with its type and a redacted preview (most characters masked) so you can confirm what was found without re-exposing the full secret on screen.

The Luhn check for card numbers

Card-number detection does not just count digits. It applies the Luhn algorithm: starting from the rightmost digit, every second digit is doubled (subtracting 9 if the result exceeds 9), all digits are summed, and the number is only flagged if the total is divisible by 10. This is the same checksum issuers use, so a random 16-digit string is very unlikely to be flagged.

Notes and limits

  • If your browser refuses programmatic clipboard reads (common on non-HTTPS pages or when the tab is unfocused), paste into the box instead — the scan is identical.
  • Detection is intentionally cautious: it prefers a harmless false alarm over a missed credential. A flag means “look at this,” not “this is definitely a live secret.”
  • Nothing you scan leaves your browser. Clear the input when you are done to remove it from the page.
Ad placeholder (rectangle)