Password Generator
Create strong, random passwords with customizable length and character types.
Estimated crack time: Centuries+ (at 10 billion guesses/sec)
How to Use the Password Generator
Adjust the password length using the slider (between 8 and 128 characters). Toggle character types on or off: uppercase letters, lowercase letters, numbers, and symbols. Enable the "Exclude Ambiguous Characters" option if you need to avoid characters that look similar (such as l, 1, I, O, and 0). Click the Generate button to create 5 random passwords at once. Each password shows a strength meter and an estimated crack time. Click the copy button next to any password to copy it to your clipboard instantly.
What Makes a Strong Password
Password strength depends on two main factors: length and character diversity. A longer password with a mix of uppercase letters, lowercase letters, numbers, and symbols is exponentially harder to crack. Each additional character multiplies the number of possible combinations. A 16-character password using all character types has over 10 to the 30th power possible combinations, making brute-force attacks virtually impossible with current computing power. The strength meter uses entropy calculations to rate your password from Weak to Very Strong.
Understanding Crack Time Estimates
The estimated crack time assumes an attacker using modern GPU hardware capable of 10 billion guesses per second. This represents a realistic offline brute-force attack scenario. The estimate shows the average time to crack (half the total search space). Online attacks are much slower due to rate limiting, but offline attacks against leaked password databases operate at full speed. These estimates do not account for dictionary attacks or pattern-based cracking, which is why random generation is always preferred over human-chosen passwords.
Password Security Best Practices
- Use a unique password for every account. Reusing passwords means one breach compromises all your accounts.
- Use a reputable password manager to store and auto-fill your generated passwords securely.
- Enable two-factor authentication (2FA) wherever available for an extra layer of protection.
- Never share passwords via email, text, or chat. Use your password manager's secure sharing feature instead.
Frequently Asked Questions
How long should my password be?
For most accounts, 16 characters or more is recommended. For high-security accounts like banking or email, consider 20 or more characters. The minimum acceptable length is 12 characters with all character types enabled.
Are generated passwords truly random?
Yes. This generator uses the Web Crypto API (crypto.getRandomValues), which provides cryptographically secure random numbers. This is far superior to Math.random(), which is not suitable for security-sensitive applications.
Should I include symbols in my passwords?
Yes, whenever possible. Symbols significantly increase the character pool from 62 to about 90 characters, greatly increasing the number of possible combinations. Some websites restrict certain symbols, in which case you can regenerate without them.
What are ambiguous characters?
Ambiguous characters are those that look similar in many fonts: lowercase L (l), uppercase I (I), the number 1, uppercase O (O), and the number 0. Excluding them is useful when you need to read or type a password manually.
How often should I change my passwords?
Current security guidance from NIST recommends changing passwords only when you suspect a breach, not on a fixed schedule. Forced rotation often leads to weaker passwords. Instead, use long, unique, randomly generated passwords and change them immediately if a service you use reports a data breach.