Password Generator That Shows Real Strength in Bits
A password generator should tell you how hard its output is to guess, and here every random password, passphrase and PIN comes with its exact entropy and a crack-time table. You can also check a password you already use. All of it runs in your browser, and nothing is sent or stored.
Checked on this device only: nothing is stored, logged or sent. Up to 256 characters.
Roll five dice for each word and type the numbers left to right as one five-digit code. Separate codes with spaces, commas or new lines. Nothing here is generated by the page.
Words come from the EFF list of 7,776 English words (12.925 bits each) in every language of this site.
A PIN is safe only behind attempt limits or lockout: offline, any PIN falls in seconds.
The estimate assumes the attacker tries common passwords, words, years, keyboard rows and other patterns first. It cannot know how a password was made, so rate passwords from this generator by the generator's own number.
Several at once
This tab's history 0
Ctrl/⌘ + Enter makes a new one. Everything is made and checked in your browser; nothing you generate or type is sent or saved.
Four jobs this password generator does
People arrive with one of four problems, and the tool has a mode for each:
- Random password for an account your password manager remembers. The default, 16 characters from all four types, is what I hand out myself.
- Passphrase for secrets you type from memory (master password, disk encryption, Wi-Fi): random EFF words, with a dice mode if you would rather not trust software to pick them.
- PIN for phones, cards and door locks, where the device limits attempts.
- Check a password you already use, scored on your own device and never sent anywhere.
Every result shows its entropy and a crack-time table, computed from your settings, not from the characters that happened to come out.
Strength is length times randomness, counted in bits
I count bits, not symbols. A password drawn at random from a pool of N characters, L characters long, has L × log2(N) bits of entropy, and every bit doubles the number of guesses a full search needs.
- Default random password: 16 characters from 26 upper + 26 lower + 10 digits + 26 symbols = a pool of 88. 16 × log2(88) = 16 × 6.459 = 103.35 bits. Because every type is required, a few strings are ruled out and the exact count gives 103.1 bits.
- Old-style 8 characters, letters and digits: pool 62, 8 × 5.954 = 47.6 bits, or 47.2 with all three types required. At 1010 guesses a second that is a full search in about 4.4 hours.
- 15 random lowercase letters (the NIST minimum for a password used on its own): 15 × log2(26) = 15 × 4.700 = 70.5 bits, about 5,300 years at 1010/s.
Length is the cheap lever. One more character from the pool of 88 adds 6.5 bits; switching on symbols for a 16-character password adds about 8. The entropy guide works through the pool sizes and the bits-to-time table in full.
Passphrases: random words beat clever swaps
The EFF large wordlist has 7,776 words, which is 65: five rolls of a die choose one word. Each word is worth log2(7776) = 12.925 bits, assuming the attacker knows the list and your word count. How long the words are does not matter.
| Words | Bits | Slow hash, 104/s | Fast hash, 1010/s |
|---|---|---|---|
| 4 | 51.7 | ≈ 11,600 years | ≈ 4.2 days |
| 5 | 64.6 | ≈ 90 million years | ≈ 90 years |
| 6 | 77.55 | ≈ 700 billion years | ≈ 700,000 years |
| 7 | 90.5 | longer than 1015 years | ≈ 5.4 billion years |
My rule: five words for an account you type by hand, six or seven for a master password or an encryption passphrase, because those can face an offline attack. Capitals and digits add little. Capitalising one random word out of five adds log2(5) = 2.3 bits; one random digit placed in one of five words adds 3.32 + 2.32, so 5 words + digit = 64.62 + 3.32 + 2.32 ≈ 70.27 bits. A sixth word adds 12.9. Separators add nothing, since the attacker tries them all, and you can pick hyphen, space, dot, underscore, comma or none.
In dice mode you roll five dice per word, type the codes, and the words are looked up on your device: 16655 43264 55555 25236 61143 gives contusion-overrun-spotter-emptier-subside, 64.6 bits if the dice are fair. In dice mode the page only looks the words up, so the capital and digit options are switched off; add them by hand if a site insists. More on word counts and three random words versus five in how many words a passphrase needs.
Check the password you already use, on your own device
A meter that only counts character types is easy to fool. This checker thinks like an attacker: it looks up every part of your password in the 10,000 most common passwords and 10,000 English words, undoes l33t swaps (@→a, 0→o), spots keyboard rows, sequences, repeats, years and dates, then finds the cheapest way to build the string from those pieces, the same idea as the zxcvbn estimator. That matters because, in a leaked sample cited by Dropbox, 99.8% of passwords sat in a top-10,000 list.
Worked example: Summer2024! is common password #69 (log2 69 = 6.11, +1 for the capital first letter), a four-digit year (log2 150 = 7.23) and one symbol (log2 95 = 6.57). Total 20.9 bits, about 2 million guesses, or about 3.3 minutes against a slow hash at 104/s. A pool meter would score it 11 × log2(95) = 72.3. The breakdown shows each piece with its bits, so you can see what to replace; the pieces appear as dots until you press Show, and you get one to three plain tips. The guide to checking strength safely explains how to read the breakdown.
How long to crack: four attack speeds
"Time to crack" means nothing without a speed, so the tool always shows four. 100 guesses an hour is a login form with throttling. 104 a second is an offline attack on a slow hash such as bcrypt. 1010 a second is a fast hash on good hardware, and 1012 a second is a multi-GPU rig on a fast hash. For scale, one RTX 4090 was benchmarked at about 300 billion NTLM guesses a second and about 200 thousand a second on bcrypt. Times below are for the full search; on average the attacker finds it in half.
| Password | Bits | 100/hour | 104/s | 1010/s | 1012/s |
|---|---|---|---|---|---|
| 6-digit PIN | 19.9 | 10,000 hours (≈ 1.1 years) | 100 seconds | instant | instant |
| 8 chars, letters + digits | 47.2 | ≈ 182 million years | ≈ 506 years | ≈ 4.4 hours | ≈ 2.7 minutes |
| 4 EFF words | 51.7 | ≈ 4.2 billion years | ≈ 11,600 years | ≈ 4.2 days | ≈ 1 hour |
| 15 lowercase letters | 70.5 | longer than 1015 years | ≈ 5.3 billion years | ≈ 5,300 years | ≈ 53 years |
| 16 random, four types | 103.1 | longer than 1015 years | longer than 1015 years | ≈ 35 trillion years | ≈ 346 billion years |
The PIN row is why a PIN is only as good as its lockout.
What NIST, CISA and the NCSC ask for
| Source | Length | Other rules |
|---|---|---|
| NIST SP 800-63B | ≥ 15 if the password is the only factor, ≥ 8 inside MFA; allow at least 64 | No forced mix of types; accept all printable ASCII and space; check against a blocklist of common and leaked passwords |
| CISA | ≥ 16 characters, or a passphrase of 5–7 unrelated words | Random and unique for every account |
| NCSC (UK) | Three random words | Complexity rules push people into patterns; a password manager is still best |
In bits, three EFF words are 38.8, which is why I suggest four or five when the secret could ever be attacked offline. This is general information. For compliance, read the current official text. The password length guide puts all three side by side.
Fitting a picky site's rules
Some sites cap the length, accept only a few symbols, or insist on one of each type. Type the allowed symbols, pick a maximum length (12, 16, 20, 24, 32 or 64 with one tap, or any length from 4 to 128), and the bits are recalculated for exactly that rule. Example: 12 characters, letters, digits and only !@#$% allowed, with every type required, gives a pool of 67 and 71.8 bits. Requiring every type costs a little: at 4 characters the exact count is 4,218,240 strings, 22.0 bits instead of 25.8. As Bitwarden notes, piling on minimums limits strength, so keep them as low as the site allows. Excluding look-alikes (0 O o 1 l I |) costs a few bits. For temporary passwords, make 5, 10, 20 or 50 at once, then copy them all or save a .txt or .csv file created in the browser.
Under the hood: randomness, counting and test cases
- Randomness comes only from crypto.getRandomValues, the browser's cryptographic generator. Numbers are mapped to characters by rejection sampling, so there is no modulo bias. When every type is required and a draw misses one, the whole password is drawn again, which keeps the result uniform.
- Counting: required types by exact inclusion–exclusion; passphrases words × 12.925 plus any random capital or digit; PINs digits × 3.32.
- Labels: under 28 bits Very weak, 28–45 Weak, 45–60 Fair, 60–80 Strong, 80 and up Very strong.
- Privacy: no network requests. Generated passwords are kept only in this tab's memory (the last 10, with a Clear button) and never written to browser storage; only settings such as length and toggles are remembered. The checker input is never stored.
| Input | Expected |
|---|---|
| Random, 16 characters, all four types required | 103.11 bits, Very strong |
| Random, 4 characters, all four types required | 22.01 bits, Very weak |
Random, 12 characters, only !@#$% as symbols, every type required | 71.81 bits (pool 67) |
| Passphrase, 4 / 5 / 6 / 7 EFF words | 51.70 / 64.62 / 77.55 / 90.47 bits |
| Passphrase, 5 words plus one digit | 70.27 bits |
| Dice codes 16655 43264 55555 25236 61143 | contusion-overrun-spotter-emptier-subside, 64.62 bits |
| PIN, 4 / 6 digits | 13.29 / 19.93 bits |
| Check: password / P@ssw0rd / Password1 / 123456 | 1.00 / 3.00 / 7.95 / 0.00 bits |
| Check: Summer2024! | 20.91 bits, Very weak |
Limits: entropy assumes the attacker knows the method, and the checker is an estimate, not a guarantee. No password survives reuse or phishing, so keep each one unique, store it in a password manager and turn on MFA.
Guides
Quick answers
How long should a password be?
For a password stored in a password manager, 16 random characters from all four types (about 103 bits) is plenty. NIST asks for at least 15 characters when the password is the only factor; for a passphrase you type, use five or more random words.
How many bits of entropy is a strong password?
On this site 60–80 bits counts as Strong and 80 or more as Very strong. Anything you might face offline, such as a master password or encryption key, should be at least around 77 bits, which is six EFF words.
Is it safe to use an online password generator?
It is safe when the page generates in your browser with crypto.getRandomValues, sends nothing and stores nothing, which is how this one works. Copy the result straight into a password manager rather than leaving it in a note.
Are three random words secure enough?
Three EFF words are 38.8 bits: fine behind a login limit, but a fast offline attack at 10 billion guesses a second gets through them in under a minute. I use four or five for accounts and six or seven for anything encrypted.
Do special characters make a password stronger?
A little: they raise the pool from 62 to 88 characters, about 0.5 bits per character. Adding length does more, and a symbol tacked onto a word, as in Summer2024!, is one of the first patterns attackers try.
How do I check my password strength without exposing it?
Use a checker that runs on your device, like the Check tab here. It compares the password with built-in lists and patterns without any network request, and it does not save what you type.
Updated · About this site