How to check password strength without giving your password away
6 min read · 6 sections
Typing your real password into an online strength checker means trusting the page not to send it anywhere, and you cannot tell from the coloured bar whether it did. The safe way to check password strength is to run the check in your own browser tab, on a copy that is shaped like your password if you are not sure about the page.
I have spent a lot of time on the attacker's side of password audits, and the habit I try hardest to break is pasting live credentials into tools. Below is how to confirm a checker stays local, what a pattern-aware check looks for, and how to read the result without being fooled by a green bar.
Why the check should stay in the tab
A strength meter has to see your password to rate it. Whether it keeps the text in the page or posts it to a server is a design choice you cannot see in the result. A page that sends each keystroke somewhere can log it, and a page that keeps history can store it where other scripts on the same site can read it. Neither needs bad intent to hurt you; a logging line left in production is enough.
You can test a checker in a minute:
- Open the page, then open your browser's developer tools and switch to the network tab.
- Type a throwaway password of the same shape as yours, not the real one.
- Watch the request list. If a new request appears as you type or when the result changes, the text may be leaving the page.
- If the list stays quiet, repeat once with the tab set offline. A checker that still works offline is running locally.
The checker on this site follows the same rules I ask of any tool. It runs in the tab, makes no network requests, never writes what you type to storage, the address bar or the page title, and turns off autocomplete and spell-check on the field. It is still good practice to test a lookalike first, such as the same words with the same year and symbol swapped for others.
What an attacker tries first
A good checker does not count character types. It imitates the order in which an attacker works. In a large leaked sample, 99.8 % of passwords appeared in a top 10,000 list (Burnett's data, as cited by Dropbox), so guessing the most common passwords first catches nearly everyone who picked their own. The checker here uses the same estimation idea as zxcvbn and finds the cheapest way to build your password from these pieces:
- Common passwords: a match at rank r costs log₂(r) bits. "123456" is rank 1, so it costs nothing.
- Dictionary words: the same rank rule, using a list of the 10,000 most common English words and the EFF passphrase list (12.93 bits a word).
- Substitutions: turning 4, @, 3, 0, 1, !, 5, $ and 7 back into letters costs one extra bit, which is why swaps do almost nothing.
- Capitals: a capital on the first letter costs one bit; a mixed pattern costs more.
- Sequences and repeats: "abc", "987", "aaaa" cost a few bits plus the length.
- Keyboard rows: "qwerty", "asdf" and their reverses on the four rows of a standard keyboard.
- Years and dates: a four-digit year costs about 7.2 bits; an eight-digit date about 15.7.
Anything left over is charged as random characters at log₂ of the pool the password uses, then a small dynamic programme picks the cheapest split of the whole string.
Real passwords, real numbers
| Password | What the checker finds | Bits |
|---|---|---|
| 123456 | Common password, rank 1 | 0.00 |
| password | Common password, rank 2 | 1.00 |
| P@ssw0rd | Rank 2 after reversing the swaps | 3.00 |
| qwerty123 | Common password rank 4, then the sequence 123 | 5.58 |
| aaaaaaaa | One character repeated | 7.70 |
| Password1 | "Password" (rank 2, capital) plus one leftover character | 7.95 |
| abcdef123 | Two sequences | 8.17 |
| poiuytr | The top keyboard row, backwards | 9.36 |
| Dragon1987 | Common word plus a year | 11.55 |
| Monkey!!! | Common word plus a repeat | 12.90 |
| 15081990 | An eight-digit date | 15.74 |
| Summer2024! | Common word, a year, one symbol | 20.91 |
| correct horse battery staple | Four ordinary words, three spaces | 63.79 |
| k#9Vq!2Lm@7xR4 | No pattern: 14 characters of 95 | 91.98 |
Read "0.00 bits" as "the very first guess", not as "no strength at all". Every row down to "Summer2024!" falls to an offline attack in seconds or minutes, yet "P@ssw0rd" and "Summer2024!" both pass a typical "one capital, one number, one symbol" rule.
Reading the breakdown
The segment chips are the most useful part of the result, because they show where the bits are missing. Take "Summer2024!":
"Summer" is the 69th most common password, 6.11 bits, plus 1 bit for the capital. "2024" reads as a year, log₂ 150 = 7.23 bits. The final "!" is one random character from a pool of 95, 6.57 bits. The sum is 20.91 bits, about 2 million guesses. The page shows each piece with its bits, hides the pieces behind dots until you press Show, and adds one to three tips. A pool-based meter multiplies 11 characters by 6.57 and reports 72.3 bits, which is the figure that makes this password look safe.
Two million guesses is 3.3 minutes at the offline slow-hash speed of 10⁴ per second. Even a throttled login at 100 guesses an hour needs 2.2 years, so the password survives only if the site rate-limits, and it has no margin when a hash leaks. The scale for turning bits into time is in the entropy guide.
Where the estimate can mislead
I call the result an estimate and mean it. It assumes the attacker tries common passwords and patterns first, which is the usual order, but it only knows the lists it was given. A password absent from a ten-thousand-entry list can still sit in a breach dump, which is why NIST asks verifiers to check new passwords against a blocklist of common, expected or compromised values.
The checker also cannot see how you made the password. It will rate the five-word passphrase from the dice example, contusion-overrun-spotter-emptier-subside, at 88.15 bits because it treats each hyphen as a random character and each word as a dictionary hit. The correct figure for that passphrase is 5 × 12.925 = 64.62 bits, the number the generator computes from its settings. Use the checker for passwords people chose, and the generator's own figure for passwords it produced. Details of the passphrase maths are in the passphrase guide.
If the result is weak
- Replace it, do not patch it. Adding "!" or swapping an "a" for "@" costs the attacker one bit each. Start from a random password or passphrase from the generator.
- Make it unique. One breach should not unlock your other accounts. Credential stuffing replays leaked passwords against other sites.
- Store it in a password manager, and keep your memory for the master password, as a passphrase of six or seven random words.
- Turn on a second factor wherever the site offers one.
- Change a strong password only when you have a reason, such as a breach notice or a shared device. NIST's guidance for verifiers advises against forced periodic changes; check the current text for the exact wording.
None of this is a guarantee. A good password makes guessing impractical; it does not stop phishing, malware on your device or a site storing passwords carelessly. For the length targets that policies ask for, see the length guide.
Quick answers
How do I check my password strength without exposing it?
Use a checker that runs in your browser tab. Open the network tab in developer tools, type a throwaway password shaped like yours and confirm that no request leaves the page. Never paste the real one if you are unsure.
Is Summer2024! a strong password?
No. It is a common word with a capital, a year and one symbol, about 20.9 bits or roughly two million guesses. An offline slow-hash attack at 10,000 guesses a second finishes in about three minutes.
Do l33t substitutions like P@ssw0rd help?
Almost nothing. Reversing the swaps costs an attacker one extra bit, and P@ssw0rd resolves to the second most common password.
Can a strength checker be wrong?
Yes. It estimates, assuming an attacker tries common passwords and patterns first. It cannot know how a password was generated, so rate generated passwords by the generator's own entropy figure.