Strong password generator
Strong random passwords created on your device, never sent or stored.
Strength: —
Select at least one type of character.
Passwords are generated on your device and are not kept anywhere.
Runs entirely in your browser. Your files never leave your device.
About this tool
A good password is long, random and used for one account only. Humans are bad at inventing randomness, so let your device do it: this generator draws every character from the cryptographically secure random source built into your browser, the same one used for encryption.
Choose the length and the kinds of characters, and you get one or several passwords instantly, with an estimate of their strength in bits of entropy. Nothing is sent over the network, written in the page address or kept after you leave. Store the result in a password manager rather than in a note or an email.
How it works
- Set the length with the slider; 16 characters or more is a good default.
- Choose the character types. Excluding look-alike characters (l, 1, O, 0…) helps if you need to type the password by hand.
- Copy the password you want, or press “Generate” for new ones.
- Save it in your password manager.
Characters come from crypto.getRandomValues with rejection sampling, so every character has exactly the same probability. Each selected type appears at least once, then the characters are shuffled.
Entropy is length × log2(number of possible characters). Above about 80 bits, guessing the password by brute force is out of reach.
Worked example
A new email account: choose 16 characters with uppercase, lowercase, digits and symbols. Each character is drawn from 94 possibilities, so the password carries about 105 bits of entropy, far beyond what any attacker can guess. Paste it straight into your password manager.
For a Wi-Fi password guests must type by hand, choose 20 characters without symbols and with ambiguous characters (0, O, l, 1) excluded: still about 115 bits, and much easier to read aloud.
Good to know
- One password per account: a leak on one site then never opens the others.
- A password manager lets you use long random passwords without remembering them; protect it with a long passphrase and two-factor authentication.
- Length beats complexity: each extra character multiplies the number of possibilities by the size of the character set.