HackMyIP
← back to sheets

How Password Strength Checkers Work (And Can You Trust Them?)

~/sheets/password-strength-checker-how-it-works.md
1

That Password Meter Is More Complex Than You Think

2

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.

3

Try it yourself: our Password Strength Checker runs entirely in your browser. Nothing is ever transmitted or stored.

4

How Password Strength Is Calculated

5

Modern password strength checkers go far beyond simply counting characters. The best ones use a combination of these methods:

6

Entropy Calculation

7

Entropy measures the mathematical randomness of a password, expressed in bits. The formula considers the size of the character set and the password length:

8
    9
  • Lowercase only (26 characters): abcdefgh = ~37 bits of entropy
  • 10
  • Mixed case (52 characters): AbCdEfGh = ~45 bits of entropy
  • 11
  • Mixed case + numbers + symbols (95 characters): Ab3$eF7! = ~52 bits of entropy
  • 12
  • 14-character mixed: Vx8!nQ#2pL$mK7 = ~92 bits of entropy
  • 13
    14

    Generally, 60+ bits is considered decent. 80+ bits is strong. 100+ bits is excellent. But entropy alone does not tell the full story.

    15

    Pattern Detection

    16

    Smart checkers identify patterns that reduce effective strength:

    17
      18
    • Dictionary words — "sunshine" has high raw entropy but is in every cracking dictionary
    • 19
    • Keyboard patterns — "qwerty" and "asdfgh" are among the first things attackers try
    • 20
    • Common substitutions — "p@ssw0rd" fools nobody. Crackers test these automatically.
    • 21
    • Repeated characters — "aaaaaa" has almost zero effective entropy
    • 22
    • Sequential numbers — "123456" is the most common password worldwide
    • 23
    • Date patterns — "19901225" and similar dates are easily guessable
    • 24
      25

      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.

      26

      Crack Time Estimation

      27

      The most useful metric is estimated crack time. This calculates how long a brute-force or dictionary attack would take based on:

      28
        29
      • The password's effective entropy after pattern detection
      • 30
      • Modern GPU cracking speeds (10+ billion hashes per second for common algorithms)
      • 31
      • The attack scenario: online (rate-limited) vs offline (no limits)
      • 32
        33

        A good password should take centuries to crack in an offline attack. If yours shows minutes or hours, it needs to be changed.

        34

        Can You Trust Online Password Checkers?

        35

        This is the right question to ask. Here is how to evaluate any password checker:

        36

        Safe Checkers (Client-Side)

        37

        A trustworthy password checker runs entirely in your browser using JavaScript. Your password never leaves your device. You can verify this by:

        38
          39
        • Opening your browser's developer tools (F12) and checking the Network tab — no requests should fire when you type
        • 40
        • Disconnecting from the internet and confirming the checker still works
        • 41
        • Checking if the tool is open source so you can inspect the code
        • 42
          43

          Our Password Strength Checker is fully client-side. Disconnect your internet and it works identically — proof that nothing is being sent anywhere.

          44

          Dangerous Checkers (Server-Side)

          45

          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:

          46
            47
          • The tool requires an internet connection to work
          • 48
          • Network requests fire when you type
          • 49
          • The tool asks you to create an account first
          • 50
          • There is no clear privacy policy
          • 51
            52

            What About Breach Database Checks?

            53

            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.

            54

            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.

            55

            Limitations of Password Strength Checkers

            56

            Even the best checker cannot account for everything:

            57
              58
            • Social engineering — no meter can know that "fluffy2015" is your cat's name and birth year, easily found on social media
            • 59
            • Targeted attacks — if someone researches you specifically, personal details become weak password components
            • 60
            • Phishing — the strongest password in the world is useless if you type it into a fake login page. Enable two-factor authentication to defend against this.
            • 61
            • Keyloggers — malware on your device captures passwords regardless of strength
            • 62
              63

              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.

              64

              Building a Complete Security Stack

              65

              Password strength is just one piece of the puzzle. Here is the full picture:

              66
                67
              1. Check your exposure — run your email through our Email Breach Checker to see if credentials are already leaked
              2. 68
              3. Test your passwords — use our Password Strength Checker on your most important passwords
              4. 69
              5. Get a password manager — read our Password Manager Guide to set one up in 10 minutes
              6. 70
              7. Enable 2FA everywhere — follow our 2FA guide
              8. 71
              9. Run a full checkup — our Privacy Checkup scores your overall security from A+ to F, covering IP exposure, DNS leaks, VPN status, browser fingerprint, and more
              10. 72
                73
                Last updated: April 2026