Secret & PII Scanner

Check logs, configs, and snippets for API keys, tokens, private keys, passwords, card numbers, and personal data before you share them. Then copy a redacted version.

How to scan text for secrets and personal data

  1. Paste text, such as a log excerpt, config file, stack trace, or a prompt you're about to send to an AI assistant, or drop one or more files.
  2. Review the findings, sorted by severity: API keys, tokens, private keys, passwords, payment cards, IBANs, Social Security numbers, emails, phone numbers, and IP addresses. Values are masked by default.
  3. Click a finding to jump to it in the highlighted view.
  4. Copy or download the redacted version, with every finding replaced by a [REDACTED] label.

Check before you share

Secrets leak through support tickets, public GitHub issues, Slack messages, pastebins, and AI chats. You paste a log to get help and it contains a bearer token, or you share a config file with a database password in it. The scanner recognizes about 35 kinds of secrets and personal data, and validates them to cut down on false alarms: card numbers must pass the Luhn check, IBANs their checksum, and generic passwords must look random rather than like placeholders.

Frequently asked questions

Is my text uploaded?

No. Scanning a secret by sending it to a server would leak it. Everything runs in your browser.

Does it find every secret?

No scanner can. It catches well-known formats and high-entropy values, but unusual or custom secrets may slip through, so still review what you share.

What should I do if it finds a real secret?

If it has already been shared, revoke and rotate it; redacting it now doesn't undo the exposure. For screenshots and PDFs, use the Image Redactor and PDF Redact.

Related tools

More in Security Inspectors · All 73 tools