Password generator
Create a strong password or an easy-to-type passphrase. Every password is made on your device and never sent anywhere.
This free strong password generator works in your browser. Everything runs in your browser. Nothing you type is sent anywhere or stored. All inputs and calculations run locally on your device without server uploads; details on browser processing and storage are set out in the privacy policy.
What makes a password strong
Length matters most. Each extra random character multiplies the number of possible passwords by the size of the character set, so a 16-character random password is billions of times harder to guess than an 11-character one. Randomness matters too: passwords built from names, dates and swapped letters (P@ssw0rd) are the first things cracking programs try.
| Password | Entropy | Time to crack offline* |
|---|---|---|
| 8 random characters | about 52 bits | a few days |
| 12 random characters | about 79 bits | hundreds of thousands of years |
| 16 random characters | about 105 bits | far longer than the age of the universe |
| 5-word passphrase | about 65 bits | about 40 years |
| 6-word passphrase | about 78 bits | hundreds of thousands of years |
*At 10 billion guesses a second, an attacker with a fast graphics card and a leaked database.
Good habits
- Use a different password for every site. A password manager remembers them for you.
- Turn on two-factor authentication for email, banking and social media.
- Use a passphrase for the few passwords you must remember, such as your password manager’s.
Worked example: Comparing entropy bits of a 16-character random password vs a 5-word passphrase
Cryptographic password strength is measured in bits of entropy (log₂(pool_size ^ length) = length × log₂(pool_size)), assuming characters are chosen uniformly using crypto.getRandomValues():
- Option A — 16-character random password (
a–z,A–Z,0–9, and20symbols = pool of82characters):- Entropy per character:
log₂(82) ≈ 6.358 bits. - Total entropy for 16 characters:
16 × 6.358 =101.7 bits of entropy (2^101.7 ≈ 4.2 × 10^30possibilities). Example output:v9#mK2!pL8@qR4&z.
- Entropy per character:
- Option B — 5-word random passphrase from a 7,776-word list:
- Entropy per word:
log₂(7,776) ≈ 12.925 bits. - Total entropy for 5 words:
5 × 12.925 =64.6 bits of entropy (2^64.6 ≈ 2.9 × 10^19possibilities). Example output:cobalt-meadow-velvet-anchor-spruce—much easier to type on a phone or read aloud while still resisting offline GPU cracking for centuries.
- Entropy per word:
Limits and what this tool cannot do
- Does not save or sync your generated passwords: Because this page runs offline in volatile browser memory with no database or account, once you close or refresh the tab the generated password is gone forever. Save it in a password manager (such as Bitwarden, 1Password, or Apple/Google Password Manager) immediately.
- Legacy corporate portals with max-length or forbidden-symbol bugs: Some older banking and government forms silently truncate passwords at 12 or 16 characters or reject
<,>,&, or"symbols. Untick Symbols or set length to 16 if a legacy form rejects your password.
Questions
Is it safe to generate passwords online?
With this page, yes: passwords are made by your own browser with its cryptographic random generator, and never sent over the network. You can even disconnect from the internet first.
How long should a password be?
At least 12 characters, and 16 or more for important accounts. Passphrases should have at least 6 words for important accounts.
Why avoid look-alike characters?
If you will type the password by hand or read it aloud, O and 0, or l and 1, are easy to mix up.
How does the browser generate truly random passwords without a server?
It calls the Web Crypto API (window.crypto.getRandomValues()), which draws cryptographically secure random bytes directly from your operating system's kernel entropy pool (such as /dev/urandom on Linux/macOS or BCryptGenRandom on Windows).
When should I choose a passphrase instead of a random character password?
Use a 4-to-6-word passphrase for master passwords you have to type by hand (like your laptop disk encryption login, Wi-Fi password, or password manager master key). Use a 16-to-24-character random password for accounts where your password manager auto-fills the field.
Why is there an option to exclude look-alike characters (O, 0, I, l, 1)?
In sans-serif fonts, capital I, lowercase l, and the digit 1 (as well as capital O and 0) look nearly identical, making it frustrating to type a Wi-Fi or TV password from a phone screen.