Free Password Generator

Create strong, cryptographically random passwords with customizable length, character sets, and real-time entropy analysis. Nothing leaves your browser.

Entropy
Character Pool
Est. Crack Time

Why Strong Passwords Matter

Passwords are the first line of defense for your online accounts. Weak or reused passwords are the leading cause of account breaches. A password that uses only lowercase letters can be cracked in seconds, while a long password with mixed character types can take billions of years to break.

This generator uses the Web Crypto API (crypto.getRandomValues) to produce truly random passwords. Unlike Math.random(), which uses a pseudo-random number generator, crypto.getRandomValues draws from your operating system's cryptographic random source, making the output unpredictable and secure.

Understanding Password Entropy

Entropy measures the randomness (or unpredictability) of a password in bits. The formula is: Entropy = Length x log2(Pool Size). A higher entropy means a stronger password. Security experts recommend at least 80 bits of entropy for important accounts, and 128+ bits for high-security applications.

The estimated crack time shown assumes an attacker capable of 1 trillion guesses per second — representative of a well-funded adversary using specialized hardware. For most real-world attacks, the actual crack time would be significantly longer.

More Security Tools

Frequently Asked Questions

Is this password generator safe to use?
Yes. The password is generated entirely in your browser using the Web Crypto API (crypto.getRandomValues). No password is ever sent to any server. You can verify this by checking your browser's network tab — no outbound requests are made when generating a password.
What password length should I use?
For most accounts, 16 characters is a good minimum. For high-security accounts (banking, email, password manager master password), use 20-32 characters. Longer passwords exponentially increase the time needed to crack them.
Should I include all character types?
Yes, using uppercase, lowercase, numbers, and symbols maximizes the character pool, which directly increases entropy. If a site restricts certain characters, uncheck the relevant option to generate a compatible password.
What is entropy and why does it matter?
Entropy measures password randomness in bits. Each additional bit doubles the number of possible combinations. A 40-bit password can be cracked quickly, while a 128-bit password is effectively uncrackable with current technology. The formula is Length multiplied by log2 of the character pool size.
How is crack time calculated?
Crack time is estimated assuming an attacker can try 1 trillion (10^12) passwords per second, which represents high-end GPU clusters or specialized hardware. The time equals 2^entropy divided by the guess rate. Real-world attacks are typically slower, so actual crack time would be even longer.