Weak and reused passwords are still one of the most common ways accounts are broken into. The fix is simple: a long, random, unique password for every account. Our password generator creates one instantly, shows how strong it is with an entropy meter, and does it entirely in your browser, so the password is never sent anywhere.
How to use the generator
- Choose a length with the slider, from 4 to 64 characters. The default is 16.
- Pick character types: uppercase A to Z, lowercase a to z, numbers 0 to 9 and symbols.
- Avoid ambiguous characters if you might need to read or type the password by hand. This removes characters that are easily confused, such as 0, O, 1, l and I.
- Press ↻ for a new password, and Copy to copy it.
The meter under the password shows the number of bits of entropy and the number of possible characters. Red means weak, amber is fair, and green is strong.
How the passwords are made
The generator uses your browser's cryptographic random number generator (crypto.getRandomValues), the same source used for encryption keys. It picks at least one character from each type you selected, fills the rest from the whole pool, then shuffles the result with a Fisher-Yates shuffle so the guaranteed characters are not in predictable positions. Nothing is stored or transmitted.
What entropy means
Entropy measures how hard a password is to guess, in bits. Each extra bit doubles the number of possible passwords.
With all four character types and ambiguous characters removed, the pool has 84 characters. Each character adds log₂(84) ≈ 6.4 bits, so a 16-character password has about 102 bits of entropy. That is far beyond what any attacker could brute-force.
| Length | Pool | Approximate entropy | |--:|---|--:| | 8 | Lowercase only (26) | 38 bits | | 12 | Upper + lower + digits (62) | 71 bits | | 16 | All four types (84) | 102 bits | | 20 | All four types (84) | 128 bits |
A common guideline is at least 60 bits for ordinary accounts and 80 or more for important ones, such as email, banking and your password manager.
Length beats complexity
Adding length increases entropy faster than adding character types. A 20-character password of lowercase letters (about 94 bits) is stronger than a 10-character password using every type (about 64 bits). If a site restricts symbols, simply make the password longer.
Good password habits
- Use a password manager. It remembers a unique random password for every site, so you only need one strong master password.
- Never reuse passwords. When one site is breached, attackers try the same email and password on others.
- Turn on two-factor authentication wherever it is offered, ideally with an authenticator app or security key.
- Change passwords after a breach, not on a fixed schedule.
- Be wary of phishing. A strong password does not help if you type it into a fake login page.
Passphrases
For a password you need to remember, such as your password manager's master password, a passphrase of several random words can be easier to type and remember while still strong. Five or six words chosen truly at random from a large list give entropy similar to a long random password. Do not use song lyrics or quotations, which attackers can guess.
Related tools
If you need random numbers rather than passwords, for a draw or a game, use the random number generator. For picking a name from a list, try the random name picker.
Frequently asked questions
Is it safe to generate a password online?
This generator runs entirely in your browser using a cryptographic random source. The password is never sent to a server or saved.
How long should my password be?
At least 12 characters for everyday accounts, and 16 or more for important ones. If you use a password manager, there is little reason not to use 20 or more.
Why remove ambiguous characters?
Characters like 0 and O or 1, l and I look alike in many fonts. Removing them avoids mistakes when reading or typing a password, at a very small cost in entropy.
Are symbols required for a strong password?
No. Length matters more. Symbols add strength per character, but a longer password without symbols can be just as strong.
Try it yourself
Run your own numbers with our free tool: Password generator. No sign-up, and it works on any device.