What it does
Builds a random password of the length you choose (6–64) by drawing characters from the sets you enable — lowercase, uppercase, digits and symbols. Each character is picked with crypto.getRandomValues, the browser's cryptographically secure generator, using rejection sampling so there's no modulo bias: bytes that would skew the distribution are discarded rather than wrapped. Click Generate (or move the slider) for a fresh password every time. The symbol set is !@#$%^&*()-_=+[]{};:,.?/.
Entropy — why length wins
Strength is measured in bits of entropy: length × log2(pool size). With all four sets enabled the pool is 86 characters (~6.4 bits each), so a 20-character password carries roughly 128 bits — far beyond anything brute-forceable. Adding length raises entropy linearly and reliably; adding exotic character types helps far less. A longer all-lowercase password can easily beat a short mixed one.
Options and gotchas
- Avoid ambiguous (
Il1O0) strips look-alike characters so the password is safe to read aloud or copy by hand. It shrinks the pool slightly, so compensate with a couple of extra characters if you use it. - The generator draws from the combined pool at random; it does not force at least one character from every set. If a site demands "one digit and one symbol", regenerate or nudge the length until the result satisfies it (at 16+ chars this is almost always the case anyway).
- Some systems reject certain symbols or cap length. If a password is refused, turn off Symbols or lower the length rather than assuming the generator failed.
- Long random strings are ideal for a password manager, not for memorising. For something you must type from memory, a multi-word passphrase is easier and still strong.
When to use it
Use it for any account or service where a manager stores the result for you, for API keys and database passwords, or for a strong secret to feed other tools — for example a key for the HMAC generator or a value for the htpasswd generator. If you need raw random bytes rather than a typeable password, see Salts or UUID.
Security
The password is generated locally and never leaves your browser. It isn't stored — copy it before you navigate away. For accounts, longer is stronger; aim for 16+ characters with mixed sets.