PII Redactor - Sensitive Data Masker
Developer Tools
What is PII Redactor - Sensitive Data Masker?
How it works
Features & Benefits
- 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 Utilities
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.