AZ Tools

Email & PII Masker

Text

Paste text that contains personal info and the tool replaces it with masked versions: `alice@example.com` → `al***e@e****e.com`, phone digits replaced with `*`, credit cards keeping only first/last 4. Useful when posting screenshots, sharing logs, or writing documentation. Choose what types to detect and how many edge characters to leave visible. All processing is local — your text never leaves the browser.

Detect:
Masked output
Masked output appears here.

How to use

  1. Paste text containing personal info.
  2. Pick what to detect (email, phone, card, IP) and how many edge characters to keep visible.
  3. Copy the masked text and replace the original wherever you were about to share it.

Frequently asked questions

Why is the IP detector off by default?
IP-like numbers (`1.2.3.4`) match many version strings (`2.0.10.5`). Off by default to avoid false positives — turn on only when you know your text contains real IPs.
Are credit card masks safe to share?
Keeping first 4 + last 4 is the standard 'card display' format used by Stripe, banks, etc. Don't try to mask less than that — last-4-only is often required to look up a transaction.
What about names and addresses?
Names and addresses don't have a reliable regex. For those, manual redaction (or LLM-based extraction) is still the right tool — out of scope here.
Will it mask in URLs or query strings?
Yes — `?email=foo@bar.com` gets masked just like prose. Same for emails inside JSON, logs, or HTML attributes.

Related tools