Tools / Pwned Password Check

Pwned Password Check.

Check whether a password appears in known data breaches without sending the password anywhere (k-anonymity).

Runs in your browser Only a 5-character hash prefix is sent to api.pwnedpasswords.com

How it works: your browser computes the SHA-1 hash of the password, sends only its first five characters to the Pwned Passwords range API and compares the returned suffixes locally. The password and its full hash never leave this page, and nothing is stored or put in the URL.

The check runs only when you press the button, so partial passwords are never looked up while you type.

About Pwned Password Check

The Pwned Password Check tells you whether a password has already leaked in a data breach, using the Pwned Passwords service from Have I Been Pwned, which holds hundreds of millions of real passwords exposed in public breaches. It works without revealing your password, not even to that service. Your browser computes the SHA-1 hash of the password, sends only the first five hexadecimal characters of that hash to api.pwnedpasswords.com/range, and receives every breached hash suffix that shares the prefix, usually several hundred of them, padded with dummy entries so the response size gives nothing away. The comparison with the rest of your hash happens locally. This technique is called k-anonymity: the service learns only that your password is one of many with the same prefix. For example, "password" is reported as seen more than fifty million times, while a long random passphrase from a password manager should not appear at all. The check runs only when you press the button, because looking up every partial password as you type would leak more than one prefix. Typical mistakes are treating "not found" as proof of strength, since a short or predictable password can be cracked even if it never leaked, and reusing a password that was found on another site. The password is never stored, logged or placed in the page address.

How to Use

  1. Type the password you want to check.
  2. Press Check password; only a 5-character hash prefix is sent to Pwned Passwords.
  3. If it was found, stop using it everywhere and switch to a unique password.

Frequently Asked Questions

Is it safe to type my real password here?

Yes, by design. Only the first 5 of the 40 hex characters of its SHA-1 hash are sent, and many breached passwords share that prefix. The password itself never leaves your browser.

Does this page contact a server?

It contacts api.pwnedpasswords.com directly from your browser, only when you press the button. Our own servers are not involved and nothing is stored.

My password was not found. Is it strong?

Not necessarily. Not appearing in breaches only means it has not leaked publicly. Use a long, unique, randomly generated password for every site.

What should I do if it was found?

Change it on every site where you used it, prefer a password manager, and turn on two-factor authentication.

Related Tools