Free & Secure

Password Generator

Generate strong, random passwords with custom rules. Runs entirely in your browser — nothing is stored or sent anywhere.

Strong
16
Uppercase
A B C D E
Lowercase
a b c d e
Numbers
0 1 2 3 4
Symbols
! @ # $ %

How Strong Passwords Work

Password strength comes from randomness and length. Every character you add multiplies the total number of possible combinations, making the password exponentially harder to crack through brute force — trying every possible combination.

Entropy: Measuring Password Strength

Entropy is a measure of randomness, expressed in bits. Higher entropy means a password is harder to guess. The formula depends on the pool size (number of possible characters) and the password length.

Entropy (bits) = Length × log₂(Pool Size)

Pool sizes: lowercase (26) · + uppercase (52) · + digits (62) · + symbols (~95)
Example: A 16-character password using all character types (pool ≈ 95):
Entropy = 16 × log₂(95) = 16 × 6.57 = ~105 bits
This would take trillions of years to brute-force.

Crack Time Estimates

Here's how long different passwords would take to crack by brute force, assuming 100 billion guesses per second (a high-end attack scenario).

Password TypeLengthCrack Time
Lowercase only8 chars~2 seconds
Mixed case + numbers8 chars~1 hour
All character types12 chars~7 million years
All character types16 chars~240 trillion years
All character types20 chars~8.6 × 10²⁴ years

Best Practices

Use at least 12 characters (16+ recommended). Include all four character types: uppercase, lowercase, numbers, and symbols. Never reuse passwords across accounts — if one site is breached, all shared passwords are compromised. Use a password manager like Bitwarden, 1Password, or KeePass to store unique passwords for every service.

What This Generator Uses

This tool uses the Web Crypto API (crypto.getRandomValues), a cryptographically secure random number generator built into every modern browser. Unlike Math.random(), which is predictable, the Crypto API produces truly random values suitable for security-sensitive applications. Your password is generated entirely on your device and never leaves your browser.

Frequently Asked Questions

Related Tools