Free tool
Password strength and breach checker
Find out how quickly a password could be guessed, and whether it's already in a list of leaked passwords. The strength check runs on your device. The breach check sends only a 5-character fragment of a hash, never the password.
What the results mean
Strength comes from zxcvbn, an open-source estimator created at Dropbox. Rather than counting character types, it looks for the shortcuts attackers use: common passwords, dictionary words, names, dates, keyboard patterns like qwerty, sequences like 1234, and letters swapped for symbols like p@ssw0rd. Summer2024! follows the usual rules but is quick to guess.
Time to crack depends on where the password is used:
- A website that limits login attempts slows attackers to a crawl.
- If a site’s password database leaks, attackers can guess offline as fast as their hardware allows. Slow hashes such as bcrypt or Argon2id make each guess expensive. Old or careless systems use fast hashes, where billions of guesses a second are possible.
Breach check looks up the password in Have I Been Pwned’s collection of passwords from real data breaches, currently hundreds of millions. Attackers try these first, so a breached password is unsafe however complex it looks.
How your password stays private
- The page runs only two scripts, both served from this site: zxcvbn and the checker itself. Its security policy lets it connect to one outside address,
api.pwnedpasswords.com, and nothing else. - No request is made until you press Check data breaches.
- Your browser hashes the password with SHA-1 and sends only the first 5 characters of the 40-character hash. Have I Been Pwned replies with every leaked hash that starts with those 5 characters, plus random padding, and your browser looks for a match. The service never learns the password or which result you were looking for.
- After a check, the page shows you exactly what was sent.
Choosing a vault password
The password for an encrypted vault or backup can’t rely on lockouts, because whoever has the file can guess offline. Hedgehog Bits slows each guess down with Argon2id, using 256 MiB of memory and 3 passes. Even so, the password itself does most of the work. Four or five random words make a good vault password that you can also remember. There is no recovery if you forget it, so choose something memorable.
Questions
Is it safe to type my real password here?
The password stays in this browser tab. The strength estimate runs on your device, and the breach check sends only the first 5 characters of the password’s SHA-1 hash, which matches hundreds of unrelated passwords. The page runs no analytics and can’t connect anywhere except Have I Been Pwned. If you’d still rather not, test a password built the same way instead.
How does the breach check work without sending my password?
Your browser turns the password into a SHA-1 hash and sends the first 5 of its 40 characters to Have I Been Pwned. The service replies with every leaked hash that starts the same way, plus random padding so the reply size reveals nothing. Your browser then looks for a full match. This method is called k-anonymity.
How is the time to crack worked out?
The zxcvbn algorithm, created at Dropbox, estimates how many guesses an attacker would need by spotting common passwords, words, names, dates, keyboard patterns and sequences. That number is divided by a guessing speed for each scenario. Real attacks vary, so treat the times as a guide to compare passwords, not a guarantee.
Is a 6-digit iPhone passcode strong enough?
For unlocking the phone itself, usually yes, because the iPhone limits how fast passcodes can be tried and adds longer delays after repeated wrong attempts. The same 6 digits would be weak anywhere guesses can be made offline, such as the password for an encrypted backup or a vault app.
What makes a strong password?
Length and unpredictability. Four or five random words, chosen by a password manager or dice rather than by you, are both strong and memorable. Use a different password for every account and keep them in a password manager.
Can I check whether my email address was in a breach?
Yes, on haveibeenpwned.com. Checking an email address means sending it to the service, so this page doesn’t do it for you.