Password generator and checker

A generator for passwords and passphrases, a strength estimate and a breach check. The password never leaves the browser.

Generator

Password type
Choose at least one character set

126 bits of randomness. Very good: cannot be brute-forced.

The randomness comes from your browser's crypto.getRandomValues, without bias. The password is not saved anywhere.

Password check

Has it appeared in breaches

A check against the Have I Been Pwned database: hundreds of millions of passwords from real breaches. The password is not sent: only the first 5 characters of its SHA-1 go over the network. The service returns hundreds of hashes with that start, and the match is found in your browser.

Password length and leak check

The generator takes its randomness from the browser's crypto.getRandomValues and picks characters without bias. The password is built from the selected sets: lowercase and uppercase Latin letters, digits, 25 symbols. A passphrase takes words from a Russian or English list, each with about 1100 words.

The check splits the password into the pieces an attacker tries first: common passwords, dictionary words, dates, keyboard walks, Russian words typed in the English layout. From the number of guesses it calculates the cracking time to the end in four cases: a site login with a limit of 100 attempts per hour, a login with no limit at 10 attempts per second, a leaked database with bcrypt at 10 thousand per second, and one with MD5 or SHA-1 on graphics cards at 10 billion per second.

Examples

  • 8 random characters from letters, digits and symbols give 50 bits, and against a leaked database with a fast hash such a password is cracked in up to 2 days. 12 characters from the same set give 77 bits, and cracking takes up to 434 thousand years.
  • P@ssw0rd2024 is rated at about 12 bits: the word password with letter substitutions and a year are at the top of cracking lists, and against a fast hash cracking takes less than a second.
  • The SHA-1 of the password 123456 starts with 7C4A8. For that request on 20.10.2026 the service returned 1920 hashes, and the matching hash has a count of 210,461,208.

Common mistakes

  • People replace letters with digits in a dictionary word. Such substitutions are tried first, and in this page's estimate they add no more than 4 bits.
  • People use one password on several sites. After a leak from one site, that login and password pair is tried on email and social networks.
  • People type a Russian word in the English layout, for example ghbdtn. Such variants are in cracking dictionaries.
  • People consider a password strong because it isn't in a leak database. Absence from the database adds no strength; the cracking time shows the strength.

FAQ

How many characters should a password have?
NIST SP 800-63B (revision 4) requires sites to accept a password of at least 15 characters when used without a second factor and at least 8 when used with two factors. 16 random characters from letters, digits and symbols give about 103 bits, and by this page's estimate such a password can't be brute-forced.
Is a password made of words stronger than a random one?
The strength of a phrase depends on the number of words: each word from a 1100-word list adds about 10 bits. A 5-word phrase gives about 50 bits, the same as 8 random characters from the full set. 6 words give about 60 bits.
Is it safe to check a password for leaks?
The password is not sent. The browser computes its SHA-1, and only the first 5 characters of the hash go to Have I Been Pwned. The service returns all hashes with that beginning, and the match is looked for on the page. The request is made on a button click, without cookies and Referer, with an Add-Padding header: it adds dummy lines, so the prefix can't be guessed from the response size.
What should I do if the password was found in a leak?
Change it on every site where you use it, starting with email: other passwords are recovered through it. Set a separate password for each site and turn on login with a code from an app or SMS wherever it's available.

You might also need