Check If a Password Was in a Breach

We rate this tip B tier: Have I Been Pwned's Pwned Passwords check tells you free how many times a password appears in breached data without the password leaving your device. On Nov 13, 2026 it had seen "123456" 210,463,629 times and "password123" 2,266,677 times.

We rate this tip B tier: type a password into Have I Been Pwned's Pwned Passwords check and it tells you, free, how many times that password appears in breached data, and it does so from the first 5 characters of the password's hash, never the password. We ran it on Nov 13, 2026: "123456" had been seen 210,463,629 times and "password123" 2,266,677 times. Any count above zero means the password is in the lists attackers try first, and the service's own advice is that such a password "should no longer be used". We think the check is worth more than any password-strength meter, because a meter guesses and this one counts.

Next: the 10 one-time codes that get you into a Google Account when the phone is gone, what to lock after a breach that exposed more than a password or the fake delivery text that asks for a small card fee, and what answering it cost.

What we measured

Five passwords, checked on Nov 13, 2026 against the Pwned Passwords service:

Password Times seen in breached data
123456 210,463,629
qwerty 30,813,001
iloveyou 7,007,939
password123 2,266,677
correct horse battery staple 391

The last row is the lesson. That phrase is four random-looking words and 28 characters, the shape many guides recommend, and it is in breached data 391 times because it is a famous example that people then used. Length did not save it. Being known did it in.

Why it is safe to type a password there

Have I Been Pwned's documentation describes the method, which it calls k-anonymity. Your device turns the password into a SHA-1 hash, a 40-character fingerprint, and sends only the first 5 characters. The service answers with "the suffix of every hash beginning with the specified prefix, followed by a count of how many times it appears in the data set", and your device looks for its own fingerprint in that list.

Troy Hunt, who runs the service, explains the same method in his weekly video of Feb 23, 2018: "we take the first five characters of that hash", send them to a range search, and compare the several hundred results that come back with the full hash, which is never sent.

We watched it happen. For "password123" the fingerprint begins CBFDA. We sent those five characters and nothing else, and got back 1,971 lines, one of which matched the rest of our fingerprint with the count 2,266,677. The service could not tell which of the 1,971 we were asking about, or whether we held any of them.

The site also says of its own storage: "No password is stored next to any personally identifiable data."

Computerphile's explainer walks the same trick with a pen: sending the whole SHA-1 hash would let the site reverse look up the password, so the API takes only "the first one, two, three, four, five characters of the hex", returns every leaked hash that begins with them (usually four or five hundred) with how many times each was seen, and the match is made "at your end".

Passwords and email addresses are two checks

  • The password check answers "is this password known?" It never asks who you are.
  • The email search on the same site answers "which breaches included this address?" It is free for a single address, and the service notes that breaches it classes as sensitive are shown only to the verified owner of the address.
  • Notify me emails you when your address turns up in a new breach; notifications go only to the address being watched, so you cannot monitor someone else's.

An address listed in a breach does not mean your current password is known: it means the password you used on that site, at that time, should be treated as public, there and everywhere you repeated it.

What to do with the answer

  1. Count above zero: change that password everywhere it is used, starting with email, since a mailbox resets everything else.
  2. Make the new one unique to the account, generated by a password manager, so one site's breach stops at that site.
  3. Turn on 2-Step Verification where it is offered, and print the backup codes.
  4. Count of zero: it is not proof of strength, only that the password is not in this data set today.

What we checked

The first-5-characters method and the quoted description are from Have I Been Pwned's API documentation; the storage statement, sensitive breaches, the notification rule and "should no longer be used" are from its questions page. Both were read on Nov 13, 2026. The five counts and the 1,971 lines are our own queries of the service's public range address that day, hashed on our own PC; counts rise as new breaches are loaded, so they will be higher later. Have I Been Pwned is run by Troy Hunt and a small team, not by a government or a standards body, and we rely on it here for what its own documentation says it does. The page's one moment is Troy Hunt's own video, checked against its transcript.

Sources

Moments

Weekly Update 75

Troy Hunt

  1. Troy Hunt, who runs the service, explains the same method in his weekly video of Feb 23, 2018: "we take the first five…

Have You Been Pwned? - Computerphile

Computerphile

  1. Computerphile's explainer walks the same trick with a pen: sending the whole SHA-1 hash would let the site reverse…

Photos

The words Have I Been Pwned in pale blue italic letters on a dark blue background

See also

About this page

Last updated Nov 22, 2026 by the Vi.ki team. Page text CC BY-SA 4.0.

Edit History

Hotkeys

/
Jump to the search box
? or Ctrl + /
Open this list
Esc
Close this list, the photo viewer, or the account menu

Video

Space or K
Play or pause
← →
Back or forward 5 seconds
J L
Back or forward 10 seconds
0 to 9
Go to 0% to 90% of the video
, .
Previous or next frame, while paused
M
Mute or unmute
C
Captions on or off
F
Full screen on or off
A D
Previous or next moment

Photo viewer

← → or A D
Previous or next photo
↑ ↓ or W S
Previous or next photo
Home End
First or last photo
I
Show or hide the photo's info
Z
Clickless on or off: a pointer over a thumbnail shows it
N
Compare with the last photo: back to the one shown before this, and N again comes back
Q
Move the thumbnails to the next edge: top, bottom, left and round
, or Ctrl + ,
Open or close the viewer's settings
V
Clickless pan: a zoomed photo follows the pointer, rather than being dragged
Shift
Browse on or off
B
Show or hide the button bar
T
Show or hide the thumbnails
1
100% zoom on or off
0
Rate the photo as no opinion; again takes the answer back
+ -
Rate the photo a step higher or lower
F
Full screen: the photo alone. F again puts everything back.
Back to top