Thinking of a new password? Check it isn't already leaked.
Check a password you're considering before you use it, against the hundreds of millions exposed in data breaches. Your password never leaves your browser. Nothing is sent until you press Check.
Nothing is sent while you type. When you press Check, only 5 characters of a scrambled code made from your password leave this device.
Breach data from Pwned Passwords by Have I Been Pwned.
How the check works
- Your browser turns the password into a 40-character code using SHA-1, a one-way scramble. The same password always gives the same code, but the code can't be turned back into the password.
- Only the first 5 characters of that code are sent to Have I Been Pwned, a free service run by security researcher Troy Hunt that collects passwords exposed in data breaches.
- Have I Been Pwned replies with the rest of every leaked code that starts with those 5 characters: usually 800 to 1,000 of them.
- Your browser looks for your code in that list. The answer is worked out on your device, so Have I Been Pwned never learns which password you checked, or whether it was found.
This method is called k-anonymity. Any 5 characters match hundreds of leaked passwords and countless passwords that have never leaked, so they say nothing useful about yours.
What is sent, and what isn't
- Sent: 5 characters of the scrambled code, and only when you press Check. The request carries no cookies and doesn't say which page it came from.
- Never sent: your password, the full code, or anything that links the check to you. We don't receive any of it: the request goes straight from your browser to Have I Been Pwned.
- Padding: we ask Have I Been Pwned to add dummy entries to every reply, so even the size of the reply gives nothing away.
- Nothing is kept. The password stays in the page while it's open and is gone when you close it. It's never saved, logged or put in the page address.
You don't have to take our word for it. Open your browser's developer tools, go to the Network tab and press Check: you'll see one request to api.pwnedpasswords.com ending in the 5 characters shown above. Our privacy policy has the details.
If the password has been leaked
Don't use it, or anything close to it. Attackers try leaked passwords first, along with the obvious variations, such as an extra digit or a capital letter. Generate a different one instead: a long, random password, or a memorable phrase of five or more random words.
If you find that a password you already use has leaked, change it on every account that uses it, starting with your email, because email can reset everything else. Then turn on two-step verification, and use a password manager so every account gets its own password.
"Not found" is good news, but it isn't a strength rating. A short or predictable password can still be guessed, even if it has never leaked. Read what makes a password weak for the common traps.
Checking a generated password
A password our generator has just made has never been used, so it won't be in any breach list. There's no need to check it here.