Password Generator
Generate cryptographically secure passwords in seconds. Control length, character types, and ambiguous characters — see the strength and entropy update instantly. Runs entirely in your browser; nothing is ever sent to a server.
This tool generates strong random passwords in your browser using the Web Crypto API rather than predictable pseudo-random numbers. Set the length and choose which character sets to include, and a strength indicator shows the result. Generated passwords are never transmitted, logged or stored.
Password Length
Character Types
Options
Generated Password
16
Length
—
Pool size
—
Entropy (bits)
About this tool
A professional password generator that uses the browser's Web Cryptography API (crypto.getRandomValues) for true randomness — the same source used by password managers and security software. Every password meets all the selected criteria by design: if you enable three character types, the result is guaranteed to contain at least one character from each type before filling the remaining positions randomly.
The strength meter calculates Shannon entropy (bits of randomness), which is a mathematically rigorous measure of how long a brute-force attack would take. The three stat cards show the current password length, the size of the active character pool, and the resulting entropy in bits — giving you a complete picture of your password's security. All processing happens client-side; your passwords are never transmitted anywhere.
How to use
Set the length
Drag the slider or click a preset chip (8, 12, 16, 24, 32) to choose how many characters your password should have.
Choose character types
Toggle uppercase letters, lowercase letters, numbers, and symbols on or off. The password updates instantly with every change.
Optionally exclude ambiguous characters
Enable this if you need to type or share the password by hand. It removes visually similar characters like O, 0, I, l, and 1.
Copy or regenerate
Click "Copy" to copy to clipboard, or "Generate New Password" for a fresh one. The strength and entropy scores update automatically.
At a glance
- Randomness
- crypto.getRandomValues() — a cryptographically secure source, not Math.random()
- Why that matters
- Math.random() is predictable from prior output and must never generate a credential
- Options
- Length, plus which character sets to include
- Strength meter
- Shown for the generated password
- Storage
- None. Generated passwords are never transmitted, logged or saved
Sources & references
- MDN — Crypto.getRandomValues() — The cryptographically secure source used to generate passwords
- NIST SP 800-63B — Digital Identity Guidelines — Current guidance on password length, composition and rotation
Related tools
Frequently asked questions
Common questions about password security, entropy, and how this generator works.
Last updated
