bugsnap

free tool

Free Console & Network Log Privacy Redactor

What does this tool do? BugSnap's Console & Network Log Privacy Redactor strips JWTs, Bearer tokens, API keys, emails, IP addresses, and card numbers from pasted logs entirely inside your browser. Nothing is uploaded or stored, making it safe to share stack traces in Claude Code, Cursor, Slack, or GitHub Issues.

Log privacy redactor

What to redact
Replacement style
redacted output100% in your browser

Paste a log to see what gets scrubbed — 0 bytes sent to server


        
Open in Bug Prompt Generator →

why scrub logs before you share them

Console output and network traces are full of things that should never land in a chat with an AI model, a Slack channel or a public GitHub Issue: session cookies, Authorization headers, live API keys, customer emails and IP addresses. One careless paste can leak a working credential.

what the redactor detects

  • Bearer / JWT tokens: eyJ... JSON Web Tokens and Authorization: Bearer ... headers.
  • API keys & secrets: sk_live_, ghp_ and AKIA style keys, Cookie headers, and password, secret or token key-value pairs.
  • Emails & phone numbers, IPv4 / IPv6 addresses, card numbers (13–19 digits that pass the Luhn check) and query string tokens such as ?token=, ?key= and ?session=.

Pattern matching is a safety net, not a guarantee. Skim the output before you share it.

then turn the clean log into a fix

Click Open in Bug Prompt Generator to carry the cleaned log into the free bug report to AI prompt generator and get a structured prompt for Claude Code, Cursor or Codex. To stop secrets from reaching reports in the first place, read how BugSnap masks cards, passwords and tokens before a screenshot exists, or see the 18 KB BugSnap widget in action.

frequently asked questions

Does this tool upload my logs to a server?

No. All regex matching and redaction run 100% locally in your browser's JavaScript runtime with zero network requests.

What secrets does it detect?

JWTs, Authorization: Bearer headers, common API key prefixes (sk_live_, ghp_, AKIA), password/token key-value pairs, emails, phone numbers, IP addresses, and card number patterns.

How is this different from BugSnap's widget?

This tool cleans logs you paste manually; BugSnap's 18 KB widget automatically masks sensitive DOM fields and scrubs error text on your live site before a bug report is ever sent.

add bugsnap in one line.

$0 free forever and MIT open source. Hidden until a real bug, privacy masking always on.

<script src="https://getbugsnap.pages.dev/widget.js" data-project-key="YOUR_PROJECT_KEY" data-trigger="on-error" defer></script>