Free tool
Secret checker
Paste a .env file, config or code snippet. We’ll highlight API keys, tokens and passwords using 22 detection rules. It runs entirely in your browser: nothing you paste leaves this page.
🔒 Checked locally. You can disconnect from the internet and it still works.
Results appear here.
Found a key? Do this now
- Create a new key at the provider (we link to the right page for each one).
- Update your app to use the new key.
- Delete the old key. Removing it from the file isn’t enough: if it was ever committed to git, shared, or in a folder an AI tool could read, assume it’s been seen.
- Check usage in the provider’s dashboard for anything you don’t recognise.
What it detects
Anthropic, OpenAI, Google Gemini, Hugging Face, Groq, Replicate and xAI keys; AWS, GitHub, Stripe, Slack, SendGrid and npm tokens; private keys, JWTs, database URLs with passwords, hard-coded secrets, card numbers and US Social Security numbers.
Check your whole Mac, not just one file
The same rules power the TidySecrets Mac app, which checks every project, config, screenshot and PDF on your Mac, plus what your AI tools can reach.