Password Generator

Create strong, random, secure passwords — generated privately in your browser.

Click generate

What makes a password strong

Strength comes from entropy — the number of possibilities an attacker must search. Entropy depends on how long the password is and how large the character set it was drawn from, and length matters far more than complexity.

entropy in bits = length x log2(size of character set)

lowercase only (26): 4.7 bits per character
+ uppercase (52): 5.7 bits per character
+ digits (62): 5.95 bits per character
+ symbols (94): 6.55 bits per character

Length beats complexity

Adding one character to a password multiplies the search space by the size of the character set. Adding symbols only increases the per-character value from about 5.95 bits to 6.55.

PasswordEntropySearch space
8 chars, all types52 bits4.5 x 10^15
12 chars, lowercase only56 bits9.5 x 10^16
12 chars, all types79 bits4.8 x 10^23
16 chars, all types105 bits3.7 x 10^31
20 chars, lowercase only94 bits2.0 x 10^28

Notice that a 20-character all-lowercase password is far stronger than a 12-character one using every symbol on the keyboard. This is why modern guidance — including NIST's — favours long passphrases over short strings of punctuation, and explicitly discourages mandatory complexity rules, which push people toward predictable substitutions like P@ssw0rd!.

How long is enough

A practical baseline is 16 random characters for important accounts and 12 as an absolute minimum. Where a passphrase is easier to handle, four to six random words drawn from a large dictionary provide comparable strength — but the words must be chosen randomly, not by you, since human-chosen words cluster heavily.

What actually breaks passwords

Brute force is rarely how accounts are compromised. The realistic threats are:

Use a password manager

Generating strong passwords is only useful if you can have a different one everywhere, which nobody can do from memory. A password manager stores them, fills them in, and — importantly — will not autofill on a lookalike phishing domain, which makes it a defence against phishing as well as a convenience.

The pattern that works: one long, memorable passphrase for the manager itself, random generated passwords for everything else, and two-factor authentication on the accounts that matter. An app-based authenticator or a hardware key is meaningfully stronger than SMS, which is vulnerable to SIM swapping.

Generated in your browser

These passwords are generated locally using crypto.getRandomValues(), the browser's cryptographically secure random source. Nothing is transmitted, logged or stored — you can verify this in your browser's Network tab. This distinction matters: a generator that produced passwords on a server would mean your password had travelled across a network and existed in someone else's memory before you ever used it.

Generators built on Math.random() are not suitable for passwords. That function is fast but predictable, and its output can be reconstructed from a handful of observed values.

Frequently asked questions

Is length or complexity more important?

Length, by a wide margin. A 20-character lowercase password has more entropy than a 12-character one using every symbol available. This is why NIST now recommends long passphrases and discourages mandatory complexity rules.

How long should my password be?

Sixteen random characters for important accounts, twelve as a minimum. If you prefer a passphrase, four to six randomly chosen words give comparable strength — but the words must be picked randomly, not by you.

Should I change passwords regularly?

Not on a schedule. Forced rotation makes people choose weaker, predictable variations. Current guidance is to use a long unique password per site and change it only when you have reason to believe it has been exposed.

Are these passwords sent to your server?

No. They are generated in your browser using crypto.getRandomValues(), a cryptographically secure source. Nothing is transmitted or stored, which you can confirm in your developer tools Network tab.

Is a passphrase as safe as a random password?

Yes, if the words are randomly selected from a large list and there are enough of them. Six random words from a 7,776-word list give about 77 bits. A phrase you invented yourself is far weaker, because human word choice is highly predictable.

🔗 Related tools

🛡️Password Strength🎲Random NumberAverage Calculator🔐Base64 Encode/Decode0️⃣Binary Translator🎨Color Palette