Gitleaks
FreeFast open-source secret scanner for detecting hardcoded passwords, API keys, and tokens in Git repos
Open Source No Ads No Tracking Offline No Sign-up Cross-platform
Scans Git commit history, directories, and staged files for hardcoded API keys, tokens, and private keys—running completely offline in milliseconds or as a pre-commit hook.
Why we picked it
Accidentally committing an API key to Git takes seconds to happen and hours to clean up. Written in Go under the MIT license, Gitleaks scans your repo history or pre-commit staging area offline in milliseconds.
Frequently Asked Questions
- Is Gitleaks genuinely free and ad-free?
- Gitleaks is completely free, distributed under the MIT license. Key user-freedom attributes include: Open Source, No Ads, No Tracking, Offline, No Sign-up, Cross-platform.
- Which platforms does Gitleaks support, and does it work offline or self-hosted?
- Gitleaks runs on Windows, macOS, Linux, CLI. It works offline on your local machine without a constant internet connection.
- What are the best free alternatives to Gitleaks?
- Top free, ad-free alternatives to Gitleaks in the Privacy category include Authelia, Bearer CLI, Nuclei.