What is a Password Generator?
A password generator creates random strings of characters that are designed to be hard for both humans and machines to guess. The goal is to produce passwords with high entropy -- a measure of unpredictability expressed in bits. Entropy is calculated as log2(charset^length), where charset is the number of possible characters and length is how many characters the password contains. A 12-character password drawn from a 95-character set (all printable ASCII) has about 78.8 bits of entropy. That means an attacker trying random combinations would need to check an average of 2^77.8 possibilities before finding the right one. At a billion guesses per second, that takes roughly 4.8 billion years. The math is what makes generated passwords work.
Humans are terrible at creating random passwords. Study after study confirms this. People reuse passwords across sites, pick dictionary words, substitute letters with predictable numbers (@ for a, 3 for e, 0 for o), and gravitate toward patterns on the keyboard like qwerty or 1qaz2wsx. Password cracking tools know all of these tricks. Hashcat and John the Ripper ship with rule sets that apply thousands of common substitutions and patterns to dictionary words, cracking most human-chosen passwords in seconds. A password generator removes human bias from the equation entirely. Every character position is filled by a cryptographically secure random number generator, which means no patterns, no dictionary words, and no predictable substitutions.
The importance of password generation has grown alongside the number of accounts the average person manages. Security researchers estimate that number at somewhere between 70 and 100 online accounts per person. Reusing the same password across even a fraction of those accounts means that a single data breach exposes all of them. Credential stuffing attacks -- where attackers take leaked username-password pairs and try them on other services -- succeed precisely because people reuse passwords. A unique, randomly generated password for every account eliminates this entire attack vector. Paired with a password manager that remembers them all, generated passwords are the baseline of modern personal security.