Password generator
Generate strong random passwords from 8 to 128 characters. Choose the character sets, skip look-alikes, see the entropy in bits. Nothing leaves your browser.
Characters
- Entropy
- 128.1 bits
- Character pool
- 85
per password, with these settings
different characters
Made in your browser with crypto.getRandomValues. Nothing is sent or stored: reload the page and they are gone.
Everything you type here stays in your browser. Nothing is sent to HardenKit or to anyone else.
How to use the password generator
- Set the length. Sixteen characters or more is a good default for anything a password manager will remember.
- Choose the character sets the site accepts, and leave out look-alikes if you will read or type the password.
- Choose how many passwords you want and press Generate.
- Copy one into your password manager. Reload the page and the passwords are gone.
About this tool
A password is strong when an attacker cannot guess it, and the only reliable way to get there is to let a machine pick the characters at random. This generator draws every character from your browser’s cryptographic random source (crypto.getRandomValues), and picks without bias, so each character of the pool is exactly as likely as any other.
Strength is measured in bits of entropy: each bit doubles the number of passwords an attacker has to try. A 20-character password from letters, digits and symbols has about 128 bits, far beyond any guessing attack. Length matters more than symbols. Going from 12 to 16 characters adds more than switching symbols on, so when a site limits the character set, add length instead.
The common mistake is to generate a strong password and then reuse it. A random password protects one account; use a different one everywhere and keep them in a password manager. The option to require one of each set exists for sites whose rules demand it. It removes a small share of the possible passwords, and the entropy shown accounts for that.
Sources
Questions
For a random password stored in a password manager, 16 characters from letters and digits is about 95 bits, more than enough against any guessing attack. NIST’s guidelines require at least 8 characters and tell sites to allow at least 64. A password you must remember is better made as a passphrase of random words.
It depends on where the password is made. This tool makes it inside your browser with the Web Crypto API and sends nothing to a server; the page has no network call to make. You can check that by opening your browser’s network tab, or by going offline before you press Generate.
Entropy counts, in bits, how many equally likely passwords a method can produce: a pool of 62 characters and a length of 16 gives 62 to the power of 16 passwords, which is about 95 bits. It describes the method, not one password, so it only means something when the characters were chosen at random.
Only when a person will read the password aloud or type it by hand, for example a Wi-Fi password on a card. Leaving out I, l, 1, O, 0 and o makes the pool a little smaller, which costs a fraction of a bit per character. One more character of length makes up for it.
They enlarge the pool, so each character carries a little more entropy: about 6.4 bits with symbols against 5.95 with letters and digits only. That gain is small. Two extra characters of length do more than adding symbols, and cause fewer problems with sites that reject certain characters.