Password Generator
Generate a strong, random password with the length and character sets you choose — made in your browser with secure randomness, never stored or sent anywhere.
Password Generator
Passwords are generated with your browser's cryptographic random number generator and never leave your device.
What Is a Password Generator?
A password generator creates random passwords that no human would invent — long strings of mixed letters, numbers, and symbols with no pattern, no words, and no personal information. A password like "r]:i9HN0}A3l(2Ja" is not meant to be remembered. It is meant to be unguessable, and to be stored in a password manager that remembers it for you.
The reason generators exist is that human-chosen passwords are predictable. Studies of leaked password databases consistently find the same passwords at the top of the list year after year: "123456", "password", "qwerty", and close variations. Even passwords that feel creative — a pet's name plus a birth year, a favorite team plus an exclamation mark — follow patterns that attackers know and exploit. Random generation removes the human from the process entirely, which is the whole point.
This generator runs entirely in your browser. It uses the Web Crypto API — window.crypto.getRandomValues — which draws randomness from your operating system's secure random source, the same source used for encryption keys. The password is never sent to a server, never logged, and never stored. When you close the page, it is gone, so copy it into your password manager before you leave.
How to Use This Generator
Choose a length — 16 characters is the default and a good choice for most accounts — tick the character sets you want, and press Generate. A new password appears instantly, along with its strength rating and its entropy in bits. Press Generate again for a different one. When you are happy with a password, use the Copy button and paste it into your password manager or directly into the account you are securing.
Every generated password is guaranteed to contain at least one character from each set you selected, so a password made with all four sets always includes a lowercase letter, an uppercase letter, a digit, and a symbol. That matters because many websites require all four, and a purely random password occasionally misses a set by chance.
What Is Password Entropy?
Entropy measures how hard a password is to guess by brute force, in bits. The formula is simple: entropy equals the password length multiplied by the base-2 logarithm of the size of the character set. A 16-character password drawn from 88 possible characters — 26 lowercase letters, 26 uppercase letters, 10 digits, and 26 symbols — has an entropy of 16 times log2(88), which is about 103 bits. That means there are 2 to the power of 103 possible passwords of that form, a number so large that trying them all is not a realistic attack.
The strength labels in this tool are based on entropy: under 40 bits is Weak, 40 to 59 is Fair, 60 to 79 is Good, 80 to 99 is Strong, and 100 bits or more is Very strong. These thresholds are conservative on purpose. A password with 60 bits of entropy is already far beyond what an online attacker can brute-force, because online guessing is limited by login rate limits. The higher thresholds matter mainly for offline attacks, where a stolen password database can be attacked without rate limits — and even there, 80 bits is considered very safe by current standards.
Length matters more than complexity. Adding one character to a password from an 88-character set adds about 6.5 bits of entropy. Adding a whole new character set — say, adding symbols to a letters-only password — adds less: going from 52 characters to 88 adds about 0.76 bits per character, or about 12 bits for a 16-character password. That is why a long passphrase of random words can be stronger than a short password full of symbols, even though the passphrase uses only lowercase letters and spaces.
Worked Example: How Strong Is Strong Enough?
Consider three passwords made with this tool. A 4-character lowercase-only password has 26 possible characters, so its entropy is 4 times log2(26), or about 18.8 bits — Weak. There are only 456,976 possible passwords of that form, and a computer can try them all in a fraction of a second. An 8-character password using lowercase letters and digits has 36 possible characters, giving 8 times log2(36), or about 41.4 bits — Fair. That is about 2.8 trillion combinations, which sounds enormous until you learn that a modern password-cracking rig can test billions of guesses per second against a stolen hash.
Now the 16-character password from all four sets: 103 bits of entropy, or about 2 followed by 31 zeros possible combinations. Even at a billion guesses per second, trying half of them would take far longer than the age of the universe. That is the difference length makes, and it is why the default here is 16 characters rather than 8.
These numbers assume the attacker is guessing blindly. Real attacks are smarter: they try common passwords, dictionary words, and patterns first. A random password defeats all of those shortcuts, which is why random generation plus reasonable length is the strongest practical defense for a single password.
Tips for Passwords That Actually Protect You
Use a different password for every account. This matters more than the strength of any single password. When a website is breached — and breaches happen constantly — the stolen passwords are tried against every other major site. If you reuse a password, one breach compromises all your accounts. A generator plus a password manager makes unique passwords effortless.
Use a password manager. Nobody can remember fifty random 16-character passwords, and nobody should try. A password manager stores them encrypted behind one master password — the only password you need to remember — and fills them in for you. The master password should itself be long: a passphrase of four or five random words works well.
Turn on two-factor authentication. A password is one factor: something you know. Two-factor authentication adds something you have (your phone) or something you are (your fingerprint). Even if a password leaks, an attacker without the second factor cannot log in. Authenticator apps are stronger than SMS codes, and hardware security keys are stronger still.
Do not change passwords on a schedule. Current guidance from the US National Institute of Standards and Technology (NIST) says forced periodic password changes do more harm than good: they push people toward weaker passwords with predictable patterns, like adding a number that increments each time. Change a password when there is a reason — a breach, a shared password, a suspicious login — not because a calendar says so.
Common Mistakes to Avoid
The most common mistake is writing passwords down in insecure places: a sticky note on the monitor, a plain-text file on the desktop, or an email to yourself. A password manager is the safe version of writing passwords down — encrypted, searchable, and backed up.
The second mistake is using personal information in passwords. A pet's name, a birth date, a hometown, or a favorite team is discoverable from social media in minutes, and attackers use exactly that information in targeted guessing. Random generation avoids the problem entirely, because a random password contains nothing about you.
Finally, do not share generated passwords by email, chat, or text message unless you have no choice — and if you must share one, change it afterwards. Password managers with a sharing feature are the safe way to give someone access to an account without sending the password in plain text.
Frequently Asked Questions
How long should a password be?
At least 12 characters, and 16 or more is better. A 16-character password from all four character sets has about 103 bits of entropy, which is far beyond brute-force guessing. Length adds more security than complexity does.
Are generated passwords stored anywhere?
No. This generator runs entirely in your browser using the Web Crypto API, and the password is never sent to a server or saved. Copy it into your password manager before you close the page.
What is password entropy?
Entropy measures guessing difficulty in bits: length multiplied by the base-2 logarithm of the character set size. A 16-character password from 88 possible characters has about 103 bits of entropy, meaning about 2^103 possible passwords.
Do I need symbols in my password?
They help, but length helps more. Adding symbols to a 16-character password adds about 12 bits of entropy; adding two more characters adds about 13 bits. Use all four character sets when a site allows it, but prioritize length.
Should I change my password every 90 days?
No. Current NIST guidance says forced periodic changes lead to weaker, predictable passwords. Change a password when there is a reason — a breach, a suspicious login, or a password you shared — not on a fixed schedule.