Password Breach Check

Find out whether a password has appeared in a data breach without giving it away. Your browser hashes it and sends only the first 5 of 40 hash characters to Have I Been Pwned; the match is made on your device.

Checker Web & Dev Updated Nov 25, 2026
Learn how this works
How to Use
  1. Type or paste the password into the box. Tick Show if you want to see what you typed.
  2. Watch the Will be sent readout: it shows the 5 characters that would leave your browser, worked out on your device before anything is sent.
  3. Press Check (live). Your browser asks Have I Been Pwned for every breached hash that starts with those 5 characters and looks for yours among them.
  4. Read the verdict: how many times the password appears in known breaches, or that it was not found. The examples show results recorded on 25 November 2026 and send nothing.
  5. If it was found, stop using it everywhere and replace it with a new random one from the Password Generator.
Password
never sent
Recorded examples (send nothing)

Only the 5-character hash prefix shown under “Will be sent” goes to api.pwnedpasswords.com, and only when you press Check. The password is never sent, saved or put in the address bar. Need a new one? Use the Password Generator.

What leaves your browser
Will be sent
—
Kept on device
—
Times seen
—
Length
—

Worked Example

Checking “password”. The 8 characters are 8 bytes in UTF-8. Their SHA-1 hash is 5BAA61E4C9B93F3F0682250B6CF8331B7EE68FD8. The browser splits it into the prefix 5BAA6 and the suffix 1E4C9B93F3F0682250B6CF8331B7EE68FD8, then requests https://api.pwnedpasswords.com/range/5BAA6. On 25 November 2026 the answer listed 1,977 real suffixes for that prefix, plus 195 padding lines with a count of 0. One line read 1E4C9B93F3F0682250B6CF8331B7EE68FD8:52373976, so the password has been seen 52,373,976 times in breach data.

A random password. tK9#vQ2!mZ7&xR4p hashes to 968DD294C1762F0B169A4A255D85DE12225E1E1D. The range 968DD held 1,984 suffixes and none matched: not found. The server saw the same kind of request both times and cannot tell which result you got.

The common mistake: trusting complexity rules. Summer2024! has a capital, digits and a symbol, and passes most sign-up forms, yet it was found 3,664 times. Tr0ub4dor&3, the “hard” password from the xkcd comic, was found 3,196 times. Patterns people choose are exactly what attackers try first.

Show Work

Type a password or pick an example to see the hash, the split and the comparison.

How the Check Works

1. Hash on your device
H = SHA-1(UTF-8(password))
160 bits = 40 hex characters, computed with the browser’s WebCrypto
2. Split
H = prefix(5) + suffix(35)
Only the prefix is sent
3. Ask for the range
GET /range/prefix
Header Add-Padding: true; answer lines are SUFFIX:COUNT
4. Compare locally
found ⇔ suffix ∈ range, count > 0
Padding lines have count 0 and are ignored
Possible prefixes
165 = 1,048,576
The prefix carries 20 of the hash’s 160 bits
Anonymity set
k ≈ 2,000
Breached hashes sharing one prefix (1,920–2,027 in our tests)

Pwned Passwords and k-Anonymity

In June 2017 NIST’s Special Publication 800-63B told services to check new passwords against lists of values known to be compromised, including passwords from earlier breaches. Two months later, in August 2017, security researcher Troy Hunt released Pwned Passwords: 306 million real passwords from breaches, as SHA-1 hashes, as part of his Have I Been Pwned service.

Asking a website “is this my password?” is a bad idea, so version 2 in February 2018 (501 million passwords) added the range search designed with Cloudflare: send 5 characters of the hash, get back every suffix under it, compare locally. Cloudflare’s write-up called it k-anonymity, a term from data privacy research for hiding one record among k similar ones. Password managers and browsers now run similar checks, and in 2021 the FBI began contributing passwords found in its investigations to the data set.

The optional padding header came later, because the size of an encrypted response could still hint at which prefix was asked for. With it, every response includes a random number of fake entries with a count of zero.

About This Tool

This checker hashes the password with SHA-1 using the browser’s built-in WebCrypto, sends only the 5-character prefix to the Have I Been Pwned Pwned Passwords range API with padding switched on, and matches the 35-character suffix on your device. It also runs a few quick local checks (length, character types, repeats, sequences, years) as tips. Those tips are rules of thumb, not a strength score.

Privacy, exactly: the password and its full hash never leave your browser and are never stored. When you press Check, one HTTPS request goes from your browser to api.pwnedpasswords.com carrying the 5 characters (and, like any request, your IP address and browser type); it does not pass through this site. The examples are answers recorded on 25 November 2026 and send nothing. Counts change as new breaches are added.

Related tools: Password Generator, Bcrypt Hash Generator & Checker, and Multi-Hash Generator.

Frequently Asked Questions

Does this send my password to Have I Been Pwned?

No. Your browser turns the password into a SHA-1 hash (40 hexadecimal characters) and sends only the first 5, such as 5BAA6 for “password”. The service answers with every breached hash that starts with those 5 characters, roughly 2,000 of them, and your browser compares the remaining 35 characters itself. Neither the password nor its full hash leaves your device, and this site never sees either.

What does k-anonymity mean here?

A request is anonymous among k possibilities. Five hex characters can take 165 = 1,048,576 values, and every prefix is shared by thousands of breached passwords, so the server cannot tell which one you checked. The padding header adds fake zero-count entries so even the size of the response gives nothing away. One limit: if your password is very common, an observer who saw the prefix could guess the popular candidates under it.

My password was not found. Is it safe?

It only means this exact password is not in the breach data the service holds. A short or predictable password (a name and a year, a keyboard pattern) can still be guessed in seconds. Use 12 or more characters, ideally random ones from a password manager, and a different password on every site.

Why use SHA-1 when SHA-1 is broken?

SHA-1 is broken for collisions: someone can build two different files with the same hash. That does not help anyone here. What matters is that the prefix reveals almost nothing, and SHA-1 is the format the Pwned Passwords data is published in. The hash is used only to look the password up, never to store it.

What is sent along with the 5 characters?

An HTTPS request from your browser to api.pwnedpasswords.com, so the service (run by Have I Been Pwned behind Cloudflare) sees your IP address and browser type, as with any web request. This page sends the header Add-Padding: true, no cookies and no referrer. The response is read once and thrown away; nothing is saved in the page, the address bar or browser storage.

How do I use the Password Breach Check?

Just type your numbers. The answer shows up right away — there is no button to press. Change anything and it updates by itself.

Is it free? Does it work without internet?

Yes to both. It is free with no sign-up, and once the page has loaded it keeps working even with no internet.

Where does my data go?

Nowhere — every calculation runs on your own device. Nothing you enter is uploaded, logged, or stored.

Common Use Cases

Checking an old password before you reuse it

“Summer2024!” meets most complexity rules but had already appeared 3,664 times in breaches on 25 November 2026.

Showing why famous examples are weak

xkcd’s “correct horse battery staple” was found 391 times: a passphrase everyone has read is on attackers’ lists.

IT and security training

Demonstrate k-anonymity live: type “password”, show that only 5BAA6 is sent, then reveal the 52,373,976 matches.

After a breach notice

A service emails that it was breached: check the password you used there, and if it is listed, change it everywhere you reused it.

Testing a sign-up rule

Developers can see what NIST SP 800-63B asks for: reject passwords that appear in breach corpuses, like P@ssw0rd (6,421,554 sightings).

Last updated: