Have I Been Pwned
Have I Been Pwned's password API uses k-anonymity: this page sends only the first five hex characters of the SHA-1 of your password. HIBP returns a list of suffix hashes. Your full password never leaves the browser. A hit means that exact secret appeared in a public dump, not that your email was named.
Checking one password? Check the settings your organisation enforces in Active Directory, Entra and Google against NIST and the ISM: audit your password settings.
What the breach checker is for
Billions of passwords have leaked in public breaches, and attackers load those exact lists into credential-stuffing tools. A password that appears in one is dangerous no matter how complex it looks, because it is already being tried.
Checking is therefore more useful than measuring strength: a strong-looking password that has leaked offers no protection at all.
Common uses
- Testing whether a password you have used before has leaked
- Auditing a shared or legacy credential still in service
- Demonstrating credential-stuffing risk to a team
- Deciding which accounts to prioritise after a breach announcement
What the output means in the real world
A match count means this password is in the corpus and must be retired everywhere you reused it. Zero matches means it was not in HIBP's files; it can still be guessable. After a hit, generate a fresh unique password, store it in a manager, and enable MFA on the important accounts. Do not type a work password into this tool on a shared machine.
How this fits into real work
Troy Hunt's Pwned Passwords list is what NIST SP 800-63B means by a deny-list of known-breached secrets. Enterprise IdPs should check at set time, not only when a user panics later.
The five-character prefix model (k-anonymity) is documented by HIBP: the server never sees the remaining hash. That is why this checker is safer than pasting a password into a random 'breach search' box that POSTs the plaintext.
Reuse is the injury. If the password hit here is also your email password, assume inbox takeover and rotate recovery addresses next. MFA reduces the damage of the next dump.
How to use this tool
- Type the password you want to check.
- The tool hashes it with SHA-1 in your browser and sends only the first five characters of that hash.
- Review the result — any non-zero count means the password appears in known breach data.
- If it appears even once, change it everywhere it has been used.
Tips
- A count of zero is not a guarantee of safety; it means the password is not in this dataset.
- A high count usually means the password is common, so it will be among the first an attacker tries.
- Prioritise your email account — whoever controls it can reset most of your others.
Privacy & how it works
This is the one tool here that contacts an external service, and it is designed so your password stays private. It is hashed locally with SHA-1, and only the first five hash characters are sent to the Have I Been Pwned range API. That prefix matches hundreds of hashes, so the service cannot tell which was yours; the comparison finishes in your browser. This technique is called k-anonymity.
Frequently asked questions
- Does my password get sent anywhere?
- No. Only the first five characters of its SHA-1 hash are sent. The API returns every hash sharing that prefix and the matching happens locally, so the service never learns your password.
- My password was found. What should I do?
- Change it anywhere it has been used, starting with email and financial accounts, and enable two-factor authentication. Do not simply add a digit — choose a fresh random password.
- It was not found. Am I safe?
- It means the password is not in this collection of known breaches. That is good, but it does not prove the password is strong or that it has never leaked elsewhere.
Browse other tools
All tools run entirely in your browser — nothing you type is sent to a server, except the optional HIBP 5-character hash prefix.