Rate this tool
No ratings yet — be the first to rate!
Total ratings: 0
Free Password Generator
Reusing one short password across sites means a single leak can open many accounts. A strong password needs length, a wide mix of characters and true randomness, which is hard to invent by hand. This generator creates one for you in your browser using the browser's cryptographically secure random generator, and shows a live strength meter based on entropy. Nothing is stored or sent anywhere: the password exists only on your device until you copy it.
How to use the Password Generator
- Set the length with the slider. Sixteen characters or more is recommended for important accounts, and the slider runs from 4 to 64.
- Tick the character sets you want: uppercase, lowercase, digits and symbols.
- Keep “Exclude similar characters” ticked if you will type the password by hand, since it removes look-alikes such as l, 1, I, O and 0.
- Press Generate for a fresh random password, read the strength label, and press Copy to copy it.
- Paste it into the site or app straight away, and save it in a password manager. Do not keep it in a photo, note or chat message.
Example: a 16-character password for a new email account
Instead of a made-up example, here is what the tool actually produced when I ran it. With length 16, all four character sets ticked and “Exclude similar characters” on, the tool generated 4$gn3x#{q~n#:&a@ — 16 characters, exactly as set — and the meter read “Excellent (entropy ≈ 102 bits)” with the bar full. The character pool behind that number is 84 characters: 26 uppercase plus 26 lowercase plus 10 digits plus 27 symbols, minus the 5 look-alikes the tool excludes (l, 1, I, O, 0). Entropy = length × log2(pool size) = 16 × log2(84), about 102 bits, and the meter rates anything from 80 bits up as Excellent.

I ran the generator at four lengths with the same settings. Length 12 gave 4TNq)y}#x6}2 — 12 characters, “Strong (entropy ≈ 77 bits)”. Length 20 gave &SX[$WZ>,8;u_.Vnn[,r — 20 characters, “Excellent (entropy ≈ 128 bits)”. Length 32 gave N;AHQ}/zqR){fE<*P]Tz5ULsx)twDTV~ — 32 characters, “Excellent (entropy ≈ 205 bits)”. Every run came back at exactly the length I set, and the meter reading moved with the length.
These printed passwords are test outputs, not passwords to use: anyone reading this page can see them, so they are not secret. Press Generate for a fresh password that only you have seen.
What the strength meter actually measures — length vs variety, tested
The meter measures one thing: entropy, which is length × log2(pool size). Length is how many characters you asked for; pool size is how many different characters the generator can pick from, set by the character sets you tick. From the readings I recorded, the meter’s bands are: under 40 bits Weak, 40–59 Fair, 60–79 Strong, and 80 bits and up Excellent.
| Length set | Character sets | Actual length | Meter reading |
|---|---|---|---|
| 16 | All four sets | 16 | Excellent (≈ 102 bits) |
| 16 | Letters only | 16 | Excellent (≈ 90 bits) |
| 16 | Lowercase only | 16 | Strong (≈ 74 bits) |
| 16 | Digits only | 16 | Fair (≈ 48 bits) |
| 20 | Lowercase only | 20 | Excellent (≈ 93 bits) |
| 12 | All four sets | 12 | Strong (≈ 77 bits) |
| 8 | All four sets | 8 | Fair (≈ 51 bits) |
| 4 | All four sets | 4 | Weak (≈ 26 bits) |
The comparison that settled it for me: a 20-character password using lowercase letters only scored 93 bits (Excellent) and beat a 12-character password using all four sets, which scored 77 bits (Strong). At the same length of 16, variety mattered a lot — letters only scored 90 bits, lowercase only 74, digits only 48 — but adding 4 characters of plain lowercase beat adding three whole character sets to a short password. Length moves the meter more than variety does, once you have more than one set.

Two smaller findings. First, switching “Exclude similar characters” off at length 16 moved the reading only from 102 to 104 bits — 2 bits — because the pool grew from 84 to 89 characters; excluding look-alikes costs almost nothing, so keep it on if you type passwords by hand. Second, the generator does not guarantee every ticked set appears: in my runs one 12-character output had no digit, the 8-character output had no digit, and the 4-character output had no uppercase letter. If a site demands a digit, check the output before copying it, and press Generate again if a set is missing. And with no character set ticked at all, the tool refuses and shows “Please select at least one character set.” with the meter at “–”.
Practical tips
- Use a different password for every important account, especially email and banking. Your email password protects password resets everywhere else.
- Prefer length over clever patterns. A long random password beats a short word with a digit and symbol swapped in.
- If a site rejects your password, regenerate it or adjust the sets and length to that site's rules, then check the meter again. Some sites ban certain symbols or cap the length.
- The meter measures randomness, not safety by itself. A strong password still fails if you share it, reuse it or store it where others can read it.
- Change a password at once if you shared it, pasted it in the wrong place, or hear that the service leaked data.
- If a site demands a digit or a symbol, look at the generated password before you copy it — the generator does not guarantee every ticked set appears in every output, so press Generate again if one is missing.
Frequently asked questions
Are the passwords truly random?
Yes. Passwords are generated with your browser's crypto.getRandomValues(), a cryptographically secure random number generator — much stronger than Math.random().
Are my passwords stored anywhere?
No. Everything happens locally in your browser. PDF Prem never sees, stores or sends your passwords anywhere.
What password length should I use?
Use at least 16 characters for important accounts. Longer passwords with mixed character sets are exponentially harder to crack.
Is it free?
Yes, completely free with unlimited generation — no sign-up required.
Why did a website reject my generated password?
Some sites ban particular symbols, require a specific character type, or cap the length. Generate again, or uncheck a set and increase the length to keep the strength up, until the password fits that site's rules.
Is a longer password always better than a more complex one?
Both matter, and entropy combines them: entropy = length × log2(pool size). Twenty lowercase letters give about 94 bits, while twelve characters from an 84-character pool give about 77 bits, so a long simple password can beat a short complex one.
Can I use the example password shown on this page?
No. It is printed here for illustration, so it is not secret. Always press Generate for a fresh password that only you have seen.
Is the password sent to a server when I generate it?
No. Generation runs locally in your browser using its secure random generator, and the password is never stored or sent anywhere by this tool.
