APIs

Password Breach Checker

Find out if a password has shown up in a data breach, safely: your password never leaves this page, only a 5-character piece of its fingerprint does.

⚠ This tool does not work offline. It gets its data live from Have I Been Pwned (Pwned Passwords).

Had fun, or did this help? I’d appreciate any donation :) Not needed, but money buys temporary happiness at least lol

What it does

Attackers try leaked passwords first, so a password that has appeared in any breach is unsafe even if it looks strong. This checker looks yours up in Pwned Passwords, Troy Hunt's free database of more than 900 million real passwords exposed in data breaches, and tells you how many times it has been seen.

It does that without ever revealing the password, using a method called k-anonymity. Your browser turns the password into a SHA-1 hash, a 40-character fingerprint, and sends only the first 5 characters. The service replies with every leaked hash that starts with those 5 characters (usually around a thousand, padded with decoys), and your browser checks the list itself. Neither Have I Been Pwned nor LocalScriptBox can tell which password you checked, and nothing is saved.

Example

"password" has the SHA-1 hash 5BAA61E4C9B93F3F0682250B6CF8331B7EE68FD8, so only 5BAA6 is sent. It comes back as seen in breaches more than 50 million times. A long random passphrase from the Password Generator comes back "not found".

About the data source

Have I Been Pwned is a breach notification service run by security researcher Troy Hunt since 2013. Its Pwned Passwords collection holds hundreds of millions of real passwords exposed in data breaches, and is used by password managers, governments and companies like Cloudflare and Okta to block leaked passwords. The range API is free with no key and no rate limit, and it was designed around k-anonymity together with Cloudflare so that nobody ever learns which password you checked.

Visit Have I Been Pwned (Pwned Passwords) · API documentation · Terms of use · Every data source this site uses

Password Breach Checker FAQ

Is it really safe to type my password here?

Yes, by design: the full password and full hash never leave your browser, and the 5-character prefix is shared by hundreds of unrelated passwords. You can confirm it yourself in your browser's developer tools (Network tab): the only request is to api.pwnedpasswords.com/range/ followed by 5 characters. Still, the safest habit is to check a password and then change it anyway if it's important.

"Not found" means my password is safe?

It means it isn't in any known breach. It can still be weak; check it with the Password Strength Checker, and never reuse it across sites.

Does this check my email address?

No. Email breach searches need an API key, so they're done on haveibeenpwned.com itself.