Browser-only secret generator
API Key / Token Generator
Generate random API keys and tokens with custom length, alphabet, and prefix. Adjust length, count, prefixes, and character rules without sending secrets to a server.
Local generationCustom prefixBulk outputCharacter controls
Good practice
Use long, high-entropy secrets and store them in a secrets manager. Regenerate immediately if a key is exposed.
Configuration
Set the key profile.
Custom character sets make the token format predictable. That can be useful for internal systems, but avoid shrinking the pool too much.
Output
Generated keys and entropy.
Pool size
-
Approx entropy
-
Generated
0
Keys are generated locally with crypto.getRandomValues(). This tool is suitable for random identifiers and secrets, but production systems should still handle storage, rotation, and access control carefully.