About Password Generator
Generate cryptographically-strong passwords using the browser's Web Crypto API. Adjust length, character classes, and exclude lookalike characters. The strength meter rates passwords using a zxcvbn-style heuristic — useful when designing a password policy or auditing a candidate.
- No uploads
- Browser-only
- Works offline
- 100% free
How it works
- 1
Pick a length
16+ characters is the modern minimum for high-value accounts.
- 2
Choose character sets
Lowercase, uppercase, digits, symbols. Exclude lookalikes (0/O, 1/l/I) for sites that print passwords.
- 3
Copy and store
Click Copy and paste into your password manager. Never reuse.
Length beats complexity — what the research actually says
The old advice — force an uppercase, a digit and a symbol — is out of date. Modern guidance (NIST SP 800-63B) drops mandatory composition rules and periodic forced resets, because both push people toward predictable patterns (Password1!, Password2!) without adding real resistance to cracking. What matters is entropy, and the cheapest way to buy entropy is length. A 16-character random password from a full character set is already beyond offline brute force; every extra character multiplies the attacker's work.
That's why this generator leads with length. Push it to 20+ for master passwords and wallet seeds, keep all character classes on, and let a password manager remember it so the length never inconveniences you.
Why these passwords are actually random
Randomness is the whole game, and most 'password generator' code gets it wrong by using Math.random(), which is not cryptographically secure and is predictable from a handful of outputs. This tool draws every character from crypto.getRandomValues, the browser's CSPRNG, with rejection sampling so the distribution is uniform (no modulo bias toward the start of the alphabet). The same primitive backs the secure token generator and the keys used by AES encryption.
Passphrases, lookalikes, and the reuse trap
- Passphrases (four or more random words) are easier to type on a TV or console and can carry entropy similar to a shorter random string — pick whichever you'll actually use without reusing it.
- Excluding lookalikes (0/O, 1/l/I) is for passwords a human retypes from a screen or printout; if it goes straight into a manager, leave them in for more entropy.
- The real risk isn't weak passwords, it's reused ones — one breached site exposes every account sharing that password. Generate a unique one per site and check exposure against a breach corpus (Have I Been Pwned) rather than trusting a meter alone.
- A strength meter (this one uses a zxcvbn-style heuristic) estimates guessability, not safety: a 'strong'-rated password you've used elsewhere is already compromised.
Generate locally, store properly
Because generation uses your browser's own crypto and the result never leaves the tab, there's no server that could log the password you just minted — the safest possible place to make a credential. The rule that completes the picture: put it straight into a password manager. Copying a generated password into a notes app or spreadsheet recreates the plaintext-storage problem the manager exists to solve. To gut-check an existing password instead of making one, use the password strength tester.
Related guides
All guidesDeveloper
JWT explained — anatomy, security pitfalls, and what to check in a token
Three base64url-encoded parts joined by dots. Most of the bugs aren't in the format — they're in how people verify it.
11 min read
Developer
AES-256-GCM encryption explained — what GCM mode actually buys you
AES is the cipher. GCM is the mode that makes it safe to use. Here's the difference, and why getting the nonce wrong is the bug that ends careers.
11 min read
Privacy
Password security in 2026 — what actually matters and what's mostly theatre
Length beats complexity. Don't rotate without a reason. Use a manager. Adopt passkeys when you can. Most other advice is folklore.
10 min read
Privacy
How to encrypt a file with a password (and share it safely)
Encrypting a file is easy. Getting the password to the other person without undoing the whole point is the part people get wrong.
7 min read
Frequently asked questions about Password Generator
Is the random number generator secure?
Yes — `crypto.getRandomValues` is a CSPRNG (cryptographically secure pseudo-random number generator) as required by the Web Crypto API spec. It's safe for password generation, key material, and security tokens.
How long should my password be?
16 characters with mixed classes is strong against offline cracking. 20+ for cryptocurrency wallets and master passwords. Use a password manager so length doesn't matter to you.
Privacy, offline use, browser support, and pricing questions are answered on the site-wide FAQ.