How to check if your password was leaked

You can find out whether a password has appeared in a data breach without revealing the password to anyone.

Check now

Open the strength checker, type the password and press "Check against known breaches". The answer is a count of how many times it appears in breach data, or not found.

How it works without sending your password

Have I Been Pwned keeps a corpus of passwords exposed in real breaches, stored as SHA-1 hashes. Its range API uses k-anonymity:

  1. Your browser computes the SHA-1 hash of the password, a 40 character string.
  2. It sends only the first 5 characters of that hash to the API.
  3. The API returns every hash in its corpus that starts with those 5 characters, typically several hundred, each with a count.
  4. Your browser looks for the rest of your hash in that list.

The service sees only a prefix shared by hundreds of unrelated passwords, so it cannot tell which one you checked. This site also asks for padded responses, which adds dummy entries so the response size gives nothing away.

If your password was found

Not found is good news, but it does not mean strong. A short or predictable password can be guessed whether or not it has leaked.

Why sites should do this too

NIST SP 800-63B-4 requires systems to compare new passwords against a list of commonly used, expected or compromised values when they are set. Many sites now run this exact check at signup.

Published 18 October 2026. Last reviewed 18 October 2026.

Questions

Is the Have I Been Pwned password check safe?

Yes, when done through the range API as here. The full password and full hash never leave your device.

Does this check my email address too?

No. This checks a password only. To see which breaches included your email address, use the search on haveibeenpwned.com.

Sources

Related tools and guides