Password Generator
Generate strong passwords with Web Crypto and a strength meter.
Recommended tools
Affiliate links — we may earn a commission if you sign up.
About the Password Generator
The Password Generator creates cryptographically secure random passwords using the Web Crypto API (window.crypto.getRandomValues), not Math.random(). You control the length (4–128 characters), character sets (uppercase, lowercase, numbers, symbols), and whether to exclude ambiguous characters like l, 1, I, O, 0. Every password is generated locally in your browser and never transmitted, stored, or logged — making this safe for generating bank passwords, root account credentials, and API secrets. A real-time strength meter shows the entropy in bits and the estimated crack time so you can choose a length that matches your threat model.
Examples
Length: 16, all character sets, exclude ambiguous
K7$mP9!nQ2vR8xW3
Length: 8, numbers + uppercase only
7K3M9Q2P
Length: 32, all sets
a8$Km2!nQ7vR#9xW3pL5@jH8&fT0
How to use
- 1
Adjust the length slider (4–128 characters). The strength meter updates live as you drag.
- 2
Toggle the character sets you want to include: uppercase (A–Z), lowercase (a–z), numbers (0–9), and symbols (!@#$%^&*…).
- 3
Optionally enable "Exclude ambiguous characters" to remove look-alikes (l, 1, I, O, 0) — useful when passwords will be read aloud or handwritten.
- 4
Click Generate (or press the spacebar) to create a new password. The strength meter shows the entropy in bits and the estimated time to crack.
- 5
Click Copy to copy the password to your clipboard. The clipboard is automatically cleared after 30 seconds for safety (where supported by the browser).
Common use cases
- Generating a strong master password for your password manager (use 20+ characters).
- Creating unique passwords for each online account to prevent credential-stuffing attacks.
- Generating API keys and shared secrets for service-to-service authentication.
- Creating temporary passwords for new employees or account resets.
- Generating a strong password for Wi-Fi networks (use 16+ characters; symbols are fine).
Tips
- Aim for the "green" strength tier — that’s ~80+ bits of entropy, which is infeasible to brute-force.
- Store every generated password in a password manager immediately. A strong password you forget is useless.
- If a website limits password length (many cap at 20–32 chars), use the maximum they allow with all character sets enabled.
- Some websites reject certain symbols (like < > or "). If a generated password is rejected, regenerate with symbols disabled or use a different site.
- Never reuse a generated password. Generate a new one for every account — that’s the whole point of using a generator.
Frequently asked questions
Explore more security tools
Browse the full collection of security tools on the hub, or jump back to all categories.