← Back to Registry
🛡️

PII & Secret Redactor

Mask API keys, JWTs, emails, SSNs, and credit cards locally before pasting to AI.

Redacted:0 items
About, how to use & limitations

About PII & Secret Redactor

PII & Secret Redactor strips sensitive credentials and personal information from logs, code snippets, and support tickets before you paste them into ChatGPT, Claude, or external tools. It detects OpenAI, Anthropic, AWS, GitHub, Stripe, Slack, and Google keys, JWTs, PEM private keys, emails, US SSNs, US phone numbers, IPv4 addresses, and Luhn-validated credit card numbers. Everything runs 100% locally in your browser.

How to use

  1. Paste logs, JSON payloads, code, or support text into the Input box.
  2. Toggle which categories to redact: Secrets & Keys, Personal Info (PII), Network (IPv4), or High-Entropy Tokens.
  3. Choose Consistent Labels ([EMAIL_1], [API_KEY_1]) to preserve context for AI debugging, or Uniform ([REDACTED]).
  4. Click Copy Output to copy the sanitized text safely.

Limitations & notes

  • Credit card detection runs a Luhn checksum check to avoid false positives on order IDs or timestamps.
  • US SSN detection excludes invalid prefixes (000, 666, 900-999) and zeroed groups.
  • High-Entropy detection is optional and targets long random-looking tokens; enable it for custom secrets.
  • Zero data leaves your browser—all regex and checksum checks execute client-side.

FAQ

Why use Consistent Labels instead of [REDACTED]?
Consistent labels like [EMAIL_1] and [EMAIL_2] let an LLM understand that two log lines refer to different users without ever seeing their real email addresses.
Does this send my logs to any server?
No. Redaction runs entirely in JavaScript inside your browser.
How do you avoid false positives on credit card numbers?
Candidate 13-to-19-digit numbers must pass the Luhn checksum algorithm before being redacted.