Create strong, random passwords on your own device, choose the length and character types, and see how strong each password is.
Passwords are created on your device with your browser's cryptographically secure random number generator. They are never sent anywhere or stored.
The password generator creates strong, random passwords on your own device, using your browser’s cryptographically secure random number generator. A 16-character password using uppercase and lowercase letters, numbers and symbols draws from 87 possible characters and carries about 103 bits of entropy, far more than any computer could guess by trying every combination. Choose the length and character types you need, generate up to 10 passwords at once and copy the one you like.
Nothing you generate is sent over the internet or saved. The passwords exist only on your screen until you copy them into your password manager or account settings.
A password’s strength depends on how many guesses an attacker would need. That’s measured in bits of entropy. Each extra bit doubles the number of possible passwords.
Entropy = length × log₂(number of possible characters)
Length matters more than complexity. For a 16-character password of letters and numbers, adding all the symbols raises the entropy from about 95 to 103 bits, while adding just two more letters or numbers raises it to about 107 bits. That’s why security guidance from organisations such as the US National Institute of Standards and Technology (NIST) and the UK National Cyber Security Centre focuses on long passwords and passphrases rather than complicated rules.
| Entropy | Rating | Suitable for |
|---|---|---|
| Under 40 bits | Weak | Low-value or temporary use only |
| 40 to 59 bits | Fair | Accounts with extra protection such as lockouts |
| 60 to 79 bits | Strong | Most online accounts |
| 80 bits or more | Very strong | Email, banking, work and master passwords |
These figures assume the password is truly random, as it is here. A password you invent yourself, such as a word with a number and symbol added, has far less real entropy than its length suggests, because attackers try common patterns first.
The time depends on how fast an attacker can guess. Websites usually limit login attempts, so online guessing is slow. The real danger is an offline attack, where criminals steal a database of hashed passwords and test guesses on powerful hardware. Against a weak hashing method, a well-equipped attacker might try around a trillion guesses per second. At that speed, the time to try every possible random password is roughly:
| Entropy | Example | Time to try every combination |
|---|---|---|
| 27 bits | 8 random digits | A fraction of a millisecond |
| 40 bits | 7 random letters and digits | A few seconds |
| 60 bits | 10 random letters and digits | About 13 days |
| 71 bits | 12 random letters and digits | About 75 years |
| 80 bits | 13 to 14 random letters and digits | About 38,000 years |
| 103 bits | 16 random characters with symbols | Hundreds of billions of years |
On average, an attacker finds a password after searching half the possibilities, so the typical time is about half these figures. Websites that store passwords with slow, modern hashing methods make every guess far more expensive, but you can’t tell how a site stores your password, so it’s safest to assume the worst and choose a long random one.
People are bad at being random. We choose words, names, dates and keyboard patterns, and we make predictable substitutions such as replacing “a” with “@”. Password-cracking tools are built around these habits and around lists of billions of real leaked passwords. A generated password avoids every pattern.
This generator uses crypto.getRandomValues, the browser’s cryptographically secure source of randomness, rather than an ordinary random function. It also uses rejection sampling, so every character in the pool is exactly as likely as every other, with no bias towards particular letters. After making sure each selected character type appears at least once, it shuffles the whole password so those characters don’t always sit in the same positions.
Some passwords have to be typed by hand, for example on a smart TV, a games console or a Wi-Fi network. For these, tick Avoid look-alike characters, consider leaving out symbols, and make the password longer to keep its strength. A 20-character password of letters and numbers has about 119 bits of entropy, more than a 16-character password with symbols.
Another option for passwords you need to remember is a passphrase of four or more random, unrelated words. A random choice of words is the key: a phrase from a song or a book is easy to guess.
Many services now offer passkeys, which let you sign in with your phone, computer or a security key using a fingerprint, face scan or device PIN. A passkey can’t be guessed, reused or typed into a fake website, so it’s a good choice wherever it’s available. Most people will still need passwords for years to come, though, and a strong random password stored in a password manager remains the best option for any account that doesn’t support passkeys.
Some sites limit length or reject certain symbols. If a generated password is refused, untick Symbols or shorten the length to the site’s maximum, and generate again. If a site sets a very short maximum length, such as 12 characters, use the full length allowed and enable two-factor authentication if it’s offered.
It’s safe when the password is generated on your device and never transmitted, which is how this tool works. The code runs entirely in your browser, makes no network requests with your passwords and keeps no record of them. Once you close or refresh the page, the generated passwords are gone. For extra peace of mind, you can generate a password, copy it straight into your password manager, and never write it down anywhere else.
For related questions, use the Base64 encode decode tool to encode text to Base64 or decode it back, or the bandwidth calculator to work out download times and the speed you need.
At least 12 characters, and 16 or more for important accounts. Longer random passwords are much harder to crack.
Yes. They use your browser's cryptographically secure random number generator, and every character in the pool is equally likely.
With this tool, yes. Passwords are created in your browser and are never sent to a server or stored.
A measure of how unpredictable a password is, in bits. Each extra bit doubles the number of guesses an attacker would need.
Symbols add strength, but length adds more. If a site rejects symbols, untick them and make the password a few characters longer.
With letters, numbers and symbols from this generator, about 103 bits of entropy, which is far beyond what brute-force attacks can reach.
Characters that are easy to confuse, such as capital I, lowercase l and the number 1, or capital O and zero. Removing them makes passwords easier to read and type.
Use a password manager to store it. For the few passwords you must remember, a passphrase of four or more random words is easier to recall.
Current guidance says no, unless there's a reason such as a data breach. Use a unique, strong password for each account instead.
Yes. Choose how many passwords you want, up to 10, and copy the one you prefer.