Skip to content

Password strength checker

Type a password to estimate its strength. The checker looks for the patterns attackers try first and tells you what makes it weak.

Runs in your browser. Nothing you paste is sent to us.

Password

A weak sample is filled in. Type your own; it never leaves this page.

Very weak about 22 bits 11 characters

Estimate

Pattern-aware estimate
21.6 bitsThe cheapest way found to build it from the patterns below
If every character were random
72.3 bits11 × log2(95) for lowercase, uppercase, digits, symbols
Common password
Summer7.9 bits. On lists of the most used passwords; guessed in the first seconds.
Year
20247.1 bits. A year; birth years and the current year are tried early.
Characters
!6.6 bits. 1 character with no pattern found.
Online, with lockout or rate limits (10 guesses a second)
about 2 daysaverage time to guess
Offline, slow hash such as PBKDF2 or Argon2 (10 thousand a second)
about 3 minutesaverage time to guess
Offline, fast unsalted hash on GPUs (10 billion a second)
under a secondaverage time to guess
A rough estimate made by this page: it prices common passwords, a word list, sequences, repeats, years and keyboard runs. It is not zxcvbn and cannot know if a password was leaked. Guess rates vary widely by attacker and hash.

How to use it

  1. Type or paste the password. It is checked in your browser and never sent.
  2. Read the rating and the estimate in bits.
  3. See which parts were found: common passwords, words, sequences, repeats, years and keyboard runs.
  4. Compare the guessing times for an online attack and for stolen hashes.

What to know

The estimate splits the password into the cheapest pieces an attacker could guess: a common password, a dictionary word, a run like abc or 123, a year, a keyboard row, or plain characters. It adds up the bits of each piece.

It is a rough estimate made by this page, not zxcvbn, and it cannot know whether a password has already leaked. A password that appears in a breach is weak however it scores here.

Keycloak protects sign-in with brute force detection, which slows online guessing a great deal. Stolen hashes are another matter, so the realm’s password policy and hashing settings still matter.

Why password strength is about patterns, not rules

Many sign-up forms judge a password by rules: eight characters, one capital, one digit, one symbol. Summer2024! passes all of them, yet it is one of the first passwords an attacker tries. Rules measure what a password contains. Attackers care about how predictable it is.

Real password cracking does not try every possible string in order. It starts with leaked password lists, then dictionary words with common changes, then dates, keyboard patterns and short random tails. A password built from those parts falls early, whatever the rules say.

This checker estimates strength the way an attacker would approach it: it looks for the predictable parts first and prices the rest as random characters.

How the estimate works

The checker scans the password for patterns and gives each a cost in bits: roughly how many guesses an attacker needs to find that piece, as a power of two. It then finds the cheapest way to build the whole password from patterns and single characters, and adds up the bits.

PatternExampleHow it is priced
Common passwordpassword, qwerty123log2 of the size of a short built-in list, plus a bit for capitals
Dictionary wordmaple, harborlog2 of the word list size, plus a bit or two for capitals or symbol swaps
Sequenceabc, 4321Start character, direction and length
Repeataaaa, abcabcThe repeated part, plus the number of repeats
Year1987, 2024One of 140 years from 1900 to 2039
Keyboard runasdf, poiuyStart key, direction and length
Other charactersx7#log2 of the alphabet size, per character

Swapped letters such as @ for a or 0 for o are undone before matching, so p@ssw0rd is still recognized as password. Attackers apply the same swaps automatically.

An example: Summer2024!

How the checker splits the sample
Summer   common password, capitalized   ~7.9 bits
2024     year                           ~7.1 bits
!        one character from 95          ~6.6 bits
                                        ---------
Pattern-aware estimate                  ~21.6 bits
If every character were random         ~72.3 bits

The two numbers show the gap between how the password looks and how it behaves. As 11 random characters it would be strong. As a word, a year and a symbol, it is about 22 bits: a few million guesses.

What the numbers mean

Bits translate into guesses: 30 bits is about a billion possibilities, 40 bits about a trillion. The checker turns the estimate into an average time to guess at three rates.

AttackRate usedWhat it represents
Online, rate limited10 guesses a secondGuessing against a live sign-in page that slows or locks out repeated failures
Offline, slow hash10,000 guesses a secondA stolen database hashed with PBKDF2, bcrypt, scrypt or Argon2 at sensible settings
Offline, fast hash10 billion guesses a secondA stolen database of unsalted fast hashes, attacked with GPUs

These rates are round illustrations, not measurements. Real rates vary by many orders of magnitude with the hardware, the hash and its settings. Use them to compare passwords, not as a promise.

EstimateRating here
Under 28 bitsVery weak
28 to 40 bitsWeak
40 to 60 bitsFair
60 to 80 bitsStrong
80 bits and moreVery strong

What this checker does and does not do

  • It checks the password as you type, entirely in your browser. Nothing is sent or stored.
  • It finds common passwords, dictionary words, sequences, repeats, years and keyboard runs, including with simple symbol swaps.
  • It shows each part it found and what that part costs, so you can see what to change.
  • It is not zxcvbn and does not use its data. It is a smaller, simpler estimator written for this page.
  • It cannot tell whether a password appeared in a breach. A leaked password is weak however it scores, because attackers try leaked passwords first.
  • Its word list is about 3,000 common English words. Words outside the list, names and other languages are priced as random characters, so the estimate can be too high for them.

How to use the checker

  1. Type the password, or better, a password of the same shape. The sample filled in is deliberately weak.
  2. Read the rating and the pattern-aware estimate.
  3. Look at the parts list. Anything other than "Characters" is a pattern an attacker would try early.
  4. Read the warnings: short length, a single kind of character, common passwords, words, years, sequences and repeats.
  5. Change the password and watch the estimate. Adding length usually helps most.

Using it for password policy decisions

The checker is also a teaching aid for the people who set password rules.

Why composition rules fall short

Try Password1!. It meets a typical rule of upper, lower, digit and symbol, and it is still among the weakest passwords there are. NIST SP 800-63B advises against composition rules for this reason and recommends checking new passwords against lists of commonly used and compromised values instead.

What Keycloak can enforce

Keycloak’s password policy can require a minimum and maximum length, digits, lowercase and uppercase letters, special characters, a password different from the username and email, and a history of previous passwords not to reuse. It can also reject passwords listed in a file of banned passwords.

A sensible combination is a generous minimum length, a banned-password list built from common and breached passwords, and no extra composition rules beyond what your users can live with.

Online attacks and brute force detection

Keycloak can detect brute force attacks per realm, under Security defenses, and temporarily or permanently lock out a user after repeated failures. With sensible settings that slows online guessing to a handful of attempts before each wait, which is why even fair passwords survive online attacks. The offline rates matter if a database backup ever leaks.

Common mistakes the checker catches

  • A word with a capital at the start and a digit or symbol at the end.
  • A year, often the current one or a birth year.
  • Keyboard runs such as qwerty, asdfgh or 1qaz2wsx.
  • Symbol swaps such as P@ssw0rd, which crackers undo automatically.
  • Repeated blocks such as abcabc or 121212.
  • Short passwords. Under 12 characters there is little room for real randomness.

Security notes

The checker runs locally and sends nothing, but the safest habit is not to type a real password into any web page. Test a password of the same shape instead: same kinds of parts, different content.

A strength score is only half the picture. The other half is how the password is stored. A strong password hashed with plain SHA-1 or MD5 is far easier to crack than the same password stored with a slow, salted function.

And no password replaces a second factor. A phished password is just as useful to an attacker whether it scored weak or strong.

Best practices for strong passwords

  • Let a password manager generate random passwords for every site.
  • For the few passwords you must remember, use a random passphrase of six words or more.
  • Never reuse a password across sites.
  • Turn on a second factor, or use passkeys where offered.
  • For admins: enforce length and a banned-password list, enable brute force detection, and store passwords with a slow hash.
Questions

Frequently asked questions

How do password strength checkers work?

Simple checkers count kinds of characters and length. Better ones, like this, look for the patterns attackers try first, such as common passwords, words and dates, and estimate how many guesses the password would take. The second approach matches how passwords are actually cracked.

Is it safe to type my password into a strength checker?

This checker runs in your browser and sends nothing. Still, it is good practice to test a password of the same shape rather than the real one. Never type a password into a checker you do not trust.

Is this checker the same as zxcvbn?

No. It is a smaller estimator written for this page, in the same spirit: it prices patterns rather than counting character types. It uses its own short lists and does not use zxcvbn’s data.

Why does my long password score low?

Probably because it is built from predictable parts: common words, a name, a year or a keyboard run. Each of those costs an attacker far fewer guesses than random characters. Look at the parts list to see which.

Can it tell me if my password was leaked?

No. It checks only a short built-in list of very common passwords. Checking against breach data needs a breach database, and this page contacts no service.

How many bits of entropy is a strong password?

Around 60 bits resists most attacks, and 80 bits or more is beyond guessing even if a fast hash is stolen. Below 40 bits, a password falls quickly offline. These are guidelines, not a standard.

Do symbol swaps like @ for a help?

Very little. Cracking tools apply common swaps automatically, so p@ssw0rd is tried right after password. A swap adds about a bit; another random word adds far more.

What password rules should my organization set?

Follow NIST SP 800-63B: allow long passwords, block common and compromised ones, avoid composition rules and forced periodic changes, and add a second factor. In Keycloak, combine a length policy, a banned-password list and brute force detection.

Rather not run Keycloak yourself?

We run it for you on a cluster of your own, with backups, upgrades and written support. Starter and Premium begin with a 7-day trial.