Secret Detector & Redactor

Paste code, a log excerpt, a .env file, or config below. Detection and redaction happen entirely in your browser using pattern matching — nothing is uploaded, put in the URL, saved, or sent to analytics.

Detection mode

Nothing to scan yet — paste some input above.

Secret detection examples

Scan realistic context, then review both matches and the redacted output before sharing.

Repeated bearer token

Authorization: Bearer example_token_1234567890

Every identical occurrence receives the same numbered placeholder.

Database URL credentials

postgres://demo:example-password@db.example.invalid/app

Embedded username and password material is treated as a high-confidence credential pattern.

Common mistakes

  • Assuming no matches means the text is safe.
  • Publishing redacted output without reviewing context.
  • Using aggressive mode without accounting for false positives.

Examples and guidance reviewed .

FAQ

See also: