DevKit

Password Generator

Random passwords from your browser's CSPRNG, with an honest entropy number.

Free No sign-up Runs in your browser
Generator
0Entropy (bits)
0Character pool
—Strength

What "strong" means numerically

Password strength is entropy: how many guesses an attacker needs. Each character drawn uniformly from a pool of k characters adds log₂(k) bits. A 20-character password from a 94-character pool has about 131 bits — far beyond brute force. A 6-character one has about 39 bits, which is hours of work for a GPU.

Length dominates. Adding one character multiplies the search space by the pool size; adding a symbol set expands the pool but also makes the password harder to type and remember. Going from 12 to 20 characters doubles the entropy roughly three times over.

Random beats clever

"Tr0ub4dor&3" feels secure because it is hard to read, but substitution patterns are exactly what cracking tools model first — dictionary words, then l33t substitutions, then appended digits. A randomly generated string has no pattern to exploit. If you must memorise it, use a passphrase of four to six random words instead (Diceware), which reaches similar entropy with far better usability.

This page's randomness

Characters come from crypto.getRandomValues, and the modulo bias is removed by rejecting values above the largest multiple of the pool size — a detail that naive implementations get wrong, silently making some characters more likely than others. The shuffle that mixes guaranteed characters into the result is also CSPRNG-driven.

Storage matters more than generation

A perfect password typed into a site that stores it in plaintext is already lost. Use a password manager so every account has a unique password, enable two-factor authentication, and check haveibeenpwned.com for existing exposure. Reuse is the single biggest real-world risk — not insufficient character variety.

Passwords vs passphrases

Many systems now accept long passphrases, which are both stronger and easier to type on a phone. If a site caps length at 16 characters, that cap is a design smell: it suggests the password is being stored with a fast hash, or truncated.

Frequently asked questions

Is it safe to generate passwords on a website?
These are generated locally by your browser's CSPRNG and never transmitted. Still, the safest workflow is to generate inside your password manager, so the secret never touches a clipboard.
How long should my password be?
For anything important, 16 characters or more with mixed sets, or a four-word passphrase. Length buys entropy much faster than exotic symbols.
Why exclude look-alike characters?
Characters like 0/O and 1/l/I are indistinguishable in many fonts, which causes failed logins when a password is read from paper or dictated. Excluding them barely reduces entropy.
Should I change passwords regularly?
Current NIST guidance says no — forced rotation leads to predictable increments. Change on evidence of compromise, and never reuse across sites.

Related tools