Password leak check: why only 5 characters are sent

Everything below is what this tool actually does. We describe no more than the code does.

Why check

A password leaked from one site travels in lists. If you reuse it elsewhere, someone can try that list against your other accounts.

Knowing whether your password was in a list helps you decide what to change.

How to use it

Type the password and press Check. The text is hidden as you type, so turn on Show what I type if you need to.

The result shows how many times it was found. If it was found, change it everywhere you use it.

Below the result you will see the 5 characters that were sent this time.

Go to the checker

Why only 5 characters are sent

A password turned into a SHA-1 hash becomes 40 letters and digits. That step ends on your device.

Only the first 5 of those 40 characters go to the server. The server replies with hundreds of hash endings that start with those 5.

Your device looks for the other 35 characters in that reply. The server cannot tell which hash is yours.

The reply is padded with fake lines. Lines with a count of 0 are dropped, so reply length gives nothing away.

Reading the result

The count is how many times that password showed up in leaked data. It does not mean your account was breached. It means the same password has been public.

Not found is not a guarantee. It may simply not be public yet.

Use a different password on every site and make it long. A password manager makes that easy.

What this tool cannot do

This tool only checks whether one password appeared in public leak data. It does not look up which breaches an email address is in. That lookup needs a paid key, so it is not included.

The list holds only breaches that are already known. It cannot tell you about leaks nobody has found yet, or how a site you use stores your password.

Whatever the result, the tool does not change any password for you. You change it on the site itself.

Data source

The lookup goes to the Pwned Passwords API of Have I Been Pwned, run by Troy Hunt.

The API is free and needs no key. Attribution is not required but welcome. We checked that page on 6 November 2026.

Looking up leaks by email address needs a paid key, so this tool leaves it out.

What reaches a server

The Pwned Passwords server gets only the first 5 characters of the hash. Not the password, not the full hash.

Our own server gets only a step name, the page language, a source label and the date. The password and the result are never included.