How to use this Password Generator
Choose the password length, select which character types to include, then generate a random
password instantly. You can copy the result and use it in your account setup, testing, or
credential workflows.
- Choose the password length.
- Select lowercase, uppercase, numbers, and/or symbols.
- Click Generate Password.
- Copy the generated password if needed.
Example password
fT9@zL2#qN8!rA4x
Common use cases
- Account password creation
- Admin panel access
- Development and testing
- Temporary secure credentials
- Password reset workflows
Password strength is entropy, and entropy is math
"Strong" is not a vibe; it is a number. For a randomly generated password, the entropy in
bits is length × log2(alphabet size). Each character drawn
from a set of N options contributes log2(N) bits, and the bits add up
across the length. Every extra bit doubles the number of guesses an attacker must make.
Concretely, with all four sets enabled this tool draws from about 88 characters, worth
roughly 6.5 bits each. A 16-character password is therefore around 103 bits
— far beyond any brute-force reach. Drop to lowercase-only (26 characters, about 4.7 bits
each) and the same 16 characters give about 75 bits. An 8-character password even with all
character classes is only about 52 bits, which a dedicated cracking rig can exhaust. The
takeaway: pick the entropy you want and read the length off the math.
Why length beats character-class rules
Adding one character multiplies the search space by the whole alphabet size — a far bigger
gain than forcing one more symbol into a short password. Going from 8 to 16 characters
doubles the entropy in bits; sprinkling in a required ! barely
moves it.
Worse, composition rules ("must contain an uppercase letter, a digit, and a symbol") push
humans toward predictable patterns — a capital on the first letter, a 1 and a
! at the end, giving Password1!. Attackers model those patterns, so
the real entropy of a rule-satisfying human password is far lower than its
theoretical maximum. A long random string (or a passphrase of several random words) sidesteps
the whole problem: its entropy is genuine because nothing about it is predictable.
What modern guidance (NIST SP 800-63B) actually says
The old advice — force mixed character classes and expire passwords every 90 days — has been
reversed by the people who wrote it. NIST's SP 800-63B digital identity guidelines now
recommend:
- Favor length. Require a reasonable minimum and allow long passwords
(at least 64 characters), including spaces and all printable characters.
- Drop mandatory composition rules. Do not force particular mixes of
character types.
- Stop periodic rotation. Do not expire passwords on a schedule; change
them only on evidence of compromise. Forced rotation just produces predictable
increments like
Spring2024! → Summer2024!.
- Screen against breach lists. Reject passwords known to appear in
previous data breaches, which is where credential-stuffing attacks get their material.
Uniqueness and randomness matter more than memorability
A perfect password is worthless if you reuse it. Most account takeovers today are
credential stuffing — attackers replay username/password pairs leaked from
one breached site against every other site. The defence is a
different password per account, which is only practical with a password
manager. Generate a long random string here, store it in a manager, and never try to
memorise it. For the handful you must type from memory, a random multi-word passphrase
reaches high entropy while staying rememberable.
On the randomness itself: this generator draws characters from your browser's
crypto.getRandomValues() — a cryptographically secure random source — not from
Math.random(), which is predictable and must never be used for anything
security-related. The password is produced locally on your device.
Frequently Asked Questions
How is password strength actually measured?
In bits of entropy: length × log2(alphabet size) for a random password.
Each bit doubles the guessing effort. Roughly, 16 random characters from this tool's full
88-character set is about 103 bits — effectively uncrackable — while 8 characters is only
around 52 bits.
Is a longer password or a more complex one stronger?
Length wins. Each extra character multiplies the search space by the whole alphabet,
whereas adding one required symbol barely changes the entropy and often pushes people
toward predictable patterns that attackers already model.
Should I change my passwords every 90 days?
No — current NIST guidance advises against scheduled expiry. Forced rotation produces
predictable increments and encourages weaker choices. Change a password when there is
evidence it was compromised, not on a timer.
Are these passwords random enough to rely on?
They are drawn from crypto.getRandomValues(), the browser's cryptographically
secure generator, not the predictable Math.random(). That is the right
source for security use, and the value is generated locally in your browser.
A site caps my password length or bans symbols — what should I do?
Generate the longest password the site allows and add character types to compensate for
the shorter length. If symbols are blocked, a longer letters-and-digits password recovers
the lost entropy. A low cap is a sign of weak password handling on their side, so make
sure the password is unique to that account.
Do I need a password manager if I use this?
Effectively yes. The biggest real-world risk is reuse across sites, and a unique random
password per account is only practical if something stores them for you. Generate here,
save in a manager, and reserve memorised passphrases for the few logins you must type by
hand.