TapCub is live — analytics, insights and live chat, free on one platform

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.

Generator

1 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.

Generated passwords
••••••••••••••••
••••••••••••••••
••••••••••••••••
••••••••••••••••
••••••••••••••••

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 scenarioAverage 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
Generated and checked entirely in your browser with the Web Crypto API. Passwords are never uploaded, stored, put in the URL or included in analytics.

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

Read the result

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
Password generator illustration: Strong random passwords and passphrases made in your browser with the Web Crypto API, with entropy in bits and estimated time to crack
Password generator, illustrated

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.

How to use it

Three steps to a safe password

The generator does the random part; storing and using it well is up to you.

  1. 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. 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. 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.

Method

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
Entropy of common settings
SettingPoolEntropyFast-hash attack
8 characters, lowercase only2638 bitsSeconds
12 characters, letters and digits6271 bitsThousands of years
16 characters, all four types89103 bitsCenturies or more
20 characters, all four types89129 bitsCenturies or more
4-word passphrase1,024 words40 bitsAbout a minute
6-word passphrase1,024 words60 bitsAbout 2 years
Worked example

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.

Entropy calculation for the default settings
StepValueExplanation
Pool size26 + 26 + 10 + 27 = 89Upper, lower, digits and the 27 default symbols
Without the “each type” rule16 × log2(89) = 103.6 bitsEvery character is independent
With the “each type” rule103.4 bitsPasswords missing a type are excluded: about 16% of them, mostly ones without a digit
Guesses on average2102.4 ≈ 6.5 × 1030Half of all possibilities
At 10 billion guesses a secondAbout 2 × 1013 yearsA 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.

Common mistakes

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.

FAQ

Password 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.

Feedback

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.

Rate this tool

Please don’t include passwords or other sensitive information.

Only used to reply to this feedback.

Type, details and email are required.

We only use this to handle your feedback. See the privacy policy.

Feedback received

Thank you! We will read it and reply from hello@tapcub.com if needed.

Need help right now?

Chat with our support team, best for urgent problems; you can leave a message when we are offline.

Chat with support
Changelog

Update history

New features, fixes and data refreshes for this tool, newest first.

  1. · 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

Cite this tool

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.

URL
https://tapcub.com/tools/password-generator
HTML link
<a href="https://tapcub.com/tools/password-generator">Password generator - TapCub</a>
Next step

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.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics