How to generate a strong password
- 1Stay on the Random tab and drag the Password Length slider anywhere from 8 to 128 characters. 16 or more is a sensible minimum for accounts that matter.
- 2Tick the Character Types you need (Uppercase, Lowercase, Numbers, Symbols) and set Symbol Density to control roughly what share of the password is symbols.
- 3Edit Custom Symbols if a site only accepts certain characters, and turn on Avoid similar if you'll ever have to read the password aloud or type it by hand.
- 4Click Copy Password, or hit the regenerate button for a new one. Turn on Bulk Mode to generate up to 20 at once.
What makes a password strong?
A password's strength comes from how many guesses an attacker would need, and that's measured in bits of entropy. For a truly random password the math is simple: entropy = length x log2(pool size). Drawing 16 characters from the 62 letters and digits gives about 95 bits. Adding a dozen symbols to the pool nudges each character up a little, but adding length does far more. Each extra character multiplies the search space by the whole pool size, which is why a long password beats a short, symbol-heavy one.
The word random is doing real work there. Entropy only counts if every character is chosen unpredictably, so a random password generator is only as good as its source of randomness. This one uses crypto.getRandomValues, the browser's cryptographically secure random number generator, and rejection sampling so that every character in the pool is equally likely. Math.random would not be good enough: it isn't designed to be unpredictable. Passwords people invent themselves are weaker still, because attackers' cracking dictionaries are built from exactly the patterns humans like.
As a rough guide, anything above about 80 bits is out of reach for offline brute force with today's hardware, and 128 bits is out of reach for the foreseeable future. For random passwords, the Security Strength meter estimates bits from the length and the character classes present, so treat it as a guide rather than an exact figure. For passphrases it uses the exact figure: number of words x log2(word list size).
Passphrases trade some entropy for memorability. Their strength depends on the size of the word list, not the number of letters. The Passphrase tab is a passphrase generator that draws each word independently from the EFF short word list of 1,296 words, which gives about 10.3 bits per word: four words is roughly 41 bits, six words about 62 and ten words about 103. A classic 7,776-word diceware list gives about 12.9 bits per word. Use passphrases of six or more words for things you need to remember and type, and use Random mode, stored in a password manager, for everything else.
When developers reach for it
New account and admin logins
Create a long, unique password for a dashboard, database user or cloud console and paste it straight into your password manager.
Seeding test and staging users
Use Bulk Mode to generate up to 20 passwords at once for test accounts, demo environments or temporary credentials.
Working around picky password rules
When a site wants a password generator with symbols but only accepts a few of them, trim the Custom Symbols list, or keep Avoid problematic symbols on when a legacy form rejects brackets, quotes or slashes.
Passwords you have to type
Turn on Avoid similar to drop look-alike characters such as l, 1, O and 0 when a password will be read off a screen or typed on a TV or console.
Frequently asked questions
Is this a secure password generator?
+
Yes. Passwords are generated locally with crypto.getRandomValues, a cryptographically secure random number generator built into your browser, and are never sent over the network.
How long should a password be?
+
Use at least 16 random characters for important accounts. If the password lives in a password manager and you never type it, there's no reason not to go to 24 or longer.
Are generated passwords stored anywhere?
+
The last five passwords you generate with the button are kept in your browser's localStorage so you can copy them again. Nothing leaves your device, and the Clear button in Recent History removes them.
Why are some symbols excluded by default?
+
Avoid problematic symbols is on by default because brackets, quotes, slashes and similar characters often break login forms, shell commands and connection strings. Turn it off, or edit Custom Symbols, if you need them.
Is a passphrase better than a random password?
+
Only if it comes from a large word list. A passphrase is easier to remember and type, but for the same length a random password carries far more entropy, so use random passwords wherever a password manager can fill them in.
Related tools
Secret Key Generator
Generate cryptographically-secure keys and tokens for AES-128/192/256, HMAC, JWT, OAuth client secrets, session cookies, CSRF, and Django SECRET_KEY. Standard presets plus fully custom byte sizes — hex, Base64, Base64URL, Base58, or alphanumeric output. Bulk generation up to 100 at once.
SHA-256 Hash Generator
Compute SHA-1, SHA-256, SHA-384, and SHA-512 cryptographic hashes from any text using the Web Crypto API. All processing stays in your browser.
UUID / GUID Generator
Generate cryptographically secure UUIDs (v4) in standard, hyphen-free, uppercase, or braced GUID formats. Bulk generation up to 1,000.
JWT Token Generator
Create signed JWT tokens with custom payloads, choose algorithm (HS256/384/512), and provide your secret key.