Free tool
Password Generator
Strong random passwords and easy-to-type passphrases, made in your browser. We never see them.
Generated passwords
Strength: Very strong · About 103 bits of entropy
Generating…
Made in your browser with secure random numbers. Nothing is sent to us or stored.
This password generator makes strong random passwords and word-based passphrases using your browser's secure random number generator, and shows an entropy estimate so you can see how strong each one is. Everything happens on your device: nothing you generate is sent to our servers, stored or logged.
How long should a password be?
Longer beats cleverer. Each extra character multiplies the number of guesses an attacker needs, so length is the cheapest strength you can add. For an ordinary account, a random password of 16 characters is a comfortable default. For an email account, a bank or anything that can reset your other accounts, go to 20 or more.
The table shows the entropy, in bits, of random passwords that use lowercase, uppercase, digits and symbols together. Each added bit doubles the work needed to guess it.
| Random password | Approximate entropy | Good for |
|---|---|---|
| 8 characters | 52 bits | Nothing important: too short for most uses |
| 12 characters | 77 bits | Low-risk accounts that limit login attempts |
| 16 characters | 103 bits | Everyday accounts |
| 20 characters | 129 bits | Email, finance and anything that resets other accounts |
| 32 characters | 206 bits | Secrets that machines store, such as API keys |
Password or passphrase: which is better?
A passphrase is several random words joined together, like those you can generate above. It is longer than a typical password but much easier to read, type and remember, which makes it the right choice for the few secrets you must type from memory, such as the master password of a password manager or the login of a computer.
A random password packs more strength into fewer characters, so it suits everything a password manager types for you. The word list here has about 900 words, so each word adds close to 10 bits; the table shows how many words you need.
| Passphrase | Approximate entropy | Good for |
|---|---|---|
| 4 random words | 39 bits | Throwaway or rate-limited logins |
| 5 random words | 49 bits | Everyday accounts you type by hand |
| 6 random words | 59 bits | A computer or phone login |
| 7 random words | 69 bits | A password manager's master password |
| 8 random words | 79 bits | Encryption keys and long-lived secrets |
Words must be picked at random to count. A phrase you choose yourself, a quote or a line from a song is far weaker than its length suggests, because attackers guess those first.
Is it safe to generate a password on a web page?
It is safe when the page makes the password on your device and never sends it anywhere, and that is how this one works. The generator runs in your browser and draws its randomness from crypto.getRandomValues, the same secure source browsers use for encryption. A rejection-sampling step removes the small bias that a plain remainder calculation would add, so every character is equally likely.
No password is sent to our server, stored in your browser or written to a log, and the page as delivered to you contains none: the first one is made after the page loads. If you want proof, open your browser's network tab and press Generate; nothing is sent. You can also generate in a private window and close it afterwards.
What does the entropy number mean?
Entropy measures how unpredictable a password is, in bits. If a password has 60 bits, an attacker who does not know how it was made would on average have to try about two to the power of 59 guesses. It is an estimate that assumes the password was generated at random, which is why we show it for generated passwords and not for something you typed.
As a rule of thumb, anything under about 50 bits can fall to a determined attacker who has stolen a database of password hashes, while 80 bits and above is comfortable even then. Sites that lock you out after a few wrong tries make guessing online much harder, but you cannot count on every site to be careful with its stored hashes.
Why use a password manager?
Nobody can remember dozens of unique 16-character passwords, and reusing one password across sites is the most common way accounts get taken over: one breach exposes every account that shares it. A password manager, built into your browser or phone or a separate app, creates and remembers a different password for every site, so you only memorise one strong passphrase.
Copy a generated password straight into the manager when you create the account, and turn on two-step verification wherever it is offered. A strong, unique password plus a second step protects an account far better than either on its own.
How do I use a generated password safely?
- Use a different password for every account. Reuse is the risk this tool cannot fix for you.
- Paste it into your password manager or the sign-up form, then close the tab. Do not keep it in a text file, a chat or an email draft.
- Do not edit a generated password by hand to make it memorable; that removes the randomness. Use a passphrase when you need one you can remember.
- If a site rejects symbols or a long length, turn off symbols or shorten it, but keep it as long as the site allows.
- Signing up somewhere you do not fully trust? Pair the password with a free temp inbox so a spare address takes the confirmation mail, and test data for the other details.
Frequently asked questions
Is this password generator free?
Yes. It is free, needs no account and there is nothing to install.
Do you see or store the passwords I generate?
No. They are created in your browser and are never sent to our servers, saved or logged. The page itself contains no password when it loads.
How random is it?
It uses crypto.getRandomValues, the browser's cryptographically secure random number generator, with rejection sampling so no character is favoured. It does not use Math.random.
How long should my password be?
Sixteen random characters is a good default. Use 20 or more for email, banking and other accounts that can reset the rest, or a passphrase of six to eight words for what you must memorise.
What is a passphrase?
Several random words joined by a separator, for example five words with hyphens. It is long, easy to type and easy to remember, and it is strong because the words are chosen at random.
Why exclude look-alike characters?
Letters and digits such as I, l, 1, O and 0 are easy to confuse when you read a password aloud or type it from paper. Excluding them costs a little entropy and saves mistakes.
Can I use these passwords for my important accounts?
Yes, generated at 16 characters or more and kept in a password manager, they are a strong choice. Add two-step verification where you can.
Related
Signing up for something and need an address for the confirmation mail? A temp inbox is live in one click.