Generate a secure, random password with customizable length and character types, entirely in your browser.
The password is built in your browser with crypto.getRandomValues, the cryptographically secure random number generator that browsers provide. It is never sent to a server and is not stored, so only you ever see it. Copy it into a password manager before you leave the page, because it cannot be recovered.
Entropy measures how unpredictable a password is, in bits. Each extra bit doubles the number of guesses an attacker needs on average. For a random password it is length × log2(character set size). The default is 16 characters from all four types (94 possible characters): 16 × log2(94) = 104.9 bits, which the page rates Strong. Each extra character adds about 6.6 bits, so going from 16 to 20 characters makes the password roughly 78,100,000 times harder to guess.
| Length | Bits (94 chars) | Bits (62 chars) | Bits (26 chars) | Time to try half, 94 chars | Time to try half, 26 chars |
|---|---|---|---|---|---|
| 8 | 52.4 | 47.6 | 37.6 | 4 days | under a minute |
| 10 | 65.5 | 59.5 | 47.0 | 85 years | 2 hours |
| 12 | 78.7 | 71.5 | 56.4 | 754,050 years | 55 days |
| 16 | 104.9 | 95.3 | 75.2 | 5.9 × 1013 years | 69,094 years |
| 20 | 131.1 | 119.1 | 94.0 | 4.6 × 1021 years | 3.2 × 1010 years |
The times assume an attacker testing 10 billion guesses a second against a stolen, fast-hashed password file, and are an illustration, not a promise. Real speeds depend on how the website stores passwords. The point is the scale: an 8-character password falls quickly, while 16 characters is far beyond reach.
| Entropy | Rating |
|---|---|
| Under 28 bits | Very Weak |
| 28 to 35 bits | Weak |
| 36 to 59 bits | Reasonable |
| 60 to 127 bits | Strong |
| 128 bits or more | Very Strong |
| Character set | Characters |
|---|---|
| Lower case only | 26 |
| Lower + upper | 52 |
| Letters + numbers | 62 |
| All four types | 94 |
| All four, no ambiguous characters | 76 |
| All four, no brackets | 86 |
Removing ambiguous characters or brackets shrinks the set, so you lose a little entropy per character. Make up for it with extra length. Because each character is chosen at random, a password is not guaranteed to contain every selected type: with all four types and 16 characters, about 17% of passwords contain no digit and about 0.1% contain no symbol. If a site insists on one of each, generate again or add a character.
A passphrase of several random words is another good option for passwords you must remember, as long as the words are chosen at random and not from a song or quote. Use the generator for everything else, and let a password manager remember it.
The large box shows the password. Below it you see the entropy in bits and the strength rating. Treat anything under 60 bits as weak for important accounts. For a Wi-Fi or shared login that you must type by hand, turn on the ambiguous-character filter and use a longer length.
Characters like l, 1, I, O and 0 are hard to tell apart in some fonts. Excluding them helps when you must type the password by hand from a printout.
Yes. Generation happens locally in your browser using the secure random number generator. Nothing is transmitted or stored.
At least 14 to 16 random characters for important accounts. Length adds strength faster than symbols do.
It is a measure of unpredictability. Each extra bit doubles the number of guesses needed. A random password has length times log2 of the character set size in bits.
Not always. Characters are chosen at random from the selected sets, so a password can miss a type. Generate again or lengthen it if a site requires one of each.
Current NIST guidance says to change a password when there is evidence it is compromised, not on a fixed schedule, and to use a unique password for every account.
Sources: NIST SP 800-63B: Digital Identity Guidelines; CISA: Use strong passwords
Pick another tool to jump straight to it.