Generate secure API keys online — free and local
Generate cryptographically secure API keys in alphanumeric, hex, UUID, or Base64 format. Keys are produced by your browser's crypto API and never leave your machine, so they are safe to use directly in production configuration.
Frequently Asked Questions
- How are the API keys generated?
- Keys are generated locally using your browser's built-in cryptographic random number generator (Web Crypto API). Nothing is sent to a server, so no one else ever sees the key.
- What format should an API key be?
- There is no single standard. Alphanumeric and hex strings of 32–64 characters are the most common. Choose Base64 for compactness, or UUID format if your system already indexes by UUIDs.
- How long should an API key be?
- At least 32 characters of random data is a sensible baseline — that provides well over 128 bits of entropy, which is infeasible to brute-force.
- Is it safe to generate production keys with an online tool?
- Only if the tool generates keys locally, like this one. Avoid tools that generate keys server-side — you have no way to know whether they are logged.