Password Generator
Generate strong, cryptographically secure passwords with custom length and character sets. Runs locally in your browser.
Password Length and Search Space
| Length | All-option combinations | Entropy |
|---|---|---|
| 8 characters | 3.60e15 | 52 bits |
| 12 characters | 2.16e23 | 78 bits |
| 16 characters | 1.29e31 | 103 bits |
| 10 characters | 2.79e19 | 65 bits |
| 20 characters | 7.76e38 | 129 bits |
Frequently Asked Questions about the Password Generator
Is this password generator secure?
The generator uses crypto.getRandomValues with rejection sampling and returns no password when Web Crypto is unavailable. That provides cryptographically strong pseudorandom selection from the enabled alphabet without modulo bias. Generation runs in the browser, but you should still use a trusted password manager to generate and store account credentials.
How long should my password be?
Use a unique, randomly generated password as long as the account permits, stored in a password manager. This calculator's strength label assumes uniform random selection from its alphabet and a fixed offline guess rate. It does not account for the site's hash settings, rate limits, phishing resistance, or recovery process.
What characters should I include?
Enable the character sets accepted by the account. The calculator derives its estimate from the exact enabled alphabet, so a larger alphabet adds entropy when every character is selected uniformly at random. Length and uniqueness usually matter more than satisfying predictable composition patterns in a user-chosen password.
What does 'bits of entropy' mean?
For a uniformly random password, bits = length x log2(alphabet size) describes the search space and each added bit doubles it. The displayed tiers are calculator heuristics based on a fixed offline attack speed, not account-security guarantees. Human-created patterns have much less effective entropy than this formula predicts.
Should I exclude ambiguous characters?
Only if you need to read the password off a screen and type it by hand. Excluding ambiguous characters (0, O, I, l, 1, and the pipe character) removes 6 characters from the alphabet, which slightly lowers entropy. If you copy-paste or use a password manager, leave them in for maximum strength.
Where should I store these passwords?
Use a password manager such as 1Password, Bitwarden, or Apple Passwords. A password manager lets you generate and store a unique password for every site without memorizing any of them. Reusing passwords across sites is the single biggest practical risk, since one breach exposes every account that shares the same password.
Related Calculators
More calculators in "Tech"
Random Number GeneratorDice Roller (d4-d100)Aspect Ratio CalculatorDPI Calculator (Pixel Density)Subnet Calculator (IPv4 CIDR)Base Converter (Binary, Hex, Octal)
See all 98 calculators in "Tech"