24-character password generator
This generator creates a random 24-character password using uppercase and lowercase letters, numbers, and symbols — 154.2 bits of entropy drawn from 2.7 x 10^46 possible combinations. Infrastructure grade. Use it where a machine does the typing.
- Entropy
- 154.2 bits
- Possible passwords
- 2.7 x 10^46
- GPU, fast hash
- 10^27 years
- GPU, PBKDF2 600k
- 10^33 years
Is 24 characters enough?
At twenty-four characters, the keyspace exceeds the number of atoms in a small mountain. This is not about guessing resistance any more — it is about satisfying compliance policies and leaving no doubt in an audit.
Compared with a 20-character password, this is roughly 55 million times more work for an attacker — the cost of guessing grows by a factor of 86 for every single character you add.
When to use a 24-character password
Service accounts, database credentials, API secrets, and encryption passphrases stored in a secrets manager.
What to watch out for
Some older systems reject passwords over 20 characters or mangle certain symbols. Test the credential end to end before you rotate anything in production.
How long this password survives each attack
"Time to crack" is meaningless without naming the attack. The same password fails in an afternoon or outlives the sun depending on how the website stored it. These are average times — half the keyspace — for this password:
| Attack scenario | Guesses / second | Average time |
|---|---|---|
| Throttled login form | 100 | 10^36 years |
| Stolen database, unsalted fast hash | 100 billion | 10^27 years |
| Stolen database, PBKDF2 with 600,000 iterations | ~167,000 | 10^33 years |
The third row is why key stretching matters so much. MoolKey runs PBKDF2 at 600,000 iterations for the same reason: it costs you a fraction of a second and costs an attacker a factor of 600,000.
You still have to keep it somewhere
A 24-character random string is not memorable, and pretending otherwise is how people end up with a sticky note. Either store it in a password manager, or use a generator that can recreate it on demand from one phrase you already remember — which means there is no stored copy for anyone to steal.
24-character password questions
- Is a 24-character password strong enough?
- A random 24-character password using uppercase, lowercase, numbers, and symbols carries 154.2 bits of entropy. Infrastructure grade. Use it where a machine does the typing. Against an offline attack on a fast hash at 100 billion guesses per second, the average time to crack it is 10^27 years.
- How many 24-character passwords are possible?
- With a pool of 86 symbols there are 2.7 x 10^46 possible 24-character passwords. That figure only protects you if your password was chosen at random from all of them — a password you invented sits in a far smaller set that attackers search first.
- How long does it take to crack a 24-character password?
- It depends entirely on how the site stored it. On a rate-limited login form at 100 guesses per second: 10^36 years. Against a stolen database of fast hashes on a GPU cluster: 10^27 years. Against a properly stretched PBKDF2 hash with 600,000 iterations: 10^33 years.
- Is this 24-character generator safe?
- Yes. It runs entirely in your browser using crypto.getRandomValues, the cryptographic random source provided by your operating system. No password is transmitted, logged, or stored. You can disconnect from the network and the generator still works.
More free tools
Every tool runs in your browser without an account. The generators, strength checker, and entropy calculator keep inputs local. The breach checker sends only a five-character hash prefix to Have I Been Pwned.
Passphrase generator
A passphrase is several random words joined together, such as "trout-canyon-mellow-drift".
PIN generator
A PIN generator picks digits at random instead of letting you reach for a birthday.
Strength checker
A password strength checker estimates how many guesses an attacker needs before reaching your password.
Breach check
A breach check tells you whether a password already appears in leaked data.
Entropy calculator
Password entropy measures how many guesses an attacker needs, expressed in bits.
Make one account easier today.
Start with the password you keep reusing or the bank card that still shares a PIN. MoolKey is free, and you do not need to move everything at once.
