Why check if a password has been breached?
When websites are hacked, their password lists often end up published online. Attackers collect these into huge lists – billions of real passwords – and try them first, on every website, before anything else. If your password is on one of those lists, it doesn't matter how long or complex it looks: it will be tried early and it will work anywhere you've reused it.
How can it check without seeing my password?
It uses a clever technique called k-anonymity, designed by security researcher Troy Hunt for his Have I Been Pwned service:
- Your browser turns the password into a SHA-1 hash – a 40-character fingerprint, like
5BAA61E4C9B93F3F…. Hashes are one-way: you can't turn one back into the password. - Only the first 5 characters of that hash are sent.
- Have I Been Pwned replies with every breached hash starting with those 5 characters – usually several hundred – plus some random padding so the size of the reply gives nothing away.
- Your browser checks the list itself. The full hash, and your password, never leave your device.
My password was found – what should I do?
- Stop using it – everywhere. Change it on every account where you've used it, starting with email and banking.
- Use a different password for each account, ideally generated randomly and kept in a password manager.
- Turn on two-factor authentication so a leaked password alone isn't enough to get in.
It wasn't found – does that mean it's safe?
Not necessarily. It only means it isn't in the breaches Have I Been Pwned knows about. A short or guessable password can still be cracked quickly – check it with the strength checker too.
What about my email address?
To see which breaches your email address has appeared in, use the search on haveibeenpwned.com itself.