About the Password Generator
Choose the length and character sets and press Generate. Passwords are created in your browser with the Web Crypto API, are never sent anywhere and are not stored.
Use a different password for each account and keep them in a password manager. Turn on two-factor authentication where available.
How to Use the Password Generator
- Set the length.
- Select character types.
- Press Generate and copy the password.
Formula and Method
Entropy
bits = length × log₂(pool size)
Pool size is the number of possible characters.
Worked Example
A 16-character password
Input: Length 16, all character types (94 characters)
- log₂ 94 = 6.555
- 16 × 6.555 = 104.9
Result: About 105 bits of entropy.
Frequently Asked Questions
How long should a password be?
At least 12 characters, and 16 or more for important accounts.
Is it safe to generate passwords online?
This one runs locally in your browser, so nothing is transmitted.
What is entropy?
A measure of unpredictability. Each extra bit doubles the guesses needed.
Related Calculators
Sources and Further Reading
Accuracy and Scope
Results follow the formulas and scales stated on each page. Institutions, vehicles and circuits differ, so check against your own rules and equipment. See our full disclaimer.