Local PII Redaction Before Any LLM Prompt
Automatically detect and mask emails, phone numbers, SSNs, Luhn-verified credit cards, database URIs, and API keys directly inside your browser. Paste the safe text into ChatGPT or Claude, then restore original values locally in one click.
Zero Server Uploads
Unlike cloud redaction APIs that ask you to upload sensitive data to a third party first, RedactForLLM runs 100% locally in JavaScript. Turn off your Wi-Fi and it still works.
Reversible Placeholders
Consistent tokens like [EMAIL_1] and [CUSTOM_1] keep context intact for the LLM, then map back to real values locally when you paste the reply.
Built for Logs & Secrets
Catches developer secrets that generic PII scrubbers miss: OpenAI/Anthropic keys, AWS AKIA keys, GitHub PATs, JWTs, and Postgres/MongoDB connection strings.
What Is PII Redaction and Why Does It Matter for AI?
PII redaction (Personally Identifiable Information redaction) is the process of identifying and removing or replacing sensitive identifiers—such as names, email addresses, Social Security numbers, payment card numbers, and authentication secrets—before sharing text or documents with external systems.
When teams paste customer tickets, contracts, HR notes, or production server logs into ChatGPT, Claude, or Gemini, unredacted PII can violate internal security policies, GDPR, HIPAA, or customer NDAs. Running client-side redaction first eliminates accidental leakage without slowing down your workflow.
Frequently Asked Questions
Does RedactForLLM send my text to any server?
No. All pattern matching, Luhn credit card verification, and placeholder restoration execute locally inside your browser tab. You can inspect the Network tab in DevTools to verify zero payload requests.
How does reversible redaction work?
Each unique sensitive value is replaced with a numbered tag (e.g. [EMAIL_1]). When the LLM replies using those tags, switch to the Restore tab to swap them back to the original values locally.
Can I redact person names or internal company names?
Yes. Enter any client names, project codenames, or employee names in the Custom Terms field (comma-separated) to mask them deterministically alongside automated detectors.
Is automated redaction 100% sufficient for legal compliance?
Automated detectors catch structured PII and common secrets reliably, but free-form text can contain context-specific identifiers. Always do a quick visual check of the output pane before sharing highly regulated records.