Random Password
generator.
Strong random passwords and passphrases, made in your browser, never saved.
Very strong: 130.93 bits. One RTX 4090 testing a fast hash would need about 2.5 × 10²⁰ years on average to guess it. At 20 characters it meets NIST's 15-character minimum for a password used on its own.
Strength and how it is worked out
The needle sits at 130.93 bits, past the end of the gauge at 128: Very strong. Weak is under 40 bits, Fair 40 to 60, Strong 60 to 80 and Very strong 80 or more. The steps below give the same figure.
- 1Count the characters you allowed26 + 26 + 10 + 32 = 94
- 2Each character adds log₂ of that count, in bitslog₂ 94 = 6.5546
- 3Multiply by the number of characters20 × 6.5546 = 131.09 bits
- 4Take out passwords that miss a type: 89.14% pass, which costs 0.17 bits131.09 + log₂ 0.8914 = 130.93 bits
- 5Check: 2 to the power of the bits counts the possible ones2130.93 = 2.59 × 10³⁹ = 9420 × 0.8914
- 6Average time to guess: half of them, at 163.4 billion guesses a second2.5 × 10²⁰ years
Length and strength
| Length | Bits | Fast-hash time |
|---|---|---|
| 8 | 51.32 | 2.4 hours |
| 10 | 64.81 | 3.1 years |
| 12 | 78.14 | 32,295 years |
| 14 | 91.39 | 314 million years |
| 16 | 104.59 | 3.0 trillion years |
| 20 (yours) | 130.93 | 2.5 × 10²⁰ years |
| 24 | 157.21 | 2.0 × 10²⁸ years |
| 32 | 209.71 | 1.3 × 10⁴⁴ years |
With your character types, each extra character adds 6.55 bits and multiplies the guessing time by 94. Very strong (80 bits) starts at 13 characters.
Keyboard shortcuts
- G makes a new password with the same settings.
- C copies it (all of them when you make several).
- Both work when no box has focus; click an empty part of the page first if you were typing.
How long to guess it
- Stolen database, fast hash (MD5), one RTX 4090
- 2.5 × 10²⁰ years
- Stolen database, slow hash (bcrypt, cost 5), one RTX 4090
- 1.9 × 10²⁶ years
- Online, locked after 100 tries
- 1 in 2.59 × 10³⁷ chance
Times are averages: half of all possible passwords tried. Rates are hashcat's published benchmark for one RTX 4090: 163.4 billion MD5 guesses and 212,600 bcrypt (cost 5) guesses a second. Sites using bcrypt at a higher cost are slower still. NIST SP 800-63B-4 caps failed sign-ins at 100 per account.
How long it needs to be
- Password, your character types
- 13 characters
- Password, all four types
- 13 characters
- Passphrase, this 389-word list
- 10 words
- Passphrase, EFF list of 7,776
- 7 words
Length rules (NIST)
- Password used on its own
- 15+ characters
- Used with a second factor
- 8+ characters
- Longest a site should accept
- at least 64
- Yours (20 characters)
- Meets both
From NIST SP 800-63B-4, section 3.1.1.2 (2025). The same section tells sites not to demand mixes of character types or regular changes, so length is the rule that counts.
How it's worked out
Each character is picked on its own from the characters you allow. The random values come from crypto.getRandomValues, your browser's cryptographic generator, and a rejection step keeps every character equally likely. With all four types there are 94 characters to choose from at every position.
Strength is measured as entropy, in bits. Each bit doubles the number of guesses an attacker needs:
Here is the length and is how many characters are allowed. For 20 characters from 94, that is 20 × 6.555 = 131.09 bits. The figure is exact because the password really is random. It says nothing about passwords people make up, which follow patterns.
Include every type needs one more step. The tool does not force a symbol into a fixed slot. It makes whole passwords and throws away any that miss a type, so every password that passes is equally likely. That leaves fewer possible passwords, and the tool counts them with the inclusion-exclusion rule: start from all , take away those missing each type, add back those missing two, and so on. At 20 characters, 89.1% of passwords pass, which costs 0.17 bits. At 8 characters only 46.1% pass, so 52.44 bits becomes 51.32.
A passphrase works the same way with words. This tool picks from 389 words, which is 8.60 bits per word. Capital letters add nothing, because every word gets one. A digit on a random word adds bits.
The time to guess is half of all possibilities (the average) divided by a guessing rate. The rates are hashcat's benchmark for one RTX 4090 graphics card: 163.4 billion guesses a second against MD5, a fast hash, and 212,600 a second against bcrypt at cost 5, a slow one.
The page is built ahead of time, and a server cannot use your browser's generator. So the password shown before the page finishes loading is an example from a seeded generator (mulberry32, seed 1). It is labelled as an example and is the same for everyone, so never use it. Your browser replaces it with a fresh password as the page loads. Nothing is saved: no settings, no list of earlier passwords, and no link that holds a password. The example links below carry settings only.
Worked examples
A new shopping account
Priya is signing up to a store and will keep the password in her password manager. She picks 16 characters with all four types. That gives 104.59 bits, Very strong. An attacker who stole the store's database would need about 3.0 trillion years on one RTX 4090 if it used MD5, and far longer if it used bcrypt.
A bank site that refuses symbols
Marcus's bank only accepts letters and digits. With symbols off, 16 characters still give 95.18 bits, because 62 characters per position is plenty. To pass 80 bits with letters and digits, 14 characters is the shortest length. Length makes up for the missing symbols.
A master passphrase you have to remember
Sam needs one password to open a password manager, typed by hand every day. Eight words from this tool's list give 68.83 bits, and adding a digit gives 75.15. To pass 80 bits takes 10 words from this list, or 7 from the EFF long list of 7,776 words. Password managers also slow guessing down on purpose, which adds a lot of safety on top.
Reading your result
The gauge uses four bands: Weak under 40 bits, Fair from 40, Strong from 60 and Very strong from 80. They are this site's bands, set by guessing time. At the MD5 rate above, a 60-bit password lasts about 41 days on average and an 80-bit one about 117,223 years.
Those times assume the worst common case, a stolen database with a fast hash. Signing in on a website is much harder to attack. NIST SP 800-63B-4 tells sites to stop accepting a password after at most 100 failed tries in a row, which gives even a 40-bit password odds of 1 in 1.1 × 10¹⁰.
Length rules come from the same NIST document. A password used on its own should have at least 15 characters, or 8 where a second factor such as a code or a passkey is also used. Sites should accept at least 64 characters, so a longer password may be refused.
Common mistakes
- Choosing symbols over length. Twelve characters with all four types give 78.14 bits. Sixteen letters and digits give 95.18. Extra characters add more than extra types.
- Editing the password by hand. Swapping a letter for one you like, or adding your birth year, adds a pattern and can lower the strength. Generate again instead.
- Inventing your own passphrase. Words you choose yourself, like a line from a song, are far easier to guess than words picked at random. The entropy figure only holds for random words.
- Reusing one strong password. When one site leaks, attackers try the same email and password everywhere else. Use a different password for each account and let a password manager remember them.
- Copying the example. The password shown before the page loads is the same for every visitor. Wait for your own, or press Generate.