How Password Strength Checkers Work (And Can You Trust Them?)
That Password Meter Is More Complex Than You Think
You have seen them everywhere — those colored bars that turn from red to green as you type a password. But how do they actually measure strength? Are they accurate? And most importantly, is it safe to type your real password into one? Let us break it all down.
Try it yourself: our Password Strength Checker runs entirely in your browser. Nothing is ever transmitted or stored.
How Password Strength Is Calculated
Modern password strength checkers go far beyond simply counting characters. The best ones use a combination of these methods:
Entropy Calculation
Entropy measures the mathematical randomness of a password, expressed in bits. The formula considers the size of the character set and the password length:
abcdefgh = ~37 bits of entropyAbCdEfGh = ~45 bits of entropyAb3$eF7! = ~52 bits of entropyVx8!nQ#2pL$mK7 = ~92 bits of entropyGenerally, 60+ bits is considered decent. 80+ bits is strong. 100+ bits is excellent. But entropy alone does not tell the full story.
Pattern Detection
Smart checkers identify patterns that reduce effective strength:
The best algorithm for this is zxcvbn, developed by Dropbox. It models how real attackers crack passwords by considering dictionaries, keyboard layouts, common names, dates, and substitutions. Our Password Strength Checker uses this approach.
Crack Time Estimation
The most useful metric is estimated crack time. This calculates how long a brute-force or dictionary attack would take based on:
A good password should take centuries to crack in an offline attack. If yours shows minutes or hours, it needs to be changed.
Can You Trust Online Password Checkers?
This is the right question to ask. Here is how to evaluate any password checker:
Safe Checkers (Client-Side)
A trustworthy password checker runs entirely in your browser using JavaScript. Your password never leaves your device. You can verify this by:
Our Password Strength Checker is fully client-side. Disconnect your internet and it works identically — proof that nothing is being sent anywhere.
Dangerous Checkers (Server-Side)
If a password checker sends your password to a server for analysis, you should not trust it unless you fully trust the operator. Warning signs include:
What About Breach Database Checks?
Some checkers, like Have I Been Pwned, check if your password has appeared in known data breaches. These use a clever technique called k-anonymity: they hash your password, send only the first 5 characters of the hash to the server, and receive back all matching hashes. The comparison happens locally, so the server never sees your actual password or its full hash.
This is safe and useful. If your password appears in a breach database, it is in every cracker's dictionary and should be changed immediately, regardless of its theoretical strength.
Limitations of Password Strength Checkers
Even the best checker cannot account for everything:
A password strength checker tells you whether your password resists automated cracking. For complete security, you also need 2FA, a password manager, and awareness of phishing.
Building a Complete Security Stack
Password strength is just one piece of the puzzle. Here is the full picture:
Frequently Asked Questions
How does a password strength checker work?
Good ones combine entropy calculation (the password randomness in bits), pattern detection (catching dictionary words, keyboard runs, common substitutions, repeats, and dates), and crack-time estimation based on modern GPU speeds. The strongest algorithm is zxcvbn from Dropbox, which models how real attackers crack passwords.
What makes a password strong or weak?
High effective entropy after pattern detection. A long password using mixed case, numbers, and symbols is strong; dictionary words like "sunshine", keyboard patterns like "qwerty", and substitutions like "p@ssw0rd" have high raw entropy but are weak because crackers test them automatically.
What is password entropy and how is it calculated?
Entropy measures a password mathematical randomness in bits, based on the size of the character set and the length. Lowercase-only 8 characters is about 37 bits; mixed case plus numbers and symbols is more; a 14-character mix reaches about 92 bits. Roughly 60+ bits is decent, 80+ is strong, 100+ is excellent.
Are online password strength checkers safe to use?
Only if they run entirely in your browser. A safe checker fires no network requests when you type, still works with the internet disconnected, and ideally is open source. If a checker sends your password to a server, asks you to create an account, or needs a connection to work, do not trust it.
How long should a strong password be?
Long enough that an offline attack would take centuries; if a checker shows minutes or hours, change it. Length matters more than complexity for entropy, and you should also confirm the password has not appeared in a breach database, since any breached password is already in every cracker dictionary.