What this password generator does
Weak and reused passwords remain the leading cause of account takeovers. This generator creates random passwords from uppercase letters, lowercase letters, digits and symbols using crypto.getRandomValues, guarantees at least one character from each selected set, avoids modulo bias, and estimates the entropy in bits so you can see how strong the result is.
How to use it
- Set the Length; 16 characters or more is a good default.
- Choose which character sets to include.
- Optionally exclude ambiguous characters such as
I,l,1,Oand0if the password will be read aloud or typed from paper. - Copy the main password, or pick one of the alternatives below it.
- Click the refresh button for a new set.
Practical examples
- Password manager entries: 20+ characters with all sets gives over 120 bits of entropy, far beyond brute-force reach.
- Wi-Fi keys: exclude ambiguous characters and symbols so guests can type the key from a printed card; increase length to compensate.
- Database or API credentials: 32 characters without symbols avoids escaping problems in connection strings and shell scripts.
- Legacy systems with limits: if a site caps length at 12, include all character sets to maximise strength.
Tips and edge cases
- Length contributes more to strength than complexity. Each extra character multiplies the search space by the size of the alphabet.
- Entropy shown is an upper bound assuming the attacker knows the rules; it is accurate because the password is truly random.
- Some sites reject certain symbols. If a password is refused, disable symbols and add four characters.
- Never reuse a generated password across sites. Store them in a password manager.
- Passwords are generated in your browser and are never transmitted or stored.