Cryptographically secure
Randomness comes from the Web Crypto API, the same source browsers use for encryption keys — never Math.random().
Create secure passwords, passphrases, PINs and random strings instantly. 100% in your browser — nothing is stored or sent anywhere.
A password generator should be trustworthy by design. PasswordGen is built so that it never needs to see your passwords at all.
Randomness comes from the Web Crypto API, the same source browsers use for encryption keys — never Math.random().
Every value is generated locally. Passwords are never transmitted, stored, logged or shared with anyone.
Rejection sampling removes modulo bias, so each character in the pool has exactly the same probability.
Choose a length from 4 to 128 and any mix of uppercase, lowercase, numbers and symbols, with optional exclusions.
See real entropy in bits, calculated from the exact rules you chose — not a vague colour bar.
No sign-up, no ads, no trackers and no heavy frameworks. The page loads quickly on any device.
Everything below happens inside your browser tab, in a few milliseconds.
Set the length and character types. Turn on exclusions if the password must be typed by hand or pasted into a picky form.
Your browser’s cryptographic random number generator picks each character uniformly from the allowed pool using rejection sampling.
Review the entropy and strength score, copy with one click, and save the password in a password manager — not in a note or spreadsheet.
Attackers do not guess passwords one character at a time. They try leaked password lists, dictionary words, names, dates and common substitutions such as P@ssw0rd first. A password is strong when it is long, random and unique.
Need something you can remember, like the master password for your password manager? Use the passphrase generator. Want to test an existing password? Try the password strength checker.
Straight answers about how PasswordGen works and how to use strong passwords.
Yes. Every tool is free to use with no sign-up, no limits and no premium tier. There are no ads and no tracking scripts on the site.
No. Passwords are created by JavaScript running in your own browser tab. They are never sent to a server, never written to cookies or localStorage, and never logged. When you close or reload the page they are gone. The only thing the site remembers is your light/dark theme choice.
PasswordGen uses the browser’s Web Crypto API (crypto.getRandomValues()), a cryptographically secure random number generator seeded by your operating system. Characters are picked with rejection sampling, so every allowed character is exactly equally likely. Math.random() is never used.
Use at least 16 characters for everyday accounts and 20 or more for important ones such as email, banking and your password manager. A random 16-character password using all four character types has roughly 104 bits of entropy, which is far beyond what can be brute-forced.
Entropy measures how many guesses an attacker would need. Each extra bit doubles the number of possibilities. For a random password it equals length × log2(pool size). Around 60 bits is strong for most online accounts; 80+ bits is very strong. Learn how entropy is calculated.
Exclude similar removes characters that look alike in many fonts (O, 0, o, I, l, 1 and |), which helps when you need to read or type a password by hand. Exclude ambiguous removes brackets, quotes, slashes and punctuation such as { } [ ] ( ) / \ ' " ` ~ , ; : . < > that some systems reject or that need escaping. Excluding characters slightly reduces entropy, which the strength meter reflects.
Yes. If a password would be missing one of the selected types, it is discarded and a fresh one is generated. Discarding whole candidates keeps the result uniformly random among all passwords that satisfy your rules, and the entropy shown accounts for this.
Once a page has loaded, generating passwords needs no network connection — all of the work happens in your browser. You can even disconnect from the internet and keep generating.
The same secure, client-side engine powers every tool in the PasswordGen toolkit.