Password Generator

Generate strong random passwords in your browser using the Web Crypto API. Nothing is transmitted or stored — see the entropy and estimated crack time for each result.

16 or more is recommended. Maximum 128.

Generated password

Choose your options and press Generate.

What makes a password strong

Strength is measured in entropy — bits of unpredictability — and length contributes far more than complexity. Each additional character multiplies the search space by the size of the character pool, so a long password from a small alphabet beats a short one from a large alphabet.

A 16-character password from a 94-character pool carries about 105 bits of entropy, which is beyond brute force with any foreseeable technology. An 8-character password from the same pool has about 52 bits and can be exhausted by a well-equipped attacker in hours. The practical guidance is simple: prefer length.

Entropy in bits by length and character pool
Character poolPool size8 chars12 chars16 chars20 chars
Digits only1026.639.953.266.4
Lowercase letters2637.656.475.294
Letters and digits6247.671.595.3119.1
All printable characters9452.478.7104.9131.1

Why the old complexity rules were wrong

The familiar requirements — at least one uppercase, one number, one symbol, changed every 90 days — came from NIST guidance published in 2003 whose author has since said the advice was mistaken. In practice the rules pushed people toward predictable patterns like Password1! and P@ssw0rd, which attackers model directly.

Current NIST guidance (SP 800-63B) reverses much of it: prioritize length, allow all characters including spaces, screen new passwords against lists of known breached credentials, and do not force periodic rotation without evidence of compromise. Forced rotation reliably produced weaker passwords, as users made minimal predictable changes.

Passphrases as an alternative

A passphrase of several random words can be both strong and memorable. The Diceware method selects words at random from a list of 7,776; each word adds about 12.9 bits, so six words give roughly 77 bits — strong, and far easier to type and remember than a random string.

The critical requirement is genuine randomness in the word selection. A phrase you compose yourself is weak, because human word choice follows predictable patterns and attackers use language models against it. Words drawn by dice or by a cryptographic generator are what produce the entropy.

Diceware passphrases (7,776-word list)
WordsEntropy (bits)Time to exhaust at 10 billion guesses/s
338.824 seconds
451.72 days
564.645 years
677.53,503 centuries
790.527,237,033 centuries
8103.4211,795,170,400 centuries

Practical password security

Reuse is the dominant real-world risk. When any service is breached, attackers replay the credentials against other sites — credential stuffing — so one leaked password compromises every account sharing it. A unique password per account contains the damage to one service.

A password manager is what makes that practical: it generates and stores unique credentials so you only memorize one strong master password. Enable two-factor authentication wherever available, preferring an authenticator app or hardware key over SMS, which is vulnerable to SIM swapping. And treat security questions as additional passwords — mother's maiden name is often public — by storing random answers in your manager.

How long a password survives

The figures below use the calculator's own model: an offline attack against a stolen hash at ten billion guesses a second, with the attacker expected to succeed halfway through the keyspace. A slow password hash such as bcrypt or Argon2 cuts the guess rate by many orders of magnitude; an online login form, which rate-limits attempts, is slower still. Plan for the offline case, because that is how breached passwords are actually cracked.

Expected time to crack at 10 billion guesses per second
Character pool8 chars12 chars16 chars20 chars
Digits onlyinstantly50 seconds6 days2 centuries
Lowercase letters10 seconds55 days691 centuries315,742,466 centuries
Letters and digits3 hours51 centuries755,323,626 centurieslonger than the age of the universe
All printable characters4 days7,541 centuries588,723,937,869 centurieslonger than the age of the universe

Reading the strength meter

The meter maps entropy to four bands. The boundaries are conventions rather than physics, but they line up with what current hardware can and cannot exhaust.

Strength bands
Entropy (bits)RatingWhat it means
Under 40WeakFalls to an offline attack in hours or less
40 – 59FairAcceptable only with a slow hash and no reuse
60 – 79StrongYears to centuries offline
80 and aboveVery strongBeyond brute force with foreseeable hardware

Frequently asked questions

How long should a password be?

At least 16 characters for important accounts, and longer where the service allows it. Length contributes more to strength than complexity, so a long password from a simple alphabet beats a short one full of symbols.

Are the generated passwords safe to use?

Yes. They are created entirely in your browser using the Web Crypto API's cryptographically secure random source, and nothing is transmitted or stored. Reload the page and the password is gone. For maximum caution, verify the page is served over HTTPS.

What is password entropy?

A measure of unpredictability in bits, calculated as length × log₂(pool size). Above roughly 80 bits is considered strong against offline brute force; below about 50 is weak. The calculator shows the entropy for each password it generates.

Should I change my passwords regularly?

Current NIST guidance says no — not without evidence of compromise. Forced rotation led people to make small predictable changes, weakening security. Change a password when a service is breached, when you suspect exposure, or when it is reused elsewhere.

Is a passphrase better than a random password?

Both work if the entropy is sufficient. A six-word passphrase from a random word list gives around 77 bits and is much easier to remember and type. The words must be selected randomly — a phrase you invent yourself is far weaker than it appears.

Last reviewed . Results are estimates for informational purposes only.