Password Generator
Create strong, random passwords on your own device.
How to use the Password Generator
- Open the Password Generator above.
- Type with your keyboard or tap the on-screen buttons; the result appears straight away.
- Change any value and run it again as often as you like. Nothing you enter leaves your device.
How the passwords are made
Each character is picked with your browser’s crypto.getRandomValues, the same kind of random number generator used for encryption keys. The generator first takes one character from every type you selected, so a password with symbols always contains at least one symbol. It fills the rest from the combined pool and then shuffles the whole thing so the guaranteed characters are not always at the start. Nothing leaves your device: the passwords are never sent, logged or stored.
Measuring strength with entropy
Strength is measured in bits of entropy, which tells you how many guesses a computer would need to try every possibility.
entropy (bits) = length × log2(pool size)
With uppercase, lowercase, digits and the 27 symbols offered here, the pool is 89 characters. A 16-character password then has 16 × log2(89) ≈ 103.6 bits. Every extra bit doubles the work for an attacker. At a trillion guesses per second, a 60-bit password falls in about a week on average, while 100 bits would take far longer than the age of the universe.
| Entropy | Rating | Example |
|---|---|---|
| under 40 bits | Weak | 8 lowercase letters |
| 40–59 bits | Fair | 10 letters and digits |
| 60–79 bits | Strong | 12 mixed characters |
| 80+ bits | Very strong | 14+ mixed characters |
These figures assume the password is truly random. A human-chosen password of the same length is far weaker, because attackers try words, names and common patterns first.
Length beats complexity
Adding characters raises entropy faster than adding symbol types. Going from 12 to 16 characters adds about 26 bits, while adding symbols to a 12-character letters-and-digits password adds only about 6. If a site restricts symbols, simply make the password longer.
Good habits
- Use a different password for every account, so one breach does not unlock the others.
- Store them in a password manager rather than a document or notebook.
- Turn on two-factor authentication for email, banking and social accounts.
- Use “exclude look-alikes” for passwords you have to read aloud or type from paper, since I, l, 1, O and 0 are easy to confuse.
Frequently asked questions
Is this password generator safe to use?
Yes. Passwords are created inside your browser using cryptographic randomness and are never sent over the internet or saved. You can even load the page and then disconnect from the internet.
How long should a password be?
At least 12 characters for everyday accounts and 16 or more for email, banking and password-manager master passwords.
What is password entropy?
A measure of unpredictability in bits: length × log2(number of possible characters). Each extra bit doubles the number of guesses needed.
Why exclude similar characters?
Characters like I, l, 1, O and 0 look alike in many fonts. Removing them makes passwords easier to read and type, at a small cost in entropy.