How to use Password Generator
- Move the length slider. The default is 20 characters; 16 or more is a sensible floor for important accounts.
- Tick the character types you want: lowercase, uppercase, numbers and symbols. At least one must stay on.
- Leave "Exclude look-alike characters" on if you will ever type the password by hand. It removes I, l, 1, O, 0 and o.
- Press Generate for a new password. It also refreshes when you change an option.
- Check the strength label and the bits of entropy, then use the copy button and paste it into your password manager.
Features
- Length from 8 to 128 characters
- Four independent character types: lowercase, uppercase, numbers, symbols
- Every selected type appears at least once in the result
- Option to drop the look-alike characters I, l, 1, O, 0 and o
- Strength label (Weak, Good, Strong, Very strong) and entropy in bits
- Randomness from the Web Crypto API, with unbiased selection of each character
Examples
| Input | Result |
|---|---|
| 12 characters, lowercase + uppercase + numbers, look-alikes kept | about 71 bits (Good) — Pool of 62 characters: 12 x log2(62) = 71.4. |
| 16 characters, all four types, look-alikes kept | about 103 bits (Strong) — Pool of 87 characters: 16 x log2(87) = 103.1. |
| 20 characters, all four types, look-alikes excluded | about 127 bits (Very strong) — Pool of 81 characters: 20 x log2(81) = 126.8. |
| 6 characters, numbers only | about 20 bits (Weak) — 6 x log2(10) = 19.9. Fine for a throwaway code, not for an account. |
Limitations
- Entropy is estimated from length and pool size only. The tool does not check the password against lists of leaked passwords.
- The symbol set is fixed: !@#$%^&*()-_=+[]{};:,.?/~. Some websites reject certain symbols, in which case switch symbols off and add length.
- The password is not saved anywhere. If you close the page before copying it, it is gone.
Learn more
A password is only as strong as the number of guesses an attacker needs. Human-made passwords tend to follow patterns, such as a name with a year, and attackers try those patterns first. A randomly generated password has no pattern, so the only option left is brute force.
Entropy measures that effort in bits. The formula is length x log2(pool size), and every added bit doubles the number of candidates. Length matters more than variety: adding four characters to a password adds far more bits than switching on one more character type. This is why current NIST guidance favors length over forced complexity rules.
Random does not help if the source is weak. This tool uses crypto.getRandomValues from the Web Crypto API, which is designed for security uses, and it avoids modulo bias when mapping random numbers to characters. Use a different password for every account, store them in a password manager and turn on two-factor authentication where it is offered.
Frequently asked questions
How does a password generator create a strong password?
It picks each character at random from the pool you selected, using the secure random source built into your browser. Because nothing is derived from words or personal details, it cannot be guessed from them.
How long should a random password be?
For most accounts 16 characters with mixed types is a solid choice. Use 20 or more for email, banking and your password manager's master password.
Is a generated password sent to a server?
No. It is created and shown in your browser and is never transmitted or stored by us.
How is the entropy in bits calculated?
Length multiplied by log2 of the pool size. Each extra bit doubles the number of possible passwords, so 80 bits means 2^80 combinations.
Why would I exclude look-alike characters?
I, l and 1 look alike in many fonts, as do O, 0 and o. Removing them prevents typing mistakes when you read a password from paper or a screen.
Sources
- NIST SP 800-63B, Digital Identity Guidelines: Authentication and Lifecycle Management
- MDN Web Docs - Crypto.getRandomValues()
Last reviewed: September 29, 2026