Password Generator

Generate strong, secure random passwords instantly.

16
664
password(s)

About Password Generator

All passwords are generated locally in your browser using the crypto.getRandomValues() API — a cryptographically secure random number generator. Your passwords are never sent to any server, never logged, and never seen by anyone except you.

What makes a strong password?

  • Length — the single most important factor. Every additional character multiplies the number of possible combinations. Use at least 16 characters for important accounts.
  • Character variety — mixing uppercase letters, lowercase letters, numbers, and symbols increases the character set size, making brute-force attacks harder.
  • Randomness — avoid predictable patterns like words, birth years, or keyboard walks (e.g. “qwerty123”). This generator uses cryptographic randomness to avoid all such patterns.
  • Uniqueness — use a different password for every account. A password manager (Bitwarden, 1Password, etc.) can store them all so you only need to remember one master password.

Password strength guide

A 12-character password with all character types has roughly 95¹² ≈ 540 trillion possible combinations. A 16-character password has 95¹⁶ ≈ 45 quadrillion. Against modern hardware, 16+ characters with mixed types is considered strong for most purposes.

About the Password Generator

A password generator produces random strings suitable for use as passwords or passphrases. Random passwords avoid the weaknesses of human-chosen passwords — predictable patterns, dictionary words, names, dates — which together make up the majority of compromises in credential-stuffing attacks. A modern strong password is one that is sufficiently long and drawn from a sufficiently large character set that brute-forcing it is computationally infeasible.

This generator uses the browser's cryptographically secure random number generator (window.crypto.getRandomValues) — not the predictable Math.random. You can choose length and character classes (lowercase, uppercase, digits, symbols). The result is generated entirely in your browser and never transmitted.

How long should a password actually be?

Modern guidance from NIST, OWASP, and Microsoft converges on length over complexity. A 16-character random password drawn from upper/lower/digits is far stronger than an 8-character one with symbols. For passwords protecting valuable accounts, aim for at least 16 characters generated from a mixed character set. For passphrases (sequences of random words), four to six unrelated words from a large dictionary gives equivalent entropy and is much easier to remember.

Use a password manager

The strongest password in the world is useless if you reuse it across sites or write it on a sticky note. A reputable password manager (1Password, Bitwarden, KeePass, browser-built-in managers) generates unique random passwords for every site, stores them encrypted, and autofills them. With a manager, every site can have a strong, unique password without you remembering any of them.

How to use the Password Generator

  1. Choose length

    16+ for routine accounts, 24+ for high-value (email, banking, password manager master).

  2. Choose character classes

    At least three classes (upper, lower, digits) is the typical minimum. Add symbols for additional entropy.

  3. Generate

    Click generate to produce a fresh password. Each click produces an independent, cryptographically random string.

  4. Store immediately

    Paste into your password manager. Do not write the result anywhere insecure.

Worked examples

Example 1

Input: 16 chars, all classes

Result: k!7Tn$pQwL#aR2vM

A typical strong password for a non-critical account.

Example 2

Input: 24 chars, all classes

Result: D8#vK!nQ7w$pL2aR@Tm5xJyN

Recommended length for valuable accounts.

Real-world use cases

  • Generating a unique password for a new account.
  • Rotating a compromised password after a service breach.
  • Creating an initial admin password for a new system.
  • Producing strong API keys, tokens, or one-time secrets.
  • Replacing memorised reused passwords across multiple sites.

Tips & common mistakes

  • Never reuse passwords across sites. A breach at one becomes a breach at all.
  • Use a password manager. Memorising 50 strong unique passwords is impossible without one.
  • Enable two-factor authentication wherever offered — it protects you even if the password leaks.
  • Avoid symbols in passwords for systems with arbitrary character restrictions (some old corporate apps). Length compensates.

Frequently asked questions

Is the password really random?

Yes — generated using window.crypto.getRandomValues, the browser's cryptographically secure RNG. The output is unpredictable and uniformly distributed.

Is the generated password stored anywhere?

No. It exists only in your browser until you save it into a password manager. Refreshing the page discards it.

Are symbols safer than just letters and digits?

They add a small amount of entropy per character, but length matters far more. 20 characters of letters and digits beats 12 characters with symbols.

How do I remember strong passwords?

You don't — use a password manager. Memorise one strong master passphrase; let the manager handle the rest.

Related tools

Last updated: June 2026 · All processing happens locally in your browser.