Skip to main content
Text Tools
Recently added

Log Sanitizer

Redact JWTs, API keys, emails, IPs, and other secrets from logs locally.

Introduction

Log Sanitizer prepares support pastes and incident snippets by replacing likely secrets with clear [REDACTED_*] tokens. Rules are heuristic — always review output — but far faster than ad-hoc find and replace when scrubbing Authorization headers, JWTs, and emails. Pair with HAR Analyzer when cleaning network captures.

Features

  • Toggleable redaction rules
  • JWTs, Bearer tokens, API keys
  • Emails, IPs, card-like numbers
  • AWS key ID and query password patterns
  • Match counts and copyable output

How to use

  • 1
    Paste the log text you want to share.
  • 2
    Enable the redaction rules you need.
  • 3
    Copy the sanitized output and double-check remaining secrets.

Example

Bearer + email

Input
Authorization: Bearer abc… user=ada@example.com
Output
Authorization: Bearer [REDACTED_TOKEN] user=[REDACTED_EMAIL]

Benefits

  • Use Log Sanitizer without installing a desktop app or browser extension.
  • Works well alongside Find & Replace and HAR Analyzer for adjacent steps in the same workflow.
  • Results stay in this browser tab until you copy or download them.

FAQs

No. Patterns catch common cases but can miss custom formats or create false positives. Review before publishing.

No. Redaction runs locally.

Not yet — use Find & Replace with regex for one-off patterns.

Pair Log Sanitizer with Find & Replace, HAR Analyzer, Text Diff. See Related tools on this page.


Developer resources