Password Generator
Strong random passwords and memorable passphrases, made with your browser's cryptographic random number generator. Nothing is sent or saved.
Settings
If a site only allows certain symbols, keep just those. Letters, digits and spaces are ignored.
Words come from a 2,048-word list of everyday English words (11 bits each). Capitals and a digit help sites that demand them; the extra words are what make it strong.
Why use a password generator?
People are bad at being random: we reuse passwords, build them from names and dates, and swap letters for look-alike symbols in ways attackers try first. This generator draws every character or word from crypto.getRandomValues, the cryptographic random source built into your browser, so the result has no pattern to exploit. It runs entirely on your device; nothing you generate is sent anywhere or stored.
How to generate a strong password
- Choose Password for a random string, or Passphrase for random words that are easier to type and remember.
- Set the length (16 characters or 6 words are good defaults) and the character types or symbols a site allows.
- Watch the entropy and time-to-crack figures update; aim for Strong or better.
- Press Copy and paste it into your password manager. New makes another; Generate a list makes up to 100 at once.
Password or passphrase?
Both are strong when they are random and long enough; they suit different jobs.
| Random password | Passphrase | |
|---|---|---|
| Looks like | t7#Qm!x2Lr9$wKp4 | Lagoon-Pixel-Tidal8-Crane-Bison-Opal |
| Strength per character | About 6.5 bits | About 2 bits (11 bits per word) |
| Easy to type on a phone or TV remote | No | Yes |
| Easy to remember or read aloud | No | Yes |
| Fits short length limits | Yes | Not always |
| Best for | Accounts stored in a password manager | Your manager's master password, device logins, Wi-Fi |
How strength is calculated
Entropy measures how many equally likely results the settings can produce, in bits: each bit doubles the number of guesses an attacker needs. A password of length L drawn from N characters has about L × log2(N) bits. With all four types ticked, N is 88 (26 + 26 + 10 + 26 symbols), so 16 characters give about 103 bits.
The figure shown here is exact for the generator. Because every type you tick must appear at least once, a few combinations are impossible, and the tool subtracts them: a 4-character password with all four types has about 22 bits, not the 25.8 the simple formula suggests. Each password is drawn uniformly from the allowed set, so the number is honest. For a passphrase, every word adds log2(2,048) = 11 bits, and the optional digit adds log2(10 × words). Capital letters on every word add nothing, because they are predictable.
Entropy only describes randomly generated secrets. A password you invent, such as Summer2025!, scores well on naive meters but is among the first guesses in any cracking dictionary.
How long would it take to crack?
The time to crack assumes an attacker who has stolen a database of fast, unsalted hashes and tests 10 billion guesses per second on graphics cards; on average they find a password after trying half of the possibilities. Sites that store passwords properly, with bcrypt, scrypt or Argon2, slow this down by many thousands of times, and an online login form allows far fewer guesses still.
| Generated secret | Entropy | Rating | Average time at 10 billion guesses/s |
|---|---|---|---|
| 6-digit PIN123456-style | 19 bits | Weak | less than a second |
| 8 lowercase lettersqmfhzkta | 37 bits | Fair | 10 seconds |
| 8 characters, all four typesk#4Rv!9q | 50 bits | Good | 1 day |
| 12 characters, all four types | 77 bits | Strong | 248 thousand years |
| 16 characters, all four types (default) | 103 bits | Very strong | trillions of years |
| 20 characters, all four types | 129 bits | Very strong | trillions of years |
| 4-word passphraseacorn-tidal-plush-ember | 44 bits | Fair | 15 minutes |
| 6-word passphrase | 66 bits | Good | 117 years |
| 6 words + a digit (default)Pixel-Lagoon4-… | 71 bits | Strong | 7 thousand years |
| 8-word passphrase | 88 bits | Strong | 490 million years |
Ratings: under 30 bits is weak, 30–49 fair, 50–69 good, 70–99 strong and 100 or more very strong. For anything important, aim for at least 70 bits.
What makes a password strong
- Length beats complexity. NIST's digital identity guidelines (SP 800-63B) put length first: at least 15 characters for a password that is the only login factor, and at least 8 when it is combined with a second factor. Each extra random character multiplies the work by the size of the character set.
- Random, not clever. Character swaps (a → @, o → 0) and appended years are built into cracking tools. Only randomness you didn't choose resists them.
- Unique for every account. Most account takeovers reuse a password leaked from a different site ("credential stuffing"). A unique password limits a breach to one account.
- Stored, not remembered. A password manager remembers hundreds of random passwords; you only need one strong passphrase to unlock it.
- Backed by two-factor authentication. An authenticator app or security key stops an attacker who does get the password.
Common mistakes
- Choosing your own passphrase words. Song lyrics and quotes are in cracking dictionaries. Let the generator pick the words.
- Shortening a passphrase to fit. Dropping from 6 words to 3 cuts the strength from 66 to 33 bits, which a fast attack exhausts in under a second. If a site caps the length, use a random password instead.
- Pasting passwords into chats or emails. Share access with a password manager's sharing feature. For a home network, a Wi-Fi QR code lets guests join without seeing the password at all.
- Saving a generated list in a plain text file. The bulk list is handy for setting up many accounts; move the passwords into a manager and delete the file.
Privacy
The generator runs entirely in your browser and works offline once the page has loaded. Passwords are never sent anywhere and never written to storage; only your settings (length, character types, passphrase options) are remembered on this device. Need other random values? Use the random number generator for numbers and dice, the UUID generator for unique IDs, or the hash generator to see how sites fingerprint data.
Frequently asked questions
Is this password generator safe to use?
Yes. Every character or word is chosen with crypto.getRandomValues, the cryptographically secure random number generator built into your browser, with rejection sampling so no choice is more likely than another. Generation happens entirely on your device: passwords are never sent to a server and never saved. Only your settings are remembered on this device.
How long should a password be?
For a random password, 16 characters with all four character types gives about 103 bits of entropy, far beyond any practical attack, and is the default here. NIST's guidelines (SP 800-63B) ask for at least 15 characters when a password is the only login factor. For a passphrase from this tool's 2,048-word list, 6 words with a digit gives about 72 bits; use 7 or 8 words for a password manager's master password.
What is a passphrase, and is it as secure as a password?
A passphrase is several random words joined together, such as Lagoon-Pixel-Tidal8-Crane-Bison-Opal. Its strength comes from the number of words: each word from a 2,048-word list adds 11 bits, so 6 words give 66 bits and 8 words 88. It needs more characters than a random password of the same strength, but it is much easier to type and remember. The words must be chosen at random, not by you.
What does entropy mean?
Entropy is the number of bits needed to count every result the settings could have produced; each extra bit doubles the guesses an attacker needs. This page shows the exact figure for the generator: log2 of the number of passwords that have the chosen length and contain every selected type, all of them equally likely. It rates under 30 bits as weak, 30–49 fair, 50–69 good, 70–99 strong and 100 or more very strong.
How is the time to crack estimated?
It is the average time to find the password by brute force (trying half of all possibilities) at 10 billion guesses per second, roughly what a rig of graphics cards achieves against a stolen database of fast hashes such as unsalted SHA-256. Against properly stored passwords (bcrypt, scrypt or Argon2) attacks are thousands of times slower, and login forms allow only a few guesses, so the real figure is usually much longer.
Will every password include each character type I tick?
Yes. A password is drawn character by character from all the types you selected, and any draw that misses a type is discarded and drawn again. That keeps every valid password equally likely, so the entropy shown is exact, and it accounts for the guarantee: a 4-character password with all four types has about 22 bits rather than the 25.8 the simple length × log2(88) formula gives.
What are look-alike (ambiguous) characters?
Characters that are easy to confuse in many fonts: capital I, lowercase l, the digit 1 and the pipe |, the letter O, the digit 0 and lowercase o, and B and 8. Excluding them makes a password easier to read aloud or type from a printout, at the cost of a slightly smaller character set; the entropy figure updates to show the difference.
A website rejects some symbols. What should I do?
Edit the Symbols to use box to keep only the symbols the site accepts, for example !@#$%. Every password then draws its symbols from that list, and the entropy and crack time are recalculated. Reset restores the default set of 26 symbols. If a site forbids symbols altogether, untick Symbols and add a few characters of length to make up for it.
Can I generate many passwords at once?
Yes. Enter a number up to 100 under Generate a list and press Generate. Each password or passphrase is independently random with the current settings. You can copy a single one, copy them all (one per line) or download them as a .txt file; move them into a password manager rather than keeping the file.
Should I use a password manager?
Yes. Strong passwords only help when every account has a different one, and nobody can remember dozens of random strings. A password manager stores them encrypted and fills them in for you, so you need to remember a single strong passphrase. Turn on two-factor authentication for the manager and for important accounts.
Does a password generator work offline?
This one does. All the code, including the passphrase word list, runs in your browser, so after the page has loaded you can disconnect from the internet and keep generating. Nothing depends on a server.
Related tools
More free, private, browser-based utilities — no upload, no sign-up.