Password Generator
Choose a length and character types to get a strong random password instantly. Passwords are created on your device and never stored.
Everything you enter is processed in your browser and is never sent to or stored on a server.
What is a password generator?
Passwords people come up with are often easy to guess, like birthdays or words. This tool uses your browser's cryptographically secure random generator (the crypto API) and makes sure every character type you choose appears at least once. Use a different password for every site and keep them in a password manager.
Strength by length and character set
The strength of a random password is length × log₂(number of possible characters) bits. This tool draws from 26 uppercase letters, 26 lowercase letters, 10 digits and 27 symbols. As the table shows, adding length raises strength faster than adding character types.
| Characters used | 8 chars | 12 chars | 16 chars | 20 chars |
|---|---|---|---|---|
| Digits only (10) | 27 bits | 40 bits | 53 bits | 66 bits |
| Lowercase only (26) | 38 bits | 56 bits | 75 bits | 94 bits |
| Upper + lower + digits (62) | 48 bits | 71 bits | 95 bits | 119 bits |
| All four types (89) | 52 bits | 78 bits | 104 bits | 130 bits |
Habits that keep passwords safe
- Use a different password for every site. If one site is breached, accounts sharing that password are at risk too.
- Store passwords you cannot remember in your browser or a dedicated password manager.
- Turn on two-step verification (text code, authenticator app or security key) for important accounts.
- Change a password right away if you hear about a breach or see a sign-in you do not recognise.
When you have to remember it
For passwords you must type from memory, such as your computer login or your password manager's master password, joining four or five unrelated words works well. Adding digits or symbols between the words makes it stronger. Avoid well-known phrases such as song lyrics, proverbs or names.
How to use
- Choose the length and character types. A new password is created whenever you change a setting.
- Check the strength. Press Generate new or pick one of the other options below if you want a different one.
- Press Copy, paste it where you need it, and save it in your password manager.
Frequently asked questions
Are generated passwords stored or sent anywhere?
No. Passwords are created on your device and are never sent to a server or saved. They disappear when you close the page.
How long should a password be?
With all four character types, use at least 12 characters, and 16 or more when possible. Adding length makes a password much safer than adding character types.
What do the bits in the strength mean?
They express how many guesses a random attack would need, as a power of 2. At 80 bits or more, brute-forcing is effectively impossible with current technology.