Loading...
Generate random API keys and tokens with a custom prefix (like sk_live_ or myapp-), your choice of length, and a configurable character set — matching the exact key format your system or product expects.
Keys are produced by your browser's cryptographic random source and never leave your device. Generate service tokens, integration keys, and secrets for local development or provisioning scripts without trusting a web form with them.
32 characters of alphanumeric output (≈190 bits of entropy) is far beyond brute-force reach while staying URL- and header-safe. Longer mainly helps future-proofing; shorter than 22 characters starts to look thin for keys valid for years.
Prefixes like sk_live_ or ghp_ let you identify a key's purpose at a glance, enable secret-scanning tools to recognize leaks, and allow safe rotation schemes. The random part after the prefix is what provides security.
Security comes from entropy and how you store it, not from pronounceability. Generate randomly, store hashed on the server (like passwords), transmit only over HTTPS, and rotate on schedule.
PureKit · apikey · Free online tool — files processed locally in your browser, no upload.