Password strength analyser

Discover the strength of your password with this client-side-only password strength analyser and crack time estimation tool.

loading Password strength analyser
About this tool

How is password strength measured?

"Strong" is not a feeling, it is a question of how many guesses an attacker needs. A useful analyser answers with a time, and says against which kind of attack, because a thousand guesses a day and billions a second are different worlds.

There are two ways to estimate it, and this page shows both. The first is brute force: count the character types used (lowercase, uppercase, digits, symbols), work out how many combinations of that length exist and divide by a guess rate of one billion per second. That gives an entropy in bits, which is the length times log2 of the character set size, and an upper bound on the time. It assumes the password is random, which people's passwords almost never are. The second is pattern analysis with zxcvbn, the estimator originally created at Dropbox, here in its zxcvbn-ts version with English, Portuguese and Spanish dictionaries. It looks for what attackers try first: common passwords, names and words, keyboard walks like qwerty, sequences, repeats, dates and leet substitutions such as a to 4. The headline number is the worst case: an attacker who has stolen the password hashes, guesses against a fast hash and tries predictable passwords first.

Everything is computed in your browser and nothing you type leaves the page, which is the only acceptable design for a tool that asks for passwords. To make a strong secret rather than judge one, use the token generator.

How to check a password's strength

  1. Type or paste the password in the field. The page opens with correct-horse-battery-staple as an example. Use Show the password to reveal what you typed.
  2. Read the headline: the time to crack in the worst case, with a strength meter from Very weak to Very strong (score 0 to 4).
  3. Open the brute force block for the numbers: length, entropy in bits, character set size, score out of 100 and time at a billion guesses per second.
  4. In the pattern analysis, read Patterns found: each part of the password is labelled, for example common word or password, keyboard pattern, sequence, repeated characters, date or recent year.
  5. Add your own words in Your own words to rule out, separated by commas: your name, your email, the site name. An attacker who knows you will try those first.
  6. Compare Time to crack, by attack. The four scenarios assume 100 guesses per hour for an online attack with a rate limit, 10 per second for one without, 10 thousand per second offline against a slow hash such as bcrypt, and 10 billion per second offline against a fast hash such as MD5 or SHA-1 (see the hash generator).
  7. Choose the Advice language if you want the tips in a different language from the page.

Examples

A short lowercase password

abc123: lowercase letters and digits make a set of 36, six characters give about 31 bits, and brute force takes around 2 seconds. It is also a sequence, so the real figure is no better.

The word that looks safe

password: brute force alone says about 38 bits and some 3 minutes and 28 seconds. The pattern analysis flags it as a common password, which is far worse: it sits at the top of every attacker's list.

A name and a year

Maria1990: uppercase, lowercase and digits make a set of 62, nine characters give about 54 bits, and brute force says around 5 months. Names, words and years are exactly what the pattern analysis looks for, and people choose them constantly. Brute force flatters this password.

Four words

correct-horse-battery-staple: brute force, counting letters and hyphens, reaches about 164 bits, an absurd figure. The pattern analysis sees four common words, so the real strength is far lower, though still much better than a short password with symbols. Length from randomly chosen words works, but only if the words are really random.

A random password

kV9#mQ2$xL7!pR4z: 94 characters in the set, 16 characters, about 105 bits. At a billion guesses per second brute force needs more than 10^12 millennia, and there is no pattern to exploit. This is what a password manager generates.

Common errors and how to fix them

  • "The pattern analysis could not be loaded. Reload the page and try again.": the dictionaries are loaded on demand and the load failed. The brute force figures still work; reload for the full analysis.
  • "Only the first 128 characters were analysed.": very long input is cut for the pattern analysis. Real passwords are far shorter.
  • The score is high but I use it everywhere: strength says nothing about reuse. A strong password leaked from another site is worthless; use a different one per service.

Frequently asked questions

How long should a password be?

At least 12 characters, and more for important accounts. Current guidance such as NIST SP 800-63B favors length and checking against lists of known breached passwords over rules like "one symbol and one capital". Four or more random words, or a random string from a password manager, both work.

Is it safe to type my real password here?

The analysis runs locally and the page makes no request with what you type. Even so, for important accounts test a similar password.

What does "slow hash" mean in the attack scenarios?

After a breach, attackers guess offline against the stored hashes. If the site used a slow function like bcrypt, scrypt or Argon2, each guess costs much more than with MD5 or SHA-1, so the same password lasts longer.

Report a problem