Random Password Generator
Generate a strong, random password with a custom length and character set, including options to avoid ambiguous characters. Create passphrase-length passwords for a password manager's master password or match a specific site's policy, instantly in your browser with nothing saved or transmitted.
Select at least one character type.
Usage examples
Creating a strong password for a new account
Not sure what password to use when signing up? Instantly generate one 16+ characters long that includes uppercase, lowercase, numbers, and symbols.
Avoiding confusing characters when copying by hand
Need to write down or read out a Wi-Fi password? Turn on "Exclude ambiguous characters" to skip easily-confused characters like I, l, 1, O, and 0.
Matching a site's specific password policy
Site doesn't allow symbols or has a length limit? Adjust the length slider and toggle character types to match that site's requirements.
Generating a passphrase-length password for a password manager's master password
Protecting the one password that unlocks all the others? Drag the length slider up to 64 characters and keep every character type on for maximum entropy — you only have to remember this one, so make it as long as you're comfortable typing.
Creating many unique passwords in a row for old reused accounts
Cleaning up years of reused passwords? Click Regenerate repeatedly to produce a fresh, independent password for each account, copying one at a time into your password manager as you go.
Setting a temporary guest network password
Handing out Wi-Fi access for a party or office guest? Generate a shorter password with only letters and numbers enabled, then turn on "Exclude ambiguous characters" so guests can type it correctly on the first try.
Quick reference
Entropy (bits) and strength by length and character set
| Length | Numbers (0-9) (10) | Lowercase (a-z) (26) | Uppercase (A-Z) + Lowercase (a-z) (52) | Uppercase (A-Z) + Lowercase (a-z) + Numbers (0-9) (62) | Uppercase (A-Z) + Lowercase (a-z) + Numbers (0-9) + Symbols (!@#$%^&*) (88) |
|---|---|---|---|---|---|
| 4 | 13.3 bits · Weak | 18.8 bits · Weak | 22.8 bits · Weak | 23.8 bits · Weak | 25.8 bits · Weak |
| 6 | 19.9 bits · Weak | 28.2 bits · Weak | 34.2 bits · Weak | 35.7 bits · Weak | 38.8 bits · Weak |
| 8 | 26.6 bits · Weak | 37.6 bits · Weak | 45.6 bits · Fair | 47.6 bits · Fair | 51.7 bits · Fair |
| 10 | 33.2 bits · Weak | 47.0 bits · Fair | 57.0 bits · Fair | 59.5 bits · Fair | 64.6 bits · Strong |
| 12 | 39.9 bits · Weak | 56.4 bits · Fair | 68.4 bits · Strong | 71.5 bits · Strong | 77.5 bits · Strong |
| 14 | 46.5 bits · Fair | 65.8 bits · Strong | 79.8 bits · Strong | 83.4 bits · Very strong | 90.4 bits · Very strong |
| 16 | 53.2 bits · Fair | 75.2 bits · Strong | 91.2 bits · Very strong | 95.3 bits · Very strong | 103.4 bits · Very strong |
| 20 | 66.4 bits · Strong | 94.0 bits · Very strong | 114.0 bits · Very strong | 119.1 bits · Very strong | 129.2 bits · Very strong |
| 24 | 79.7 bits · Strong | 112.8 bits · Very strong | 136.8 bits · Very strong | 142.9 bits · Very strong | 155.0 bits · Very strong |
| 32 | 106.3 bits · Very strong | 150.4 bits · Very strong | 182.4 bits · Very strong | 190.5 bits · Very strong | 206.7 bits · Very strong |
| 48 | 159.5 bits · Very strong | 225.6 bits · Very strong | 273.6 bits · Very strong | 285.8 bits · Very strong | 310.1 bits · Very strong |
| 64 | 212.6 bits · Very strong | 300.8 bits · Very strong | 364.8 bits · Very strong | 381.1 bits · Very strong | 413.4 bits · Very strong |
Character pool size and bits per character
| Character set | Pool size | Bits / char | Pool size (ambiguous excluded) | Bits / char (ambiguous excluded) |
|---|---|---|---|---|
| Numbers (0-9) | 10 | 3.32 | 8 | 3.00 |
| Lowercase (a-z) | 26 | 4.70 | 24 | 4.58 |
| Uppercase (A-Z) | 26 | 4.70 | 24 | 4.58 |
| Symbols (!@#$%^&*) | 26 | 4.70 | 25 | 4.64 |
| Uppercase (A-Z) + Lowercase (a-z) | 52 | 5.70 | 48 | 5.58 |
| Uppercase (A-Z) + Lowercase (a-z) + Numbers (0-9) | 62 | 5.95 | 56 | 5.81 |
| Uppercase (A-Z) + Lowercase (a-z) + Numbers (0-9) + Symbols (!@#$%^&*) | 88 | 6.46 | 81 | 6.34 |
Frequently asked questions
Is the generated password sent to a server or saved anywhere?
No. It's generated entirely in your browser, never sent to a server, and disappears when you leave or reload the page. For security, it's not stored anywhere — not even in local storage.
How is the randomness generated?
Instead of the regular Math.random(), it uses your browser's cryptographically secure random number generator, crypto.getRandomValues().
Are all the character types I select guaranteed to appear?
Yes. As long as the length allows it, at least one character from each selected type (uppercase, lowercase, numbers, symbols) is included, and the order is then shuffled randomly.
How is the strength indicator calculated?
It estimates the password's information entropy (in bits) based on its length and the number of character types used, then shows it as Weak/Fair/Strong/Very strong. Actual security also depends on other factors, like a service's login attempt limits.
What's the longest or shortest password I can generate?
Length can be set anywhere from 4 to 64 characters using the slider. For anything meant to protect a real account, aim for at least 12-16 characters — longer passwords are exponentially harder to brute-force than adding more character types.
Should I reuse the same generated password across multiple sites?
No. Reusing passwords is one of the biggest security risks online — if one site's database leaks, attackers try that same password everywhere else. Generate a new, unique password for each account and store them in a password manager.
Why would I want to exclude ambiguous characters if it makes the password weaker?
Excluding ambiguous characters removes a handful of lookalike symbols (I, l, 1, O, 0) from the pool, which only slightly reduces entropy. It's a reasonable trade-off when a password needs to be typed manually, read aloud, or printed, since misreading a single character means the password won't work.
Does this tool work without an internet connection?
Once the page has loaded, password generation itself doesn't need the network — it runs entirely with client-side JavaScript and your browser's built-in crypto API.