Generate strong random passwords with a strength meter.
The Password Generator creates random passwords from the character sets you choose, with a length from 4 to 128. It shows an entropy estimate and a strength label, and can leave out look-alike characters. Passwords are made with the browser cryptographic random generator.
Password strength comes from unpredictability. A randomly generated password is strong because an attacker has to search a very large space of possibilities, and the size of that space can be measured in bits of entropy: length times the base-2 logarithm of the number of possible characters. Each extra bit doubles the guesses needed. Entropy only applies when characters are chosen at random, which is why people-made passwords with predictable patterns are weaker than the same length suggests. Length matters more than complexity rules, and a password should be unique to each account so a leak elsewhere does not expose it. A password manager makes long random passwords practical. This tool uses crypto.getRandomValues and an unbiased selection method, so no character is more likely than another.
They use crypto.getRandomValues, the browser cryptographically secure random generator, with rejection sampling to avoid bias.
Use 16 characters or more for accounts. Longer is better for anything that is not typed by hand, as long as the site accepts it.
Both can be strong. A random password is compact for a given entropy, a passphrase is easier to remember. For a password manager, random passwords are convenient.
It is length times log2 of the pool size. A 20-character password from an 89-character pool is about 129.5 bits. It assumes each character was chosen at random.
No. It is created in the page and is not sent to a server or stored.