Log PII & Secret Redactor
Scrub emails, IPv4 addresses, JWTs, API keys, database URLs, and credit cards from application logs directly in your browser.
Automatic pre-storage PII & secret redaction for OTLP traces
Stop worrying about tokens leaking into debug workflows. AutoSRE scrubs sensitive fields before storage—with support for up to 30 custom rules—before triaging production bugs.
How to use Log PII Redactor
- 1
Paste raw application logs, stack traces, or JSON log lines into the input editor.
- 2
Toggle built-in detectors (emails, JWTs, API keys, IPs, connection strings, credit cards) and choose a masking style.
- 3
Add custom regex rules for internal token prefixes, tenant IDs, or proprietary headers.
- 4
Copy or download the scrubbed output safely—nothing ever leaves your browser.
High-Risk Tokens & PII Patterns to Scrub Before Storage
Common sensitive values found in production HTTP error spans and structured application logs.
| Data Type | Common Location | Recommended Replacement |
|---|---|---|
| JWTs (eyJ...) | Authorization headers, cookies, URL tokens | [REDACTED_JWT] |
| Bearer / Basic Auth | headers.authorization / req.headers | [REDACTED_TOKEN] |
| API Keys (sk_live_, AIza, etc.) | Query params, SDK error payloads, env dumps | [REDACTED_API_KEY] |
| Emails & Phone Numbers | Request body, validation error logs | [REDACTED_EMAIL] / [REDACTED_PHONE] |
| Payment Card PANs | Checkout webhook bodies (Luhn-verified) | [REDACTED_CARD] |
| Session Cookies | Set-Cookie / Cookie HTTP headers | [REDACTED_COOKIE] |
Log PII Redactor FAQ
Everything runs locally in your browser with zero telemetry upload. Inspect inputs, copy clean outputs, and review common edge cases below.
Related Free SRE Tools
Regex Tester
Test JavaScript regular expressions with live match highlighting, capture group extraction, replacement previews, and SRE log presets.
JWT Decoder
Decode JSON Web Token headers and payloads locally, inspect standard claims, and check exp/nbf/iat expiration timestamps.
.env Validator
Compare .env files against .env.example to catch missing keys, empty values, duplicates, syntax errors, and accidental secret exposure.
Security Headers Generator
Build production-ready CSP, HSTS, X-Frame-Options, Referrer-Policy, and Permissions-Policy headers for Next.js, Nginx, and Express.