How to use it
- Set the length
16 characters or more for accounts; 24+ for things that guard other things, like a password manager.
- Choose characters
Turn off symbols if a site refuses them, or exclude look-alikes if you will type it by hand.
- Copy it into your password manager
Then close this tab. Generate a new one with each click.
What makes a password strong
Strength comes from randomness and length, not from clever substitutions like P@ssw0rd, which cracking tools try first. A randomly generated password's strength is measured in bits of entropy: length × log2(number of possible characters). Each extra bit doubles the guesses an attacker needs. With all four character sets (about 90 characters), every character adds about 6.5 bits, so 16 characters give about 104 bits.
How this generator works
- Randomness comes from
crypto.getRandomValues, the cryptographically secure generator built into your browser, notMath.random. - Characters are picked by rejection sampling, so every character is equally likely (no "modulo bias").
- When you choose several character types, at least one of each is included, then the order is shuffled.
- The page has no server code and cannot make network requests. The password exists only in this tab until you close it.
Use a password manager
A strong password only helps if it is unique to one site. Nobody can remember dozens of random strings, so store them in a password manager (Bitwarden, 1Password, KeePassXC, or the one built into your browser or phone) and turn on two-factor authentication for important accounts. For the manager's own master password, a long passphrase you can remember is a good choice.
Need random ids rather than secrets? Use the UUID generator.