What makes a random password strong, counted rather than guessed
A password's strength is the number of guesses an attacker needs. For a password made by a random generator, that number is exact: it is how many different passwords the generator could have produced. Twenty characters drawn from 78 possible characters gives 78 to the power 20, a number with 38 digits. Written as bits, the base 2 logarithm, that is about 125. Each extra bit doubles the guesses. This page shows that count under every password, worked out from the rules that made it, and says what it means.
The strength meters on many sign-up forms work the other way round. They look at the finished password and score it for a capital letter, a digit and a symbol. That rewards Password1!, which is in every attacker's list, and can mark down a long random string of lowercase letters, which no attacker will ever reach. The meters guess because they cannot know how a password was made. A generator does know, so it can count.
Two thresholds matter in practice. Against a website that limits login attempts, an attacker gets a few thousand tries at most, and 50 bits is far beyond that. The danger is a stolen copy of the site's password database. Then the attacker guesses offline, as fast as their hardware allows, and you need around 80 bits for the password to hold. The two presets on this page sit well above that line: about 125 bits for a password kept in a manager, and exactly 80 for one you type by hand.
The typed-by-hand preset trades variety for length. It uses lowercase letters and digits only, with the lookalikes I, l, 1, O, 0 and o taken out. That leaves 32 characters, so each one is worth exactly 5 bits, and 16 of them make 80. It shows the password in blocks of four so you can read it off one screen and enter it on a TV remote or a phone keyboard without hunting for the shift key or a symbol.
Two details keep the count honest. Each character is drawn evenly: the obvious method of taking a random byte modulo the number of characters makes the first few characters come up more often, so draws in the uneven tail are thrown away and repeated. And when the rules demand one character of each kind, a password that misses a kind is thrown away whole and drawn again, rather than patched. The bits shown are reduced by the passwords that rule makes impossible, counted exactly by inclusion and exclusion.
Everything happens in this page, with the browser's crypto.getRandomValues. Nothing is sent to a server, nothing is logged, and nothing is stored. The safest place for the result is a password manager, with a different password for every account, so that one site losing its database never opens any other.