SimplyCalculated.org

Password Generator

Create strong, random passwords of any length with exactly the character mix you want — generated cryptographically in your browser, never stored, never sent anywhere.

100% private: everything is processed in your browser's memory — nothing you enter is uploaded to a server, logged, or stored.

Password Generator

1 16 64
Character Types

Generated with the browser's cryptographically secure random number generator — no server involved, nothing stored. For important accounts, use a password manager and a unique password per site.

Generated Password

Estimated Strength

Very strong 105 bits

What Makes a Password Strong?

A password's strength is not about how complicated it looks — it is about how many guesses an attacker would need to try before finding it. That quantity is called entropy, and it is measured in bits. Every bit doubles the number of possibilities: a password with 40 bits of entropy has 240 possible values, one with 80 bits has 280. For a password that is generated randomly, entropy is simply the length multiplied by the logarithm (base 2) of the pool of characters it draws from:

Entropy (bits) = Length × log₂(Character pool size)

Classes Used Pool Size Bits per Character
Digits only103.32
Lowercase only264.70
Lower + upper525.70
Lower + upper + digits625.95
All four classes946.55

Two consequences follow directly. First, length is the lever that matters most — each extra character multiplies the possibilities by the whole pool, so going from 12 to 16 characters adds about 26 bits. Second, character variety gives a smaller but real boost, which is why this tool lets you choose which classes to include.

How the Randomness Is Produced

The generator draws every character from crypto.getRandomValues, the browser's cryptographically secure random number generator. This matters for two reasons. The first is quality: the values come from OS-level entropy and are unpredictable in both directions — you cannot guess the next output, and you cannot infer anything about the generator from past outputs. The second is bias: a naive generator that maps a random byte to an index with a remainder leaves the last few characters of the alphabet slightly more likely to appear. This tool uses rejection sampling — generating a fresh byte until it falls in a clean multiple of the alphabet size — so every character is exactly equally likely, and each generated password is truly uniform across all possibilities of its length and classes.

Guaranteed Character Mix

Many sites still enforce the classic rule: "must include an uppercase letter, a number, and a symbol." Random passwords rarely satisfy that by pure chance, so this generator reserves one slot for each enabled class before filling the rest of the length randomly, then shuffles the result so the guaranteed characters are not predictably at the front. The outcome is a password that is fully random and still passes every legacy requirement — no re-rolling until one happens to comply.

Interpreting the Strength Meter

The meter next to your password shows its estimated entropy and a rough label. The scale is conventional for offline brute-force resistance:

Entropy Label Perspective
< 40 bitsWeakCrackable in seconds to minutes on ordinary hardware
40–60 bitsFairFine for low-value, rate-limited accounts
60–80 bitsStrongResistant to large offline cracking efforts
> 80 bitsVery strongBeyond practical brute force even for nation-state budgets

For a randomly generated password this estimate is exact — the math is not an approximation the way it is for human-chosen passwords, which cluster around dictionary words and patterns no formula can capture. A 16-character all-class password lands at about 105 bits, comfortably in the "very strong" range.

Step-by-Step: Generating a Strong Password

  1. Set the length to 16 — the default, and a good balance of strength and typability.
  2. Keep all four character classes enabled, or drop a class if your target site forbids symbols.
  3. Click Generate Password — the tool produces a fresh random password and shows its entropy (about 105 bits at 16 characters with all classes).
  4. Copy it into your password manager and store it under the site's name. The password never touches the URL, so nothing leaks into browsing history.

Reference: Password Length vs. Entropy

Length All Classes (94) Lower + Upper (52) Digits (10)
852 bits46 bits27 bits
1279 bits68 bits40 bits
16105 bits91 bits53 bits
20131 bits114 bits66 bits
24157 bits137 bits80 bits

Best Practices & Practical Tips

Use a Password Manager

The most secure password is one you never have to remember. A password manager generates, stores, and autofills a unique random password for every site — you remember one strong master password instead. This tool is designed to feed that workflow: generate here, save there. Managers also defend against phishing, because they refuse to autofill on lookalike domains.

Never Reuse Passwords

Credential-stuffing attacks work because people reuse passwords. When one site leaks its database, attackers immediately try the same email and password on banks, email, and social media. A unique password per site means a breach at one service stays at that service.

Enable Two-Factor Authentication

A strong password protects against guessing; two-factor authentication protects against everything else — stolen databases, keyloggers, phishing. Even a 105-bit password is easier to steal than to crack, so pair long random passwords with TOTP authenticator apps (or passkeys where supported) on every account that offers them.

Common Mistakes to Avoid

  • Using a memorable word or pattern instead of a random string — dictionary attacks break these instantly.
  • Reusing one strong password across sites — one breach compromises them all.
  • Trusting a site's colored "password strength" meter over the actual entropy math.
  • Storing passwords in a plain-text notes file or spreadsheet instead of a password manager.
  • Letting a generator use Math.random — it is fast but predictable enough to be a real weakness.

Frequently Asked Questions

How does this password generator get its randomness?
From the browser's cryptographically secure random number generator — crypto.getRandomValues — the same source browsers use for TLS keys and session tokens. It is seeded from OS-level entropy, so the next password cannot be predicted from any previous one, and no copy is ever sent to a server. Math.random, which is not secure enough for passwords, is never used.
How long should my password be?
Longer beats cleverer. A 16-character password with all four character classes has about 105 bits of entropy — well above the 80-bit threshold where cracking becomes impractical even for large-scale attacks. NIST now recommends against forcing complex character requirements, but a length of at least 12–16 characters is the single strongest thing you can do. If a site limits you to 12, use 12 with all classes enabled.
Why do you guarantee at least one of each character type?
Many services still require an uppercase letter, a digit, and a symbol, even though password-strength research says length matters more. By reserving one slot per enabled class, every generated password satisfies those legacy rules while the rest of the characters are random. If your site has no such rule, you can drop a class — the remaining password is no weaker for it.
What do the strength meter and bit count mean?
Entropy measures unpredictability: the number of bits is length × log₂(pool size), where the pool is the character classes actually present. A 16-character all-class password scores ~105 bits. The labels are rough ranges — under 40 bits is weak (crackable in seconds on ordinary hardware), 40–60 fair, 60–80 strong, and over 80 very strong. For a random password, this estimate is accurate; the same math does not apply to human-chosen passwords, which are never truly random.
Is it safe to use a generated password on multiple sites?
No — reuse is the single biggest password risk there is. If one site is breached, attackers try the same email and password everywhere else. This generator is best used as one half of a password-manager workflow: generate a unique random password per site and let the manager store and autofill them. A password manager also protects you from phishing, because it won't offer to fill a lookalike domain.
Should I include symbols, or are they a pain to type?
Symbols add entropy — roughly 5 more bits per character than letters alone — which matters most for shorter passwords. The trade-off is typability, especially on mobile. A good middle ground is keeping symbols for the sites that accept them and relying on a 20+ character length if you prefer symbols off. Some legacy systems choke on certain characters, which is why the classes are independent toggles.
Are passwords generated on this page stored anywhere?
No. Generation runs entirely in your browser tab: the password is written to the page, and the moment you navigate away it is gone. Nothing is logged, uploaded, or persisted — not in a database, not in a cookie, not in the URL. Treat the on-screen copy like any other secret: clear it before walking away from a shared machine.

Formula last verified August 22, 2026 against our published methodology .