Generator
Password generator
Set a length and character sets for a random password, or choose three to ten words for a passphrase. The generator draws from the browser's cryptographic random number generator, shows an entropy estimate in bits, and sends nothing to a server.
The tool
Made in your browser with the cryptographic random number generator (crypto.getRandomValues). Nothing is sent, logged or stored. The strength figure is the entropy of the method, in bits.
How to use it
- Choose whether to generate a password or a passphrase.
- For a password, set the length from 8 to 64 characters.
- Select the character sets, and exclude look-alike characters if you need to.
- For a passphrase, choose from 3 to 10 words.
- Copy the result with one click and check its entropy estimate.
How the random choices are made
The generator draws each character or word with the browser's cryptographic random number generator, through the crypto.getRandomValues function. That function is designed for security uses. Math.random, by contrast, is not designed for security uses. Because each draw is independent of the ones before it, a password's strength comes from its length and the size of the set it draws from, not from any pattern in its text. Pressing the generator again produces a new password, so you can try again until the result suits the rules of the site.
The entropy estimate is measured in bits. For a random password, entropy equals the length multiplied by the base-2 logarithm of the number of characters to choose from. A 16-character password drawn from 62 letters and digits has about 95 bits, since 16 times log2 of 62 is about 95. Each word in a passphrase drawn from a 512-word list adds 9 bits, because 512 is 2 to the power of 9. More bits mean more possible passwords for an attacker to try. The entropy figure applies to a password of that length and set, so changing either one changes the figure.
Character sets, look-alikes and what is kept
Lowercase letters, uppercase letters, digits and symbols can be combined in one password. Lowercase, uppercase and digits together give 62 characters, and symbols widen the set further. Excluding look-alike characters removes ones that are easy to confuse on screen, such as 0 and O, or 1, l and I. A smaller set lowers the entropy a little, so the exclusion trades some strength for easier reading. Excluding look-alike characters is optional, so the full set stays available when readability does not matter.
Nothing the generator creates is sent to a server or stored by the page. Copy a password once, store it in a password manager, and enter it where the site asks for it. A password you cannot find later is of no use, so keep the manager's own recovery method somewhere safe. Keep generated passwords in a password manager rather than in plain notes, and copy each one only into the field that needs it. Use the manager's own generator as well if it offers one, since the result is then stored in the same place.
Articles that go with this tool
All articles- Guides · 5 min readHow to choose a password manager: vaults, free plans, recoveryChoose a password manager by vault type, free plan limits, open-source code, passkeys and recovery. Compare Bitwarden, 1Password, Proton Pass and KeePassXC.
- Explainers · 5 min readTwo-factor authentication explained: factor types and setupTwo-factor authentication adds a second proof of identity to your password. Compare SMS, app codes, security keys and passkeys, and keep recovery codes safe.
- Explainers · 6 min readWhat is a passkey? How it replaces your passwordA passkey replaces a password with a key pair held on your device. Learn how passkeys resist phishing, sync between devices and recover if you lose one.
Questions about the password generator
- How long should a generated password be?
- The generator accepts lengths from 8 to 64 characters. Each added character multiplies the number of possible passwords by the size of the character set, so longer passwords carry more entropy.
- What is a passphrase?
- A passphrase is a string of words, here three to ten words chosen from a built-in list of 512 words and joined with a separator. Each word adds 9 bits of entropy.
- Does the password generator store or send what it creates?
- No. The generator runs in your browser, and nothing it creates is sent to a server or stored by the page.
- Does excluding look-alike characters weaken a password?
- It makes the character set slightly smaller, which lowers the entropy a little. The benefit is that the password is easier to read and type correctly from a screen.
- Where should I keep a generated password?
- A password manager can store it, so you do not have to memorize it. The password manager ranking compares the options.
More tools
All tools- FinderSoftware finderThe software finder searches the products in the rankings on this site. Choose a kind, category, platform and price rule, and each result shows its best rank. The results are server-rendered, so the form works without JavaScript.
- FinderAlternatives finderType the name of a product you already use, and the finder lists the other products from the same rankings in ranked order. Free-only and open-source-only filters narrow the list, and links lead to the product's full alternatives page and to comparison pages.
- BuilderSoftware stack builderPick a role and the builder lists the top-ranked product for each job the role usually has, such as notes, tasks, invoicing and a password manager. Each pick links to its ranking, and a switch limits the picks to products that are free to use.







