Redaction Rules & Patterns
Toggle built-in detectors or add custom sensitive keywords and regex patterns.
Redaction Preview
5 matches redactedOriginal text remains safely in memory. Inspect masked output before copying.
Text & Log Redactor Guide
Mask credentials, PII, API tokens, and custom patterns locally before copying or sharing snippets.
Overview
The Text & Log Redactor sanitizes confidential data from error traces, server logs, configuration files, and support tickets. It offers built-in opt-in pattern detectors (emails, IPv4 addresses, API keys, credit cards, SSNs, JWTs) and custom literal/regex rules with configurable mask styles (tags, blackout blocks, asterisks). It resolves overlapping match intervals safely, includes timeout safeguards against regex backtracking, and preserves original text in memory with distinct copy actions.
How to Sanitize and Redact Sensitive Text
Enter your raw text, server log, or config file into the input editor.
Toggle predefined rules or add custom keywords and regex expressions with your preferred masking style.
Switch between the highlighted badge preview, clean plain output, and side-by-side comparison views.
Use the Copy Redacted Text button to safely paste sanitized snippets into issue trackers or public chats.
- Non-Destructive Overlap Merging: When multiple rules match overlapping characters, the tool merges the intervals to prevent double-redaction or slice corruptions.
- Zero-Length Match Protection: Empty regex matches (such as boundary anchors) are safely bypassed without entering infinite loops.
- Unicode & Multi-Byte Safety: Redaction boundaries cleanly handle multi-byte Unicode characters, emojis, and non-Latin scripts.
- Client-Only Processing: Your confidential snippets, logs, and credentials never touch a remote server or API endpoint.
- Originals Stay Private: Original unredacted text is stored only in transient component memory and never persisted.