How the generator builds a password
You pick a length and a set of character types. The generator builds a pool from the types you selected, draws each character with your browser's cryptographically secure random number source, and makes sure the password contains at least one character from every selected type. The characters are then shuffled so those guaranteed picks do not sit in predictable positions. Because the draws use rejection sampling, every character in the pool is equally likely, with no modulo bias.
What the options do
- Lowercase, uppercase, numbers, symbols: each adds its characters to the pool. Mixing all four gives a pool of 93 characters (26 + 26 + 10 + 31 symbols).
- Exclude ambiguous characters: removes characters that are easy to confuse when read or typed: i, l, o, I, L, O, the digit 0 and the bar |, along with a few punctuation marks that are easy to mistake or mis-enter. Useful when you must read a password aloud or type it from paper.
- Exclude brackets: removes the characters < > ( ) [ ] { }, which some systems and shells treat specially.
- No repeated characters: every character appears at most once. This slightly reduces entropy but is sometimes required by old policies.
Password entropy
Entropy measures how many guesses an attacker would need. For a password of length L drawn from a pool of N characters, with repeats allowed, there are NL possibilities, so:
With no repeats allowed, the choices shrink at each position, so the entropy is the sum of log2(N), log2(N-1), log2(N-2) and so on. On average an attacker must try about half of all possibilities, which is one bit less than the entropy figure suggests.
Worked example
A 16 character password using all four types has a pool of 93 characters. Its entropy is 16 × log2(93) = 16 × 6.539 = 104.6 bits, which means roughly 2105 possibilities. The default 10 character password, with ambiguous characters and brackets excluded, draws from 68 characters and has 10 × log2(68) = 60.9 bits. A 10 character password using only lowercase letters has 10 × log2(26) = 47.0 bits. Length helps more than complexity: adding one character to a 93 character pool adds 6.5 bits, while adding the symbol set to a lowercase pool of 26 adds only about 1.9 bits per position.
Strength guide
| Entropy | Label | Meaning |
|---|---|---|
| Under 36 bits | Very Weak | Falls to a quick guessing run |
| 36 to 47 bits | Weak | Only safe with strict lockouts |
| 48 to 59 bits | Good | Fine for low-value accounts |
| 60 to 119 bits | Strong | Resists offline attacks for years |
| 120 bits and up | Very Strong | Beyond any practical attack |
Using passwords safely
- Use a different password for every account, and keep them in a password manager.
- Prefer long random passwords. Sixteen characters or more is a good default.
- Turn on two-step verification wherever it is offered.
- Never build a password from names, dates, or words you use elsewhere.
- Excluding ambiguous characters is convenient but trims a little entropy, so add a few characters of length to compensate.
Why this is safe to use
Everything runs on your device. The page asks your browser for random numbers, builds the password locally and shows it to you. There is no server round trip, so no one else sees what you generate. Even so, treat the page like any other app: close the tab when you are done and avoid leaving generated passwords in screenshots or shared documents.
Choosing a length
For most online accounts, 12 to 16 random characters is a sensible minimum. For the master password of a password manager, a disk encryption key or a cryptocurrency wallet, go to 20 characters or more. If you have to memorize a password, a long passphrase of several unrelated words is easier to remember than a short string of symbols and can be just as strong. Use this generator for anything you can store in a manager, and keep the shorter, memorable secrets for the few places where you cannot.
What this tool does not do
A generator cannot protect you from phishing, from malware on your device or from a website that stores passwords badly. It also cannot check whether a password has leaked elsewhere, though a freshly generated random password is extraordinarily unlikely to appear in any breach list. Pair strong passwords with two-step verification for the best protection.