不喜欢广告? 无广告 今天

API Secret Scanner & Redactor

开发人员安全文本
广告 移除?

或者

选项

How detected secrets are rewritten in the redacted output.
广告 移除?

指导

API Secret Scanner & Redactor

API Secret Scanner & Redactor

The API Secret Scanner & Redactor finds hardcoded credentials in code, configuration files, and logs, then rewrites them so the text is safe to share. Paste a snippet and it instantly highlights AWS keys, GitHub and GitLab tokens, Stripe and Square keys, JSON Web Tokens, private key blocks, database connection strings, and generic key, secret, and password assignments. Everything runs locally in your browser, so the text you scan never leaves your machine.

如何使用

  1. Paste your code, config, or log output into the input box, or drop in a text file.
  2. Review the findings list, which shows each detected secret with its type, confidence level, and line number.
  3. Choose a redaction style: a labeled placeholder, full asterisks, or a partial reveal that keeps the first and last few characters.
  4. Untick any secret type you want to leave untouched, then copy or download the redacted output.

特征

  • Broad detection – Recognizes 20+ secret formats using a gitleaks-inspired regular expression library.
  • Color-coded findings – Groups matches by category with a confidence label and the line where each was found.
  • Redact all or by type – Toggle individual secret types on or off before generating the redacted output.
  • Flexible redaction – Replace secrets with a labeled placeholder, asterisks, or a partial reveal.
  • 完全客户端 – All scanning happens in your browser; nothing is uploaded.

常问问题

  1. What makes a string look like a secret to a scanner?

    Most credentials follow recognizable shapes: a fixed prefix (such as AKIA, ghp_, sk_live_), a known length, and a restricted character set like base62 or hexadecimal. Pattern-based scanners encode these shapes as regular expressions, and many also weigh the surrounding context, like an assignment to a variable named api_key or password.

  2. Why are private keys and JWTs detected by structure rather than keywords?

    A PEM private key is wrapped in explicit BEGIN and END markers, and a JSON Web Token is three base64url segments separated by dots that decode to a header and payload. These structural fingerprints are distinctive enough to match directly, without relying on a nearby label.

  3. What is the difference between high and low confidence matches?

    High-confidence matches use a vendor-specific prefix and length that rarely occur by accident, so a hit almost certainly is a real key. Low-confidence matches, such as a generic value assigned to a field named token, can also catch ordinary strings, so they are flagged for review rather than treated as certain leaks.

  4. Why should secret detection run locally instead of being sent to a server?

    The text being scanned may itself contain live credentials. Sending it to a remote service would expose those secrets to another system and any logs along the way. Performing the regex matching entirely in the browser keeps the sensitive input on the user's own machine.

想要享受无广告的体验吗? 立即无广告

安装我们的扩展

将 IO 工具添加到您最喜欢的浏览器,以便即时访问和更快地搜索

添加 Chrome 扩展程序 添加 边缘延伸 添加 Firefox 扩展 添加 Opera 扩展

记分板已到达!

记分板 是一种有趣的跟踪您游戏的方式,所有数据都存储在您的浏览器中。更多功能即将推出!

广告 移除?
广告 移除?
广告 移除?

新闻角 包含技术亮点

参与其中

帮助我们继续提供有价值的免费工具

给我买杯咖啡
广告 移除?