# Password Strength & Leak Checker — Private

Source: https://passwordgeneratorlab.com/password-strength-checker/

> Check how guessable a password is, get help making it stronger, and see if it was leaked in a data breach — your password never leaves your device.

## Key facts

- Uses zxcvbn-ts to estimate how many guesses an attacker would need, spotting common passwords, names, dates and keyboard patterns.
- Strength is analyzed entirely in your browser — what you type is never sent or stored.
- Scores run from 0 (very weak) to 4 (very strong), with estimated guessing times for four attack scenarios.
- Weak passwords get two fixes: add 4 random words (≈ 51.7 bits) or 12 random characters (≈ 74.5 bits), or replace it with a new random password.
- The optional leak check uses Have I Been Pwned's k-anonymity API: only the first 5 characters of the password's SHA-1 hash are sent.

Last reviewed 9 November 2026

## How the checker works

We use [zxcvbn-ts](https://github.com/zxcvbn-ts/zxcvbn), an open-source estimator modeled on how real password-cracking tools work. It splits your password into pieces it recognizes — common passwords, English words, names, dates, keyboard runs like `qwerty`, repeats, sequences, and l33t substitutions like `p@ssw0rd` — and estimates how many guesses an attacker would need.

The estimator and its dictionaries load into this page from our own server the first time you click the box. After that, everything happens in your browser. Your input is never sent anywhere, saved, or put in the address bar.

## Guessability isn't the same as entropy

Our generators show **entropy**: an exact measure of how many outputs a random process can produce. That only applies to passwords made by a random generator. For a password a person chose, the useful question is how quickly a smart attacker would guess it — which is what this checker estimates. A password like `Summer2026!` ticks every "complexity" box but is among the first things attackers try.

## Fixing a weak password

If a password scores Fair or below — or has leaked — the checker offers two ways forward, generated on your device with the same unbiased randomness as our generators:

- **Keep it and add randomness.** Adding 4 random words from the EFF wordlist contributes about 51.7 bits of entropy; adding 12 random characters contributes about 74.5 bits. That randomness is a floor: the result is at least that hard to guess even if an attacker knows your original password.
- **Start fresh.** A new 20-character random password (≈ 131 bits) or a 6-word passphrase (≈ 77.5 bits). This is the only good option for a leaked password, because attackers try leaked passwords — and simple variations of them — first.

Use "Check this one" to score a suggestion before you use it.

## How the leak check works

Billions of passwords have been exposed in data breaches, and attackers try them first. The leak check compares your password with [Have I Been Pwned's Pwned Passwords](https://haveibeenpwned.com/Passwords) — hundreds of millions of real passwords from published breaches — without revealing it:

1. Your browser computes the SHA-1 hash of the password (a one-way fingerprint).
2. Only the **first 5 characters** of that hash are sent to `api.pwnedpasswords.com`. There are over a million possible prefixes, and each is shared by countless possible passwords — including hundreds of known leaked ones.
3. Have I Been Pwned returns every leaked hash starting with those 5 characters — padded with dummy entries so the response size reveals nothing — and your browser looks for an exact match.

This technique is called **k-anonymity**. The check runs only when you press the button, never as you type (checking every keystroke could reveal the password to someone observing the requests). Have I Been Pwned and its network provider, Cloudflare, see your IP address and the 5-character prefix — never your password or its full hash. If you'd rather nothing at all leave your device, simply don't press it.

A "not found" result is good news, but not a guarantee: some breaches are never published.

## What this checker can't tell you

- Whether you've **reused** it on other sites.
- How the site you use it on **stores** it — which is why we show several attack scenarios.

The simplest path to a strong password is to let a [random generator](https://passwordgeneratorlab.com/) create it and a password manager remember it.

## Sources

- [Have I Been Pwned: Pwned Passwords and the k-anonymity range API](https://haveibeenpwned.com/API/v3#PwnedPasswords)
- [NIST SP 800-63B-4, Digital Identity Guidelines: Authentication and Authenticator Management (2025)](https://pages.nist.gov/800-63-4/sp800-63b.html)
- [OWASP Authentication Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Authentication_Cheat_Sheet.html)

## Frequently asked questions

### Is it safe to type my real password here?

The strength analysis never sends or stores what you type — you can verify that by disconnecting from the internet after the checker loads. The optional leak check sends only a 5-character hash prefix, and only when you press its button. Still, as a general habit, be cautious about typing important passwords into any website you don't fully trust.

### How does the leaked password check work, and is it private?

When you press Check for leaks, your browser hashes the password with SHA-1 and sends only the first 5 characters of the hash to Have I Been Pwned. It returns every leaked hash starting with those characters, and the comparison happens on your device. Your password and its full hash never leave your browser.

### My password was found in a breach. What should I do?

Stop using it everywhere, starting with your email, banking and any account that shares the password. Replace it with a new random password stored in a password manager, and turn on two-factor authentication. Don't just tweak the old password — attackers try variations of leaked passwords.

### How does 'make it stronger' work?

It keeps your password and adds randomness generated on your device: 4 random words add about 51.7 bits of entropy, 12 random characters about 74.5 bits. That added randomness makes the result hard to guess even if your original password is known. For a leaked password, start fresh instead.

### Why does my 'complex' password score poorly?

Because attackers don't guess randomly. Capitalizing the first letter, adding a year, or swapping o for 0 are such common habits that cracking tools try them early.

### What do the four time estimates mean?

They show how long guessing might take in different situations: a website that limits login attempts, one that doesn't, and offline attacks on a stolen database with slow or fast password hashing.

## Related guides

- [Has my password been leaked? How to check safely](https://passwordgeneratorlab.com/guides/has-my-password-been-leaked/) — How to check if your email or password appeared in a data breach without exposing it, what a “not found” result really means, and what to do if it leaked.
- [How are passwords cracked?](https://passwordgeneratorlab.com/guides/how-are-passwords-cracked/) — How attackers really get passwords: phishing, credential stuffing, online guessing and offline cracking of stolen hashes, and what length and randomness change.
- [Strong password examples (2026)](https://passwordgeneratorlab.com/guides/strong-password-examples/) — What strong passwords and passphrases look like, why you should never reuse a published example, and fresh ones generated privately on your device right now.

## More generators

- [Password generator](https://passwordgeneratorlab.com/) — Random passwords with full control over length and characters.
- [Passphrase generator](https://passwordgeneratorlab.com/memorable-password-generator/) — Memorable word-based passphrases from the EFF wordlist.
- [PIN generator](https://passwordgeneratorlab.com/pin-generator/) — Uniform random numeric PINs, 4–12 digits.
- [Wi-Fi password generator](https://passwordgeneratorlab.com/wifi-password-generator/) — WPA2/WPA3 passphrases that are easy to type on any device.
- [Bulk password generator](https://passwordgeneratorlab.com/bulk-password-generator/) — Up to 100 independent passwords at once.
- [Password policy generator](https://passwordgeneratorlab.com/password-policy-generator/) — Passwords that meet Entra ID, Active Directory, AWS IAM, PCI DSS and NIST rules.
- [API key generator](https://passwordgeneratorlab.com/api-key-generator/) — Random 128–512-bit keys, tokens and secrets for developers.
- [Entropy calculator](https://passwordgeneratorlab.com/password-entropy-calculator/) — Bits of entropy and time-to-guess for any random password scheme.
