πŸ’ͺ Security

Password Strength Analyzer

Analyze the strength of any password with entropy calculation, estimated crack time at various attack speeds, pattern detection and improvement suggestions. Everything runs in your browser β€” your password is never transmitted.

πŸ“– How to Use This Tool
β–Ό
1
Type a password β€” analysis updates live
2
Review entropy bits and crack time estimates
3
Check character composition bars
4
Follow improvement suggestions
πŸ“ Examples
Weak
Input: password123
Output: Very Weak β€” cracked instantly
Strong
Input: k9#Fz!mR@4p
Output: Very Strong β€” centuries to crack
πŸ” Password Input
Enter a password
⚑ Entropy
β€”
bits of entropy
β€”
⏱ Estimated Crack Time
Attack ScenarioTime
Enter a password above

Diagnosing a Password That Scores Lower Than You Expected

If a password you thought was strong comes back "Weak" or "Fair," the first thing to check is whether it relies on character-class substitutions rather than genuine length. A password like Tr0ub4dor! checks every "must contain uppercase, digit, symbol" box but still only carries around 48 bits of entropy, because the pattern detector recognizes leetspeak substitutions (0 for o, 4 for a) as predictable β€” real cracking dictionaries already contain these variants pre-generated, so the tool doesn't give you credit for a substitution an attacker's wordlist already expects. If your score is lower than the raw character-set math suggests, this pattern penalty is almost always why.

A second common surprise is a long password that still scores poorly because it matches a structural pattern rather than a dictionary word β€” sequential digits (12345), keyboard walks (qwerty, asdfgh), repeated runs (aaa111), or the extremely common word-plus-year format (Summer2024). All of these are flagged regardless of total length, because credential-stuffing tools tried against breached account databases test exactly these transformations first. If the tool flags your password as matching a common list outright, it's capped at "Very Weak" no matter what its raw entropy calculation would otherwise suggest β€” that override exists because real-world breach data shows these exact passwords get guessed in the first few thousand attempts, not the billions the entropy formula would imply.

The NIST Guidance This Tool Is Built Around

The scoring model here deliberately follows NIST Special Publication 800-63B (Digital Identity Guidelines) rather than older complexity-rule conventions. NIST 800-63B recommends a length-first approach β€” user-chosen passwords should be at least 8 characters, with 15+ recommended for high-value accounts β€” and explicitly advises against mandatory composition rules requiring uppercase, digits, and symbols, because research cited in the standard shows these rules push users toward predictable, easily-guessed substitutions instead of genuine unpredictability. NIST also recommends against periodic forced password rotation, since forced rotation reliably produces incremental, guessable changes (Password1 becomes Password2) rather than fresh, independent passwords. This is why the tool rewards raw length and unpredictability over meeting a checklist of character types, and why a 20-character lowercase passphrase can outscore an 8-character password stuffed with symbols.

Two Passwords, Same Length Requirement, Very Different Outcomes

Consider two candidates that both satisfy a typical "at least 12 characters, one uppercase, one digit, one symbol" policy. The first, Winter2024!, is 11 characters and scores as Weak: it combines a dictionary word, a year, and a single symbol in a structure the pattern detector recognizes immediately, landing around 34 bits of effective entropy β€” crackable by a GPU cluster in well under a day. The second, horse-battery-clip-window, is 26 characters of unrelated lowercase words joined by hyphens. It has no dictionary-word-plus-suffix structure to flag, and its raw entropy calculation (26 characters across a roughly 30-character set including the hyphen) comes out well above 100 bits β€” into the range the tool labels "Very Strong," with an estimated crack time even a dedicated GPU rig would need longer than a human lifetime to work through. Both meet a naive complexity checklist's requirements on paper; only one is actually resistant to the way passwords get cracked in practice.

Checking Password Entropy Without a Browser

The same entropy math this tool runs in JavaScript has command-line equivalents worth knowing for scripting and automation. openssl rand -base64 24 generates a cryptographically random secret and lets you compute its theoretical entropy directly from its character set and length, which is useful when validating that a generated database password or API key meets a minimum-entropy policy in a provisioning script. The Python zxcvbn library (a port of Dropbox's original strength estimator) implements a similar pattern-matching and crack-time-estimation approach and can be called from a CI pipeline to reject weak secrets before they're committed to a secrets manager. This browser tool is the right choice for a quick interactive check or a training demonstration; reach for zxcvbn or an equivalent library in code when you need the same analysis embedded into an automated password policy check.

Frequently Asked Questions

How is password strength calculated?

Strength is calculated using a multi-factor model. First, Shannon entropy is computed by multiplying the password length by the base-2 logarithm of the character set size β€” more characters and greater variety both increase entropy. Second, a pattern detector scans for common weaknesses: dictionary words, sequential digit runs (123, 456), keyboard walk patterns (qwerty, asdf), repeated characters (aaa, 111), and the common word-plus-digits format (password123). Passwords that match the top common-password list are immediately capped at "Very Weak" regardless of entropy. The final score maps the adjusted entropy to five strength levels from Very Weak (under 20 bits) to Very Strong (100+ bits), and crack time estimates are computed for five attack speed scenarios.

What is entropy in password security?

Entropy, measured in bits, quantifies the theoretical unpredictability of a password. Each additional bit of entropy doubles the number of possible password combinations an attacker must search. A password with 40 bits of entropy has roughly 1 trillion (2^40) possible combinations β€” attackable in hours by a GPU. At 60 bits the space is 1 quadrillion combinations, making offline cracking feasible with sustained effort. At 80 bits the space is so large that even a GPU cluster running at 10 trillion guesses per second would take thousands of years. At 128 bits the combination space exceeds the estimated number of atoms in the observable universe, making brute-force attacks computationally infeasible with foreseeable technology. Aim for at least 80 bits for high-value accounts.

What does NIST recommend for password policies in 2024?

NIST Special Publication 800-63B (Digital Identity Guidelines) recommends a length-first approach to password security. User-chosen passwords should be at least 8 characters, and high-value accounts should require 15 or more. NIST explicitly advises against mandatory complexity rules (requiring uppercase, digits, and symbols) because research shows these rules cause users to make predictable substitutions β€” like P@ssw0rd β€” that provide minimal additional security. NIST also recommends against periodic forced password rotation, as it leads to predictable incremental changes. Instead, organizations should screen new passwords against a curated list of known-compromised passwords and require a change only when there is direct evidence of compromise. Password managers are strongly encouraged as the practical solution for managing strong, unique passwords across accounts.