Generators
Password Generator
Generate strong, random passwords with custom length and character sets. Everything runs locally in your browser for maximum privacy.
Select at least one character setHow to generate a strong password
- A 16-character password drawn from all four character sets is waiting the moment the tool loads. The circular-arrows button draws a fresh one whenever you like.
- Drag the Length slider anywhere between 6 and 48 characters. The password is rebuilt immediately after every change, so you never need to click Generate.
- Tick or untick Lower, Upper, Numbers and Symbols to shape the pool. With all four unticked the box reads 'Select at least one character set' instead of a password.
- Click the copy icon. It turns into a tick for a second and a half to confirm the password is on your clipboard, ready to paste into your password manager.
Where the randomness comes from
Every character is chosen with crypto.getRandomValues, the browser's cryptographically secure random source, not with Math.random. For each position the tool asks for one unsigned 32-bit integer (a value from 0 to 4,294,967,295) and takes it modulo the size of the pool you selected. With all four sets ticked the pool holds 87 characters, so a 16-character password consumes 16 separate 32-bit draws.
Taking a 32-bit value modulo 87 leaves a tiny bias, because 4,294,967,296 divided by 87 is not a whole number (the remainder is 16). Sixteen of the 87 characters are therefore favoured by one part in roughly 49 million. That is far too small to help an attacker, but it is worth knowing if you are auditing the code.
Each position is drawn independently. Nothing forces a symbol or a digit to appear just because its box is ticked. With all sets on, the chance that a 6-character password contains no symbol at all is (62/87)^6, about 13%; at 12 characters it falls to 1.7%, and at 16 characters to 0.4%. If a site insists on at least one symbol, glance at the result or regenerate.
The exact character sets
The symbol set deliberately leaves out the space, both quote marks, the backslash, the backtick, the tilde, the pipe and the forward slash. Those are the characters most likely to be mangled by a shell, a URL or a badly written sign-up form. The flip side is that a site which demands a specific symbol outside this list will need you to add it by hand.
No similar-looking characters are excluded: lowercase l, capital I, the digit 1, capital O and the digit 0 can all appear. If you will ever read the password aloud or type it from paper, regenerate until the ambiguous ones are gone, or stick to copy and paste.
| Set | Characters | Count |
|---|---|---|
| Lower | a to z | 26 |
| Upper | A to Z | 26 |
| Numbers | 0 to 9 | 10 |
| Symbols | ! @ # $ % ^ & * ( ) - _ = + [ ] { } ; : , . < > ? | 25 |
| All four together | 87 |
Entropy for each slider setting
Password strength is measured in bits of entropy: bits = length × log2(pool size). The pool sizes above give 4.70 bits per character for lowercase only, 5.70 for mixed-case letters, 5.95 for letters plus digits and 6.44 for all 87 characters. A 16-character password from the full pool is therefore 16 × 6.443 = 103.1 bits.
| Length | Sets ticked | Pool | Bits of entropy |
|---|---|---|---|
| 6 | All four | 87 | 38.7 |
| 8 | Lower only | 26 | 37.6 |
| 8 | Letters + numbers | 62 | 47.6 |
| 8 | All four | 87 | 51.5 |
| 12 | Letters + numbers | 62 | 71.5 |
| 12 | All four | 87 | 77.3 |
| 16 | Letters + numbers | 62 | 95.3 |
| 16 | All four | 87 | 103.1 |
| 24 | All four | 87 | 154.6 |
| 48 | All four | 87 | 309.3 |
Entropy of passwords this tool can produce (rounded to 0.1 bit)
What those bits mean against a guessing attack
On average an attacker finds the password halfway through the search, so halve those figures for the expected time. A trillion guesses a second is a reasonable estimate for an offline attack on a leaked database of fast hashes; against a website that rate-limits logins the attacker gets perhaps a few guesses a second, which makes even the 8-character row survive for decades. The slider default of 16 is a comfortable margin for anything that matters, and 20 or more costs nothing when a password manager types it for you.
| Password | Combinations | Exhaustive search |
|---|---|---|
| 8 lowercase letters | 26^8 ≈ 2.1 × 10^11 | 0.2 seconds |
| 8 chars, all sets | 87^8 ≈ 3.3 × 10^15 | about 55 minutes |
| 12 chars, all sets | 87^12 ≈ 1.9 × 10^23 | about 6,000 years |
| 16 chars, all sets | 87^16 ≈ 1.1 × 10^31 | about 340 billion years |
Time to try every combination at one trillion (10^12) guesses per second
Things this generator does not do
- It has no passphrase or pronounceable mode; the output is always a string of independent random characters.
- It does not check the result against breach lists, nor enforce 'at least one of each type' rules.
- It keeps no history. Moving the slider or toggling a checkbox replaces the current password instantly, and the previous one cannot be recovered, so copy a password you like before adjusting anything.
- Length stops at 48. For a longer secret, generate two and join them.
- Whatever you copy sits on the system clipboard until you copy something else, where other applications may be able to read it.
Frequently asked questions
Are the generated passwords safe to use?
Yes. Passwords are generated locally using your browser's cryptographically secure random number generator and are never transmitted or stored.
Why does the password sometimes contain no symbol although Symbols is ticked?
Ticking a set only adds its characters to the pool; every position is still an independent random draw. At short lengths a symbol-free result is fairly common (about 13% at 6 characters). Regenerate or lengthen the password if a site requires one.
Which slider length should I use?
Leave it at the default 16 for ordinary accounts (103 bits with all sets on). Use 20 to 24 for email, banking and anything protecting other passwords. Drop below 12 only when a legacy system refuses longer input.
Can I exclude look-alike characters such as 0 and O?
Not with a setting. The tool has no 'avoid ambiguous characters' option, so either regenerate until none appear or rely on copy and paste, where look-alikes cause no trouble.
Does the generator store the passwords it has made?
No. Each password exists only in the page until it is replaced by the next one, and nothing is written to local storage, cookies or any server.
Explore
113 tools. Zero uploads. One place.
Every tool opens instantly, works on your phone and keeps your files on your device.
Password Generator guides
Related tools
QR Code Generator
Generators
Turn any text or URL into a downloadable QR code.
Open toolRandom Number Generator
Generators
Generate random numbers in any range, with no repeats option.
Open toolLorem Ipsum Generator
Generators
Generate placeholder text for your designs and mockups.
Open toolRandom Picker (Wheel of Names)
Generators
Pick a random name or winner from a list.
Open tool