What is the Password Generator?
A strong password is long and truly random. People are bad at inventing randomness. We reuse words, birthdays and patterns like Summer2025!, and password crackers try exactly those first. This generator uses crypto.getRandomValues, the cryptographically secure generator built into your browser. It uses rejection sampling, so every character is equally likely.
The strength meter shows entropy in bits: length × log₂(number of possible characters). Each extra bit doubles the number of guesses an attacker needs. Aim for at least 80 bits for important accounts. A 16-character password from all four character sets gives about 105 bits. Every generated password includes at least one character from each set you select, so it meets common password rules.
How to use the Password Generator
- Drag the slider to choose a length. 16–24 characters is a good default.
- Choose which character sets to include. Tick Exclude look-alikes if the password will be read aloud or typed by hand.
- Click Generate for a new password and Copy to put it on your clipboard.
- Store it in a password manager rather than reusing it on several sites.
Frequently asked questions
Are the generated passwords stored or sent anywhere?
No. Passwords are generated in your browser and never leave your device. We have no way to see them.
How long should my password be?
For accounts protected by a password manager, 20 or more random characters is easy and very secure. If you need to remember it, a passphrase of 5–6 random words is a good alternative.
Is Math.random() good enough for passwords?
No. Math.random() is not cryptographically secure and its output can be predicted. This tool uses the Web Crypto API instead.
What does "bits of entropy" mean?
It measures how many guesses a brute-force attack would need: 2 to the power of the bit count. 80 bits means about 1.2 × 10²⁴ possibilities, far beyond any practical attack.