Password Generator — the complete guide
Strong passwords are the cheapest security there is: they cost nothing, take seconds to make, and protect every account they guard. This guide covers the whole Password Generator — every input, every line of the result, the maths behind the strength figure, and what to do with the password once you have it — so you can use it with confidence instead of guessing at the settings.
At a glance
The inputs: length and character sets
The length box starts at 16, with a slider running from 8 to 64. Typing a number below 8 raises it to 8, and typing above 64 lowers it to 64, so the length always stays in range. The four character sets are uppercase letters (26), lowercase letters (26), digits (10) and symbols (27, from ! to ~), all ticked by default, making a pool of 89 characters. A longer password and a bigger pool both help, but length helps far more: each extra character adds about 6.48 bits, while adding the symbols adds only a few bits at a fixed length.
The outputs: password, length, pool and entropy
Press “Generate a new password” and the tool shows the password itself, then three lines: the length and pool size, for example “Length: 16 characters · Character sets: 89 symbols available”; the entropy, for example “Entropy: about 104 bits”; and a note that it was generated in your browser and nothing was sent anywhere. The password is made with your browser’s cryptographic random source, so it never leaves the page and nothing is stored. The “Copy password” button copies it, ready to paste.
The maths: combinations and bits
The number of possible passwords is the pool size raised to the power of the length: 89 to the power of 16 is about 1.5 followed by 31 zeroes. The entropy in bits is the length times log base 2 of the pool size: log base 2 of 89 is about 6.48, so 16 characters give about 104 bits. The table for the full pool is 8 characters at about 52 bits, 12 at about 78, 16 at about 104, 20 at about 130, 32 at about 207 and 64 at about 414. A 12-character password would already take about 7.8 million years to try at a billion guesses a second, and a 16-character one about 4.9 followed by 14 years.
When to change the settings
Leave the defaults alone for most accounts. Raise the length to 20, about 130 bits, for the accounts that matter most: your email, your password manager, your bank and your Wi-Fi router. Untick symbols only when a website refuses them, and if you do, raise the length to 20 to make up for the smaller pool of 62, which gives about 119 bits at 20 characters. A 16-character password from letters only has about 91 bits, which is still strong, but there is no reason to accept it when symbols are allowed.
What to do with the password
Save every generated password in a password manager, which stores them behind one master password you remember. Give every account its own password: if one leaks in a breach, the others stay safe. Never reuse a password, never email one, and never type one into a website you reached from a link in a message. An illustrative example of the default shape is “m9$Kp2#vX7!qW4&d”: 16 characters, mixed case, digits and symbols. That string is only an illustration of the shape, so generate your own on the tool for each account.
The common mistake
The biggest mistake is generating a strong password and then not saving it, so the account has to be reset the next time you sign in. The second biggest is reusing one good password everywhere, which turns a breach of the weakest site you use into a breach of all of them. Generate fresh, save immediately, and use a different password per account, and the tool has done its job.
Frequently asked questions
What are the default settings?
Length 16, with all four character sets ticked: uppercase (26), lowercase (26), digits (10) and symbols (27), a pool of 89 characters, giving about 104 bits.
How many bits is a 20-character password?
About 130 bits. Each character adds about 6.48 bits, so 20 × 6.48 is about 130 bits.
How long would it take to guess a 16-character password?
About 4.9 followed by 14 years at a billion guesses a second, because there are about 1.5 followed by 31 zeroes possible passwords.
Should I use the same generated password everywhere?
No. Give every account its own password, stored in a password manager, so one breach cannot open all your accounts.
What if a website refuses symbols?
Untick the symbols box and raise the length to 20. A 20-character password from the 62-character pool without symbols has about 119 bits.
More guides on the Password Generator
- How to use the Password Generator — step by step
- Password Generator explained with worked examples
- Password Generator formula — how it actually works
- Password Generator for beginners — start here
- Common mistakes people make with the Password Generator
- Password Generator vs doing it by hand — which is faster?
- How to get an accurate result from the Password Generator
- Password Generator for students — with examples
- Password Generator for homeowners and DIYers
Try the Password Generator — free, in your browser.