API Key Generator
Generate random API keys and tokens with secure randomness.
Random keys, done right
A good API key or token is long and truly random. Rolling your own from a weak random source is a real risk, so this generator uses the browser’s cryptographic randomness.
Choose the length and character set — hexadecimal, alphanumeric, or URL-safe — and it produces a fresh key on demand. Everything happens on your device, so the secret never travels.
Secure and private
Keys are generated in your browser with a cryptographic source and never uploaded.
Frequently Asked Questions
How secure are the keys?
They are drawn from the browser’s cryptographic random generator, appropriate for tokens and secrets.
What formats are available?
Hexadecimal, alphanumeric, and URL-safe Base64-style characters, in the length you choose.
Are the keys logged?
No. Generation is entirely local and nothing is sent anywhere.
Browse the full set of free, private, in-browser tools.