Password generator
Random passwords made in your browser, never sent anywhere
Choose the length and the kinds of character, then press the button. The bits of entropy are worked out below.
Press Make a password.
The arithmetic
How the password is made
The page joins the kinds of character you tick into one set. The symbols are the 32 printable ASCII symbols, such as ! # $ % and ~. It then draws each character on its own from that set with your browser's crypto.getRandomValues, with values that would favor some characters thrown away and drawn again. If "At least one of each kind" is ticked and a password misses a kind, the whole password is thrown away and drawn again, which keeps every allowed password equally likely.
The password is made in your browser. It is never sent anywhere, never saved, and there is no list of past passwords on this page. Reloading the page clears it.
The arithmetic, and what it means
The page shows the size of the character set and the bits of entropy: the length times log2 of the set size, less a small amount when one of each kind is required. Each extra bit doubles the number of possible passwords. The figure is only arithmetic. It assumes an attacker knows your settings and has to guess, and it says nothing about how a website stores your password, whether it leaks, or whether you reuse it.
Look-alikes and symbols
"Leave out look-alikes" removes I, l, 1, |, O, 0 and o, which are easy to misread when you type a password from paper. It makes the set smaller, so the bits go down slightly. Some sites refuse certain symbols; if one does, untick Symbols and add a few characters of length instead.
Good habits
- Use a different password for every account.
- A password manager can store long passwords so you do not have to remember them.
- Turn on two-step sign-in where it is offered.