Text Tools
Password Generator
Generate high-entropy passwords with length and character-set controls.
Understand the format
How Password Generator works
The strength of a generated password is measurable: it is the number of characters multiplied by the bits contributed by each position, assuming the source of randomness is genuinely unpredictable.
Entropy is length times the log of the alphabet
For a randomly generated password, strength in bits is length multiplied by the base-two logarithm of the character pool size. A pool of 71 characters contributes about 6.15 bits per position, so an 18-character password from that pool carries roughly 111 bits of entropy. An attacker who can test a billion candidates per second would still need vastly longer than the age of the universe to exhaust that space.
The formula shows why length dominates. Adding one character multiplies the search space by the pool size, while adding a whole extra character class only increases the per-character contribution slightly. Sixteen lowercase letters beat eight characters drawn from every class on the keyboard.
Where randomness comes from, and which characters are excluded
This generator draws from crypto.getRandomValues, the browser cryptographically secure random source. That distinction matters: an ordinary pseudo-random function is predictable from its output, which makes any password built from it recoverable. It also guarantees at least one character from each selected group, then shuffles the result, so the password satisfies composition rules without a predictable layout.
Look-alike characters are deliberately left out of the pools: lowercase l, uppercase I and O, and the digits 0 and 1. That removes transcription errors when a password is read aloud or typed from a screen, at the cost of a fraction of a bit per character, which the entropy table below already accounts for.
Step by step
How to use Password Generator
- Set the length. Sixteen characters or more is a sensible floor for anything that matters.
- Select the character groups the destination system will accept.
- Press Generate password, and generate again if the result is awkward to type.
- Store the value in a password manager immediately rather than pasting it into a ticket or chat message.
Passwords are generated in your browser with crypto.getRandomValues. They are not transmitted, saved in local storage, or recoverable after you leave the page.
Troubleshooting
Common mistakes and how to fix them
- Relying on forced complexity rules and 90-day rotation.
- Current NIST guidance recommends long passwords, screening against known-breached values, and rotation only after a suspected compromise. Forced rotation pushes people towards predictable variations.
- Generating a strong password and reusing it across services.
- Reuse turns any single breach into a credential-stuffing campaign against every other account. Generate a distinct value per service.
- Storing the password in the ticket that requested the account.
- Use a secret manager or a one-time share link, and rotate anything that has appeared in a chat or issue tracker.