DataPurge.dev

Redact API Keys & PII from Logs Before Sharing

Automatically mask OpenAI keys, GitHub tokens, Bearer JWTs, emails, and IPv4 addresses 100% locally before pasting logs into AI chats or bug trackers.

Zero tracking • Runs entirely in your browser
Raw / Dirty Input
342 chars•4 lines•342 B
Sanitized OutputClean Text
250 chars•4 lines•250 B(-27%)
Fixes applied:
✓ 2 sensitive tokens/emails masked
Live Telemetry & DiagnosticsLive
Sanitizer & Repair
Data Processed
342 B
342 chars
Errors Fixed
2
Syntax & hidden chars
Size Optimization
-27%
92 B saved
Processing Time
< 1 ms
Local engine
Privacy Score
100 / 100
Zero data leaves browser

How to Safely Redact API Keys and Sensitive PII from Server Logs

Developers frequently copy-paste stack traces, crash dumps, and HTTP debug logs into ChatGPT, Claude, GitHub Issues, or Slack. Unfortunately, those logs often contain live API keys, Bearer JWT tokens, user email addresses, and internal IP addresses.

Why does this problem happen?

Debug loggers and environment dumps serialize HTTP headers, database connection strings, and request payloads verbatim. Manually hunting for every sk- key, ghp_ token, or email address in a 500-line log file is slow and error-prone.

Once a secret is pasted into a third-party cloud tool or public issue, it can be stored in prompt history or indexed, forcing emergency key rotation.

How to solve it?

Paste your raw log or JSON payload into the editor above with Sensitive Data Masking enabled. DataPurge scans for common secret patterns (OpenAI keys, GitHub tokens, AWS access keys, Bearer JWTs, emails, and IPv4s) and replaces them with safe [REDACTED_*] placeholders.

You can then safely copy the sanitized log for debugging, AI prompting, or incident reports.

Why use 100% Client-Side (Zero-Telemetry)?

Uploading unredacted logs containing live API keys to a server-side redaction website defeats the entire purpose of redacting them.

DataPurge runs every regex scan exclusively inside your browser tab with zero network requests, keeping your secrets strictly on your machine.

No Compiler CrashesStrips zero-width spaces (\u200B) and curly quotes copied from Notion, Slack, or ChatGPT that secretly break your code.
100% In-Browser PrivacyNo API calls, no backend, no analytics trackers. Your proprietary code and tokens never touch any server.
Multi-Format EngineEffortlessly switch between JSON, YAML, XML, and CSV with automatic structure detection and clean syntax formatting.

Specialized Developer Utilities & Guides

All-in-One Sanitizer