Password strength and breach check

Estimate entropy locally and ask Have I Been Pwned whether the hash prefix appears in breached passwords.

The password is hashed with SHA-1 in your browser. Only the first five characters of that hash are sent to api.pwnedpasswords.com. The password is not sent. Cloudflare, which fronts that API, may set a cookie on its own domain.

For a setup that keeps more of your browsing on your own machine, see PrivateAsync.

How to use it

  1. Type a password. It stays in the form until you clear it.
  2. The strength line is the same entropy estimate as the generator, using the character set that actually appears.
  3. The breach line searches the range response for the rest of the hash. A count is the number HIBP published for that hash.

This is the Pwned Passwords range API, also called k-anonymity. Many other hashes share your five-character prefix, and the page looks for yours locally. Add-Padding is set so the response includes dummy rows.

A count of zero in this result means that hash was not in the range response. It does not mean the password is a good one, and it does not cover breaches HIBP has not loaded.

A high count means that exact password has been seen. Do not keep using it. The page does not say a password is safe.

Related tools