How the check keeps your password private
Your browser first turns the password into a SHA-1 hash, a 40-character fingerprint written in hexadecimal. Only the first 5 characters of that hash are sent, to the Pwned Passwords range service, for example the prefix 21BD1. The service returns every hash in its list that starts with those 5 characters, around 800 of them, each with a count. Your browser then looks for the remaining 35 characters in that list itself. The service never learns which of the hundreds of hashes was yours, and it never sees the password or the full hash. This method is called k-anonymity. There are 1,048,576 possible prefixes, so each one is shared by a large crowd of different passwords.
Padding and when the request is sent
The request also carries the Add-Padding header. With it, the service adds dummy entries with a count of zero so that every reply holds between 800 and 1,000 lines; someone watching encrypted traffic therefore cannot guess the prefix from the size of the reply. The padded lines are discarded here. The service's documentation also warns that checking a password on every keystroke could expose it, because a series of prefixes for "p", "pa", "pas" and so on gives away the whole word. This page therefore sends exactly one request, when you press Check. Under the result it shows the address that was called, with the 5 characters, and the full hash that stayed on your device.
What a match means
A count above zero means the exact password was found in breach data, often many times. Attackers load these lists into automated login attempts, called credential stuffing, so a breached password is unsafe even if it looks complex and even if your own account was never hacked. Stop using it on every site, change it first where it protects email, banking or work accounts, and turn on two-factor login. Not found means only that it is not in the collected breach data; a short or predictable password can still be guessed quickly, so test it with our password strength checker as well.
What this page does not do
It checks passwords, not email addresses. Finding which breaches include an email address needs a paid key from the breach service and would mean sending your address, so it is not offered here. Your password is not stored, and the analytics record only that a check happened and whether a match was found, never the password, the hash, the prefix or the count. The request is made directly from your browser to the range service, without cookies and without a referrer, so our server is not involved at all.
Sources and related tools
How the range search, the 5-character prefix, the 800 to 1,000 line padding and the keystroke warning work is taken from the Have I Been Pwned API documentation, version 3, which we opened on 23 October 2026. The Pwned Passwords data is free to use and the documentation sets no attribution requirement; we name the source because it is fair to. Generate a replacement with the password generator, and protect important accounts with a second factor.