How to use
- Choose a length and which character sets to include. Turn on “Exclude look-alikes” to avoid characters such as
l,1,Oand0. - The strength meter shows entropy in bits — aim for 80+ bits for accounts and 128+ bits for secrets.
- Switch to Token mode for API keys, session secrets or JWT signing keys in hex, base64url or base62.
FAQ
Are these passwords truly random?
Yes. Characters are picked with crypto.getRandomValues() using rejection sampling, so every character is equally likely. Nothing is generated or logged on a server.
How long should a secret key be?
32 random bytes (256 bits) is a common choice for HMAC and JWT signing keys and session secrets. Store secrets in environment variables or a secret manager, never in source code.