BREACH CHECK

Find out whether a password has appeared in a known data breach, using the Have I Been Pwned Pwned Passwords service. The password is hashed on this page and only the first five characters of the hash are sent, after you tick the consent box. The comparison happens here.

Zero retention: your passwords never leave this browser. Verify it yourself in DevTools.
This is the one 2pass tool that sends something off your device, and only when you say so. Your password is hashed with SHA-1 here, in this tab. If you tick the box and press Check, only the first 5 characters of that hash go to Have I Been Pwned (api.pwnedpasswords.com). Your password and the rest of the hash never leave this browser.
Exactly what will be sent Type a password to see it. Sent with no cookies and no referrer. The reply lists every known hash ending that starts with these 5 characters, padded with decoys; the match happens here.

Your password stays in this tab's memory only: never saved, never put in the address bar, never counted by analytics. It is wiped when you leave the tab or after 3 minutes without activity.

About the breached password check

How Can You Verify That Your Passwords Never Leave This Browser?

You do not have to take our word for it. Browser developer tools list every request a page makes, so you can watch 2pass work and confirm that your passwords are never sent anywhere. The check takes about a minute.

  1. Open your browser developer tools with F12, or Cmd+Option+I on a Mac, and select the Network tab.
  2. Reload the page and let it finish. You will see the page's own files, its web fonts, the word lists it uses, and one anonymous page-view request. Nothing has been typed or generated yet, so none of them can contain a password.
  3. Click the clear icon in the Network tab so that the log is empty.
  4. Type a password and watch the prefix change, without ticking the box.
  5. Look at the Network tab again. It is still empty. Now tick the consent box and press Check: exactly one request appears, to api.pwnedpasswords.com/range/ followed by the five characters the page showed you. Click it: the address is the whole message, and your password is not in it.

For extra proof, turn on offline mode after the page loads: the generators, the strength checker, and the calculator keep working, because they never needed the network. Only the breach check needs a connection, and only after you ask it to.

The production site also sends a Content-Security-Policy header that tells your browser to refuse connections to anywhere except this site, the anonymous analytics endpoint, and the Have I Been Pwned range API, so even a bug could not send a password somewhere else.

How Does the k-Anonymity Breach Check Work?

  1. Your browser computes the SHA-1 hash of the password with the Web Crypto API. The hash is 40 hexadecimal characters.
  2. Only the first 5 characters of the hash, the prefix, are sent to https://api.pwnedpasswords.com/range/ followed by the prefix.
  3. Have I Been Pwned replies with the remaining 35 characters of every breached password hash that starts with that prefix, about two thousand of them in a check made in November 2026, each with a count of how often it was seen.
  4. The page looks for your hash's remaining 35 characters in that list, in this tab, and shows the count if it is there.

k-anonymity means your request is indistinguishable from the requests for every other password sharing the same prefix. The service learns that you checked one of a very large number of possible passwords, never which one.

What Exactly Leaves Your Browser?

One HTTPS request, after consent: the 5-character prefix in the address, and a header asking for padded results. The password and the full hash never leave the tab. The request is sent with no cookies and no referrer, so it does not carry your identity from other sites or tell the service which page you came from.

Like any web request, it does reveal your IP address, your browser's user agent, and the time to Have I Been Pwned and to Cloudflare, which serves the API. The service is run by security researcher Troy Hunt and needs no API key for password checks. 2pass itself receives nothing.

What Does Padding Do?

Different prefixes have different numbers of matching hashes, so an eavesdropper who could see only the size of the encrypted response might narrow down the prefix. With the Add-Padding header, the service adds fake rows with a count of zero so every response is roughly the same size. 2pass ignores those rows when matching.

What Do Found and Not Found Mean?

Found means the exact password appears in breach data collected by Have I Been Pwned, and the count shows how many times it was seen. A found password is in the lists attackers use first; stop using it on every account, even if the breach was not on a site you use. Someone else choosing the same password is enough to put it on the list.

Not found only means the password is not in the breaches this service knows about. It says nothing about how easy it is to guess, so a short or patterned password can be not found and still weak. Check strength separately with the strength checker.

What Should You Do if Your Password Was Found?

  • Change it on every account where you use it, starting with email, banking, and your password manager.
  • Replace it with a new random password from the password generator, unique to each site.
  • Turn on a second factor where available; the 2toolbox TOTP code tool explains authenticator codes.
  • Never reuse the old password, even with a digit changed.

Why Is the Breach Check Opt-In?

Every other 2pass tool works with no network request at all. The breach check is the one tool that must ask an outside service, so it is off until you tick the consent box, the box resets on every page load, and the page shows the exact prefix and address before you press Check. Nothing is checked automatically, and generated passwords are never sent anywhere.

Have I Been Pwned also offers email and domain searches, but they require a paid API key and would send your email address, so 2pass does not offer them.

What Else Is on 2pass?

  • Password generator: Random passwords from the browser's cryptographic generator, with character set toggles and exact entropy in bits.
  • Passphrase generator: Passphrases of 3 to 12 words from the EFF large wordlist, with separator options and entropy shown.
  • Password strength checker: See how fast a password could be guessed, which patterns weaken it, and whether it contains personal information.
  • NIST password guidelines: What NIST SP 800-63B Revision 4 says about length, composition rules, expiry, blocklists, and storage.
  • Password entropy explained: What password entropy is, how bits are counted, and how long a guess takes, with a calculator.
  • Privacy and zero retention: Tool by tool, exactly what leaves your browser (almost nothing) and how to check it yourself.

Everything is on the 2pass home page. Part of the 2suite.io privacy-first ecosystem.

Frequently Asked Questions

Does the breach check send my password?

No. It sends only the first 5 characters of the SHA-1 hash of the password. The full password and full hash stay in your browser, where the comparison is done.

Why does a password show up as breached when I never used that site?

The list contains every password seen in any breach, regardless of who used it. If anyone anywhere chose the same password and it leaked, it is on the list and attackers will try it.

If my password is not found, is it safe?

Not necessarily. Not found only means it is absent from known breach data. It can still be easy to guess, so check its strength and prefer a randomly generated password.

Who runs the Pwned Passwords service?

Have I Been Pwned, created by security researcher Troy Hunt, with the API served through Cloudflare. Password range lookups need no API key.

Can 2pass check my email address for breaches?

No. Email and domain searches on Have I Been Pwned need a paid API key and would send your email address, so 2pass offers the password check only.

What does the consent box allow?

It allows one kind of request: the 5-character hash prefix to api.pwnedpasswords.com when you press Check. It is unticked on every page load and nothing is remembered.

Was this helpful?