Api Key Chain is the fastest way to check if your API keys are valid. Supports 59 providers including OpenAI, Anthropic, Google Gemini, DeepSeek, xAI, Groq, Stripe, and more. Open source, secure, and completely free.
Paste any key from these providers and get instant validation — no manual selection needed.
From instant validation to bulk testing and response inspection — built for developers who move fast.
A free account can watch one key with the same alerts and reminders. Premium unlocks the rest.
The same open-source checker runs as a command-line tool and a GitHub Action: it checks the keys in a.envfile or your CI secrets and fails the build when one has stopped working. Keys go only to their own provider and are never printed. Free and MIT-licensed.
GitHub Action
- uses: UsmanSanawar/Api-Key-Chain@v1
with:
env-names: OPENAI_API_KEY,STRIPE_SECRET_KEY
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
STRIPE_SECRET_KEY: ${{ secrets.STRIPE_SECRET_KEY }}Command line (from a clone of the repo)
node bin/apikeychain.mjs .env
node bin/apikeychain.mjs --env --only OPENAI_API_KEYExit code 1 when a key is invalid, so any CI system can use it.
Whether you're onboarding, rotating keys, or auditing — Api Key Chain fits into your process.
Your API keys are protected with industry-standard cryptography — whether stored client-side or server-side.
Encrypted and decrypted only in your browser. Your passphrase is never sent to us, so we can't read it.
Encrypted at rest with envelope encryption. Enables automated background health checks.
Start testing for free — no account required. Supports 59 providers with bulk testing, endpoint inspection, and more.