PII Redactor - Sensitive Data Masker
Redact emails, SSNs, credit cards, IP addresses, and phone numbers from text and logs. Add custom regex patterns. Runs entirely in your browser.
How to use
- 1
Paste or upload your text
Enter text, log lines, or JSON directly or upload a file.
- 2
Choose what to redact
Toggle built-in filters for emails, IPs, SSNs, credit cards, and phone numbers. Add custom regex patterns for domain-specific data.
- 3
Download the redacted output
Click Redact and download the result. The stats panel shows exactly how many items were masked by type.
Why use this tool?
- Redacts emails, IPv4/v6, US SSNs, credit card numbers, and phone numbers in one pass
- Custom regex patterns for domain-specific identifiers
- Configurable replacement placeholder — use [REDACTED], ***, or any custom string
- Runs entirely in your browser — sensitive data never leaves your device
Frequently asked questions
- Is my data sent to a server?
- No. All redaction is performed in your browser using JavaScript regex. Nothing is uploaded.
- Can I add my own patterns?
- Yes. Enter a label and a JavaScript regex string in the custom pattern section. Invalid regex is caught before it's applied.
- Does it redact inside JSON values?
- Yes. The redactor treats the entire input as plain text and replaces matching patterns regardless of structure. JSON keys are not matched — only values.
- How accurate is credit card detection?
- The pattern matches 13-16 digit sequences. It may produce false positives on other numeric strings. For production compliance use cases, consider a dedicated library.
Related tools
Parse bulk log lines from nginx, Apache, syslog, logfmt, and JSON formats into structured JSONL. File upload supported. Runs in your browser.
Test regular expressions with live match highlighting in your browser. Supports named groups and all JS regex flags.
Encrypt and decrypt text with AES-256-GCM using a passphrase. All processing done securely in your browser.
Popular right now
Format, validate, and minify JSON instantly in your browser. Your data never leaves your device.
Decode JWT tokens and inspect header and payload instantly in your browser. Your tokens never leave your device.
Count words, characters, sentences, and estimate reading time instantly in your browser. No sign-up required.



