PII Mask Generator

Paste text containing personal data — emails, SSNs, credit cards, phone numbers, IP addresses, and more — get it masked instantly. Every byte stays in your browser.

Zero upload guarantee — All detection and masking happens in your browser. No data is ever sent to any server.
Input Text
Detection Preview
High Medium Low
Detected PII will be highlighted here
High: 0 Medium: 0 Low: 0 Total: 0
Masked Output

Frequently Asked Questions

No. All PII detection and masking happens entirely in your browser using JavaScript. Your text never leaves your device. There are no API calls, no server-side processing, and no data storage of any kind. This is the core design principle — the tool is built specifically for sensitive data you can't afford to send to a third-party server.
The tool auto-detects: email addresses, US phone numbers (multiple formats), Social Security Numbers (SSNs), credit card numbers (Visa, Mastercard, Amex, Discover — with Luhn validation), IPv4 addresses, dates of birth (common formats), common name patterns, and US street addresses. You can also add custom regex patterns for domain-specific PII.
Five styles: Full Mask → *** | Partial Mask → j***@***.com | [REDACTED] → literal replacement | Hash → deterministic short hex [a3f9b2] | Custom Character → replace every char with your chosen character (e.g. X → XXXXXXXX).
High — strict, unambiguous pattern (e.g. Luhn-validated credit card, properly formatted SSN with valid range). Medium — likely PII but possible false positives (e.g. phone numbers). Low — heuristic match (e.g. name patterns). Use the Min. Confidence filter to mask only high-confidence matches if you want fewer false positives.
Yes. Use the "Add Pattern" button in the sidebar to define a custom regex with a label and masking style. This is useful for employee IDs, patient MRNs, policy numbers, or any structured PII specific to your domain.
This tool helps redact personal data from text, supporting GDPR and HIPAA data minimization practices. Because it is 100% client-side with no data transmission or storage, using it does not itself create a compliance obligation. Always consult your legal and compliance team for your specific use case.