Local .env Secret Leak Scanner & .env.example Redactor

Paste any .env file to detect hardcoded API keys, database passwords, and JWTs — then export a commit-safe .env.example. Zero bytes ever leave your browser.

100% Browser-Local Zero Data Uploaded Instant Export

Paste .env Contents (100% Browser-Local)

Leak Audit & Redacted .env.example

LineSeverityVariableDetection RuleMasked Preview

Commit-Safe .env.example


        
JetBrains Plugin — EnvGuard

Want Real-Time Secret Protection Directly Inside IntelliJ, PyCharm & WebStorm?

Install JetBrains EnvGuard to highlight leaked credentials as you type, mask secrets during screen-sharing, and sync .env.example automatically.

Get EnvGuard & Dev Plugins →

Frequently Asked Questions

Is it safe to paste my .env file into this page?

Yes. This page is a 100% static HTML/JS utility with zero network requests and zero analytics transmitting form input. You can even disconnect from Wi-Fi after loading the page and it still works.

What secret formats does the scanner detect?

It detects OpenAI (sk-/sk-proj-), Anthropic (sk-ant-), AWS Access Keys (AKIA/ASIA), Stripe Live/Test keys, GitHub PATs, Slack tokens, Google API keys, PEM private keys, database URLs with embedded passwords, JWTs, and high-risk key names.

Why should I commit .env.example instead of .env?

Committing .env.example documents required environment variables for teammates and CI pipelines without exposing live credentials in Git history.

Related Developer Tools