Secret Redactor – Free Online Tool
Find and mask API keys, tokens, emails, and private keys in code or logs before you share them.
Everything here runs in your browser. Nothing you paste is uploaded, logged, or sent anywhere — which is rather the point of a tool you feed secrets to.
5 known credentials found.
What was found
AKIAIOSFODNN… → [REDACTED_AWS_ACCESS_KEY_1]
sk-proj-9fKq… → [REDACTED_OPENAI_KEY_1]
postgres://a… → [REDACTED_CONNECTION_STRING_1]
dev@example.… → [REDACTED_EMAIL_1]
eyJhbGciOiJI… → [REDACTED_JWT_1]
Example
Input
AWS_KEY=AKIAIOSFODNN7EXAMPLE const token = "sk-proj-abc123def456ghi789jkl012mno345pqr"; contact: dev@example.com
Output
AWS_KEY=[REDACTED_AWS_ACCESS_KEY_1] const token = "[REDACTED_OPENAI_KEY_1]"; contact: [REDACTED_EMAIL_1]
Each secret is replaced by a labelled placeholder. The numbering means you can still tell two different keys apart in the redacted text.
How to Use Secret Redactor
- 1
Paste
Drop in the code, config, or log output you were about to share.
- 2
Review
Each finding is listed with its type and line so you can see what was caught and why.
- 3
Copy the clean version
Copy the redacted text, with secrets replaced by labelled placeholders.
What is Secret Redactor?
Pasting real code into a chat window is now part of everyday debugging, and it is the easiest way to leak a credential without noticing. The Secret Redactor scans text for the key formats the major providers use, spots private key blocks and JSON Web Tokens, and flags high-entropy strings that look generated rather than written. Findings are grouped by type so you can see what it caught before you trust the result. The scan happens entirely in your browser: a tool that asks you to paste your secrets somewhere else would defeat its own purpose.
Common Use Cases
- ✦Scrubbing a stack trace or config file before pasting it into an AI assistant
- ✦Cleaning logs before attaching them to a bug report or support ticket
- ✦Checking a snippet for leaked credentials before committing it
- ✦Sanitising output before sharing a screen recording or blog post
Share
Share a link to this tool. Results can be passed via URL parameters.
https://buildutilities.com/share/secret-redactorFrequently Asked Questions
More Security Tools
Security-focused tools for passwords, tokens, and cryptography.