API Key / Token Generator
Generate secure random API keys and tokens in various formats and lengths.
API Keys
Frequently asked questions
Are these keys cryptographically secure?
Yes. Keys are generated using window.crypto.getRandomValues() which is a CSPRNG (cryptographically secure pseudo-random number generator) built into modern browsers.
How long should an API key be?
For most use cases, 32 bytes (64 hex chars) provides 256 bits of entropy which is more than sufficient. For higher-security tokens, use 48 or 64 bytes.