Password Generator
Strong random passwords generated in your browser, with the entropy behind the strength rating.
Updated
Include
Your password
—
104bits
of entropy — rated very strong
- Strength
- Very strong
- Character pool
- 89 characters
- Time to crack
- 2 trillion years
Very strong
“Time to crack” assumes an offline attacker making 100 billion guesses a second against a fast hash — a deliberately pessimistic yardstick. A site that stores your password properly would take far longer. The real risk is reuse: a unique password per account matters more than any of these numbers.
In short
How long should a password be?
At least 15 characters when the password is the only thing guarding an account — what NIST SP 800-63B rev 4 requires of verifiers for single-factor passwords. This tool defaults to 16 random characters from a pool of 89, about 104 bits of entropy. Length beats complexity: every extra character multiplies it by 89.
Length only helps if the password is genuinely random, because a 15-character phrase you invented yourself carries far less unpredictability than its length suggests.
How to use the password generator
Set the length with the slider, tick the character sets you want, and a fresh password appears immediately — every change generates a new one. The defaults are 16 characters drawn from lowercase, uppercase, digits, and symbols, a pool of 89 possible characters at each position, which is a sensible starting point for almost any account. Copy it with the button, or press “New password” if you want a different one.
Nothing is generated on a server and nothing is transmitted: the password exists only in the page in front of you, it is never written into the URL, and closing the tab destroys it. That last point is worth taking seriously, because a generator that produces your password anywhere other than your own device has to be trusted with every password it has ever produced.
16
Default length
NIST asks 15+ for single-factor
89
Character pool
all four sets switched on
104 bits
Entropy at the defaults
very strong starts at 80
The randomness comes from your browser’s cryptographic generator, not from the ordinary random function most scripts reach for — that one is a fast, predictable-by-design pseudo-random number generator and has no business guarding an account. Characters are also picked by rejection sampling rather than by taking a random byte modulo the pool size, because the modulo shortcut makes the first few characters of the alphabet measurably more likely to appear.
The same randomness, a different job
The random number generator draws from the same cryptographic source and uses the same rejection sampling, for draws and ranges rather than for passwords.
Open the random number generator →The strength reading is entropy in bits: how much genuine unpredictability the settings produce. The tool bands that figure into five ratings, from very weak up to very strong, with the thresholds set here.
- Very weak
- below 28 bits
- Weak
- below 36 bits
- Fair
- below 60 bits
- Strong
- below 80 bits
- Very strong
- 80 bits and above
None of this matters as much as using a different password everywhere. The practical answer is a password manager — it remembers a unique long password per account so you never have to, which is the only realistic way to make every account independent of every other one.
NIST SP 800-63B, revision 4, points the same way: it tells verifiers to screen new passwords against blocklists of known-compromised values and to force a change only when there is evidence of compromise, not on a calendar.
Do
- Set the length first, before touching the character sets.
- Add two or three characters when a site refuses one of the sets.
- Paste the result straight into a password manager entry.
- Read the entropy figure rather than how messy the string looks.
Don't
- Untick symbols and keep the same length out of habit.
- Try to memorise or write down a generated 16-character string.
- Quote a crack time without saying which attacker it assumes.
- Reuse one generated password across several accounts.
Entropy, the rating this tool assigns, and the estimated time to exhaust the search space, by password length with all four character sets switched on.
| Length | Entropy | Rating | Estimated time to crack |
|---|---|---|---|
| 4 characters | 26 bits | Very weak | Instantly |
| 6 characters | 39 bits | Fair | 2 seconds |
| 8 characters | 52 bits | Fair | 5 hours |
| 10 characters | 65 bits | Strong | 5 years |
| 12 characters | 78 bits | Strong | 39 thousand years |
| 14 characters | 91 bits | Very strong | 310 million years |
| 15 characters (NIST single-factor minimum) | 97 bits | Very strong | 28 billion years |
| 16 characters (default here) | 104 bits | Very strong | 2 trillion years |
| 18 characters | 117 bits | Very strong | Longer than the age of the universe |
| 20 characters | 130 bits | Very strong | Longer than the age of the universe |
| 24 characters | 155 bits | Very strong | Longer than the age of the universe |
| 32 characters | 207 bits | Very strong | Longer than the age of the universe |
| 64 characters (the maximum here) | 414 bits | Very strong | Longer than the age of the universe |
What does the time-to-crack figure assume?
Alongside it sits a time-to-crack estimate that assumes an offline attacker making 100 billion guesses per second against a fast hash such as MD5 or SHA-1 — a deliberately pessimistic yardstick, not a forecast.
Real offline cracking rates vary enormously with the hashing algorithm the site chose: a password stored with bcrypt, scrypt, or Argon2 slows the same hardware down by orders of magnitude, while a password guessed through a rate-limited login form is a completely different problem measured in guesses per minute rather than per second.
The formula, worked line by line
Strength is measured in bits of entropy — how much unpredictability a randomly generated password actually carries. It depends on exactly two things: how long the password is, and how many characters it could have been drawn from at each position. Nothing else about the string matters, which is why a capital letter on the front and an exclamation mark on the end buy almost nothing.
Because entropy is a logarithm, the two levers behave very differently. Widening the pool adds bits per character in a slow logarithmic way, while adding characters multiplies the whole search space each time. Going from 62 characters to 89 in the pool adds about half a bit per position; adding one character to the length adds a full 6.48 bits at that pool size, more than twelve times as much.
pool size = 26 lowercase + 26 uppercase + 10 digits + 27 symbols = 89
entropy (bits) = length × log₂(pool size)
expected guesses = 2^(bits − 1) — half the space, on average
expected time to crack = 2^(bits − 1) ÷ 100,000,000,000 guesses per second- Pool
- 26 + 26 + 10 + 27 = 89 characters
- Bits per character
- log₂(89) = 6.4757
- Length
- 16 characters
- Entropy
- 16 × 6.4757 = 103.61 bits
- Displayed
- 104 bits, very strong
For the crack time the tool halves the space, since an attacker expects to find the answer halfway through on average: 2^102.61 ÷ 100,000,000,000 is about 7.7 × 10^19 seconds, or roughly 2 trillion years. Drop to 8 characters and the same arithmetic gives 51.81 bits and about 5 hours — the entire difference is eight characters.
Every crack time on this page assumes one specific attacker: an offline one, working from a stolen password file with no rate limit, at 100,000,000,000 guesses per second against a fast hash of the MD5 or SHA-1 class. State that assumption whenever you quote one of these numbers, because offline cracking rates vary enormously with the algorithm the site used.
The same hardware pointed at bcrypt with a sensible work factor, or at scrypt or Argon2, manages a minuscule fraction of that rate, so the real figure for a well-built site is far larger than the one shown. An online attacker guessing through a login form that locks out or throttles is not in the same universe at all. The figure here is a floor to design against, not a forecast of how long anyone would actually take.
“Verifiers SHALL require passwords used as a single factor to be a minimum of 15 characters, SHALL NOT impose composition rules requiring mixtures of character types, and SHALL NOT require subscribers to change passwords periodically — only when there is evidence of compromise.”
This is also why the old advice — eight characters with a capital, a digit, and a symbol — has been retired. Eight characters from the full 89-character pool is only 52 bits, which this tool rates merely fair, and the composition rules that came with it pushed people towards predictable substitutions that guessing software already models.
Revision 4 also requires new passwords to be screened against a blocklist of commonly used, expected, or compromised values. A generated password satisfies all of that by construction, because it was never a human choice in the first place.
Questions people ask
Sources
Where the constants and formulas on this page come from. Each line names the figure it backs.
That verifiers must require at least 15 characters for single-factor passwords, must not impose composition rules, must not force periodic changes, and must screen new passwords against blocklists of compromised values.
NIST SP 800-63B-4, Digital Identity Guidelines: Authentication and Authenticator Management — NIST, Revision 4, final, July 2025
Related guides
How Are Loan Payments Calculated? Amortization, Explained
One level payment, front-loaded interest — the formula worked by hand, the two levers you control, and why the smaller payment is often the costlier loan.
July 23, 2026 · 13 min read
How Does Inflation Work? The Math That Shrinks Money
One growth factor, two answers — what today's money will buy later, and how many future dollars it takes to keep up.
July 23, 2026 · 13 min read
How Is Sales Tax Calculated? Rates, Rules, and the Reverse Math
The combined-rate reality, the one-multiplication forward formula, and the division that pulls the tax back out of any total.
July 23, 2026 · 13 min read