Redact API keys, passwords, bearer tokens, credit cards, emails, IP addresses, and PII from log files, code snippets, and support tickets.
Detects AWS keys (AKIA...), JWT tokens, OpenAI API keys, GitHub tokens (ghp_...), Stripe keys (sk_...), passwords, and private keys.
Automatically masks Social Security Numbers (SSN), credit card numbers, email addresses, phone numbers, and IPv4/IPv6 addresses.
Choose replacement styles: [REDACTED_API_KEY], [SECRET_***], or solid black block symbols (████████).
Sanitize confidential logs safely in your browser; zero secrets are ever transmitted across the network.
The Secret Redaction Tool applies an extensive regex dictionary of over 50 high-confidence credential and PII patterns.
It scans strings for known provider prefixes (e.g. sk-proj-, ghp_, Bearer eyJ...), high-entropy hexadecimal strings, and Luhn-valid credit card patterns.
Matches are replaced with semantic redacted tokens while preserving the surrounding log structure and formatting.
Redact production database passwords and API tokens from server error logs before posting on public repositories.
Mask company employee names, email addresses, and proprietary credentials before sending prompts to external LLMs.
Scrub customer credit card numbers and personal addresses from support tickets.
Anonymize personal identifiers from application test datasets and QA staging logs.
It automatically detects AWS keys, OpenAI keys, GitHub personal access tokens, Stripe secret keys, JWT bearer tokens, SSH private keys, passwords in connection strings, credit cards, emails, and IP addresses.
Yes. You can enter custom keywords, internal server hostnames, or regex patterns to redact alongside default rules.
No. All secret detection and string masking execute 100% locally in your browser memory.
No. The tool preserves line breaks, indentation, and structure, replacing only the secret values themselves.
Yes. Softnag includes a one-click copy button and a direct file download for redacted log files.
Sending unmasked logs containing live API keys to an external server risks credential leakage. Softnag processes all redactions locally in your browser.