Free tool Password generator for strong random passwords
Pick a length and the characters a site allows, or switch to a passphrase of random words you can actually type. Every character comes from your browser’s cryptographic random number generator, the strength is shown in bits, and nothing you generate leaves this page.
- Web Crypto randomness
- Entropy and crack time
- Never leaves your browser
Generate a password
A new set is generated whenever you change an option or click “Generate again”. Copy what you need into your password manager.
Saved to My tools
Open the free tools page next time and it is right at the top under My tools (stored in this browser only).
You can also press Ctrl+D to bookmark this page in your browser.You can also press ⌘+D to bookmark this page in your browser.You can also tap your browser’s Share button (at the bottom in Safari) and choose Add Bookmark or Add to Home Screen.You can also open the ⋮ menu at the top right and tap ☆ to bookmark it, or choose Add to Home screen.You can also tap ··· at the top right and choose Favorite, or open it in your browser and bookmark it there.
View My tools1 to 50 at a time.
4 to 128 characters. 16 or more is a good default for accounts you keep in a password manager.
Edit this list when a site only accepts certain symbols. Spaces are ignored.
3 to 12. Six words from this list give about 60 bits.
Checked on this page only. It is not sent, stored or put in the address bar.
••••••••••••••••
••••••••••••••••
••••••••••••••••
••••••••••••••••
••••••••••••••••Strength
Very strong
≈ 103 bits
Entropy (bits)
103
Each extra bit doubles the guesses needed.
Length
16
Characters, or words for a passphrase.
Pool size
89
Characters to choose from, or words in the list.
Time to guess
Average time to find it by guessing, half of all possibilities.
| Attack scenario | Average time |
|---|---|
| Online, rate-limited (100 guesses an hour) | Centuries or more |
| Online, no rate limit (10 guesses a second) | Centuries or more |
| Stolen database, slow hash such as bcrypt (10,000 a second) | Centuries or more |
| Stolen database, fast hash such as MD5 (10 billion a second) | Centuries or more |
Notes
Done here? Try these next
Use this tool often? Save it to My tools.Saved to My tools. Find it any time at the top of the free tools page. You can also press Ctrl+D to bookmark this page in your browser.You can also press ⌘+D to bookmark this page in your browser.You can also tap your browser’s Share button (at the bottom in Safari) and choose Add Bookmark or Add to Home Screen.You can also open the ⋮ menu at the top right and tap ☆ to bookmark it, or choose Add to Home screen.You can also tap ··· at the top right and choose Favorite, or open it in your browser and bookmark it there.
Problem or suggestion?Send feedbackChat with support
Version v1.0Updated Update history
What the strength numbers mean
Strength is about how many guesses an attacker would need, which depends on how the password was made.
- Length, character sets, no look-alikes
- Passphrases from a 1,024-word list
- Strength checker for existing passwords

Entropy (bits)
The base-2 logarithm of the number of equally likely passwords this generator could have produced with your settings. 16 random characters from 89 symbols is about 103 bits; six words from a 1,024-word list is 60 bits.
Time to guess
Half the possibilities divided by a guessing speed. A website that limits attempts is slow to attack; a stolen database of fast MD5 hashes can be tested at billions of guesses a second on one graphics card.
Strength label
Under 28 bits very weak, 28–39 weak, 40–59 fair, 60–79 strong, 80 and above very strong. For an account protected only by its password, aim for 60 bits or more.
Passphrase vs random
A passphrase needs more characters for the same strength but is far easier to type and remember. Use random passwords inside a password manager and a passphrase for the few you must remember, such as the manager itself.
These numbers describe passwords made by this generator. For a password you chose yourself, use the strength checker: it looks for the patterns people actually use, which a simple length × character-set formula misses.
Three steps to a safe password
The generator does the random part; storing and using it well is up to you.
-
1
Match the site’s rules
Set the length to the maximum the site accepts (16+ is plenty), and trim the symbol list if it rejects some characters.
-
2
Copy it straight into a password manager
Paste into Bitwarden, 1Password, KeePass or your browser’s manager before you use it, so you never need to read or remember it.
-
3
Use a passphrase where you must type
For the manager’s master password, a Wi-Fi key or a disk password, switch to Passphrase and use six words or more.
How the passwords are generated
Each character is picked with crypto.getRandomValues, the browser’s cryptographically secure random number generator. Picking uses rejection sampling: a random 32-bit number above the largest multiple of the pool size is discarded and redrawn, so every character is exactly equally likely. Using Math.random or a plain remainder would make some characters slightly more common.
- Random password: entropy = length × log2(pool size)
- With “at least one of each type”, possible passwords are counted exactly by inclusion–exclusion
- Passphrase: entropy = words × log2(1,024) = 10 bits per word, plus log2(10 × words) for the added digit
- Capitalising words and the separator add no entropy: an attacker tries those first
- Nothing is generated at build time; the page source only contains placeholder dots
| Setting | Pool | Entropy | Fast-hash attack |
|---|---|---|---|
| 8 characters, lowercase only | 26 | 38 bits | Seconds |
| 12 characters, letters and digits | 62 | 71 bits | Thousands of years |
| 16 characters, all four types | 89 | 103 bits | Centuries or more |
| 20 characters, all four types | 89 | 129 bits | Centuries or more |
| 4-word passphrase | 1,024 words | 40 bits | About a minute |
| 6-word passphrase | 1,024 words | 60 bits | About 2 years |
The entropy of a 16-character password
With the default settings (16 characters, all four types, at least one of each), here is where the number comes from.
| Step | Value | Explanation |
|---|---|---|
| Pool size | 26 + 26 + 10 + 27 = 89 | Upper, lower, digits and the 27 default symbols |
| Without the “each type” rule | 16 × log2(89) = 103.6 bits | Every character is independent |
| With the “each type” rule | 103.4 bits | Passwords missing a type are excluded: about 16% of them, mostly ones without a digit |
| Guesses on average | 2102.4 ≈ 6.5 × 1030 | Half of all possibilities |
| At 10 billion guesses a second | About 2 × 1013 years | A fast hash attacked with GPUs |
Turning on “Avoid look-alike characters” removes 6 characters from the pool (83 left), which costs about 1.6 bits at this length: barely noticeable, so use it whenever a password has to be read aloud or typed.
What makes a strong password weak
Most stolen accounts are not cracked by brute force; the password was reused, leaked or predictable.
Reusing a password
One site leaks, and attackers try the same email and password everywhere. A unique password per account stops that.
Editing a generated password
Swapping a few characters for something memorable puts predictable patterns back in. Generate a new one instead.
Words, names and years
Summer2024!, a pet’s name with 123, a birthday: these are in every cracking list, whatever symbols you add.
Sending it in chat or email
Passwords in messages stay in inboxes and backups. Share through a password manager or a one-time secret link.
Security that does not depend on one password
TapCub keeps sensitive data protected at rest and lets you limit what each team member can see.
Masking by role
Sensitive values can be hidden or partially shown depending on who is looking; phone numbers and emails on a profile can be encrypted before storage.
Learn moreCookieless visitor ID
Visitors are told apart by a keyed hash of the site, a salt, the IP address and the browser type. Nothing is written to the browser and the IP is never stored.
Learn moreCompliance centre
Set retention, and look up, export or delete everything about one person.
Learn morePassword generator questions
Still have a question?
Chat with the team behind TapCub — we usually reply within a few hours on business days.
Is this password generator safe to use?
Passwords are created in your browser with crypto.getRandomValues, the same cryptographic generator password managers use. Nothing is sent over the network, stored, put in the address bar or recorded by analytics. You can disconnect from the internet after the page loads and it still works.
How long should a password be?
For accounts stored in a password manager, 16 random characters or more. Current NIST guidance (SP 800-63B) asks sites to allow at least 64 characters and puts length ahead of complexity rules. For passwords you must remember, use a passphrase of 6 or more random words.
What is password entropy?
A measure of how many guesses a password needs, in bits: n bits means 2n equally likely possibilities. It only applies when the password is chosen randomly, as here. A password you made up has much less entropy than its length suggests because people pick predictable patterns.
Are passphrases better than random passwords?
Per character they are weaker, per unit of effort to remember they are much stronger. Six random words from this 1,024-word list give 60 bits, similar to a 10-character random password, and are far easier to type on a phone or TV.
Why exclude ambiguous characters?
I, l, 1 and | look alike in many fonts, as do O, 0 and o. If you will read the password aloud, copy it by hand or type it on a TV, leaving them out avoids mistakes and costs very little strength.
Why does “at least one of each type” lower the entropy?
It rules out the passwords that happen to miss a type, so there are slightly fewer possibilities. For 16 characters with all four types the difference is about 0.25 bits. The generator draws whole passwords and discards those that miss a type, so the remaining ones are still equally likely.
Can I check the strength of my current password here?
Yes, switch the type to “Check a password’s strength” or open the password strength checker. The check also runs entirely in your browser.
Is this tool working for you?
Rate it, or tell us what went wrong and what you’d like improved. A person reads every message, and frequent requests go into the next update.
Need help right now?
Chat with our support team, best for urgent problems; you can leave a message when we are offline.
Chat with supportUpdate history
New features, fixes and data refreshes for this tool, newest first.
-
· v1.0
LaunchedFirst release.
Missing something or found an error? Tell us — requests that come up often go into the next update. All tool updates
Recommend this tool in an article or on your site
This tool is free to cite and share. Copy the URL or link below into your article, tutorial or resource page; to write a review, embed a tool or partner with us, get in touch.
https://tapcub.com/tools/password-generator<a href="https://tapcub.com/tools/password-generator">Password generator - TapCub</a>Protect the data behind the login
A strong password protects the account. TapCub also encrypts contact details at rest and masks sensitive values by role.