Anonymize PII
One-shot redaction of emails, phone numbers, credit cards, and common names from your text.
About Anonymize PII
This tool runs all the individual PII redactors in sequence: emails, phone numbers, credit cards (with Luhn check), and common first names. Each match becomes a labeled placeholder so you can tell at a glance what kind of data was removed. Use it as a one-click sanitizer for screenshots, logs, transcripts, and other content before sharing.
When to use it
- Producing GDPR-safe data dumps for sharing or testing
- Sanitizing logs or chat transcripts before posting publicly
- Cleaning a screenshot description for a public bug report
- Doing a first pass at PII removal before manual review
How it works
The text is run through the email redactor (→ [EMAIL]), then phone redactor (→ [PHONE]), credit card redactor (→ [CARD]), and finally name redactor (→ [NAME]) — in that order, since email patterns and phone patterns can overlap with credit card matches in their digit content.
Examples
Contact Alice at alice@example.com or (415) 555-0100. Card 4532 0151 1283 0366.
Contact [NAME] at [EMAIL] or [PHONE]. Card [CARD].
Frequently asked questions
- Is this safe for production-grade anonymization?
- Use it as a first pass, never as the only step. Regex-based redaction misses unusual formats and context-dependent identifiers. For high-stakes anonymization, follow up with a manual review or use a dedicated DLP tool.
- Can I customize what's redacted?
- Use the individual tools for finer control: redact-emails, redact-phone-numbers, redact-names, redact-credit-cards.
- Are addresses or SSNs handled?
- Not currently. Addresses are too varied for a single regex; SSNs are easy to add but US-specific. Use find-replace-regex with a custom pattern for those.