Generate strong, secure passwords with customizable length and character types.
The Password Generator creates strong random passwords of 4 to 128 characters using your browser's secure random generator. Choose lowercase, uppercase, numbers and symbols, avoid look-alike characters such as 0/O and 1/l, and generate up to 20 at once. Every chosen character type is guaranteed to appear, there is no bias toward any character, and a live entropy meter shows how strong the result is. Passwords never leave your device.
Made for everyone. Typical uses:
To sign up for a bank that wants an uppercase letter, a number and a symbol, set the length to 16 and keep all four character types on. That gives about 103 bits of entropy (Strong) and a password that contains at least one of each type. It is random, so it will not match any word list or pattern, and a fast offline attacker would need billions of years to try half the possibilities.
The tool makes random passwords but does not store them, so save each one in a password manager straight away. Symbols are limited to a fixed set, because some sites reject unusual characters. Random passwords are strong but hard to memorize; for a master password you must remember, a long passphrase of several unrelated words is easier.
Accuracy: Output is produced in your browser and is meant for convenience. Check it before you use it for anything important.
Expert Tip
Length matters more than complexity — a 20-character password using just letters and numbers is typically harder to crack than an 8-character one stuffed with symbols, since each extra character multiplies the total guessing space far more than an extra character type does.
The Password Generator creates random passwords from 4 to 128 characters long. You move the length slider, choose which character types to include (lowercase, uppercase, numbers and symbols), decide whether to avoid look-alike characters, and pick how many passwords you want, from 1 to 20. A new password appears as soon as you change a setting, and the eye button hides the text if someone is looking over your shoulder. Each password has a copy button, and a meter underneath shows the strength in bits of entropy.
The tool uses the secure random number generator built into your browser, the same one used for encryption keys, not the predictable Math.random function. It picks each character with rejection sampling, which means every character in the pool is exactly as likely as any other, with none of the slight bias that comes from a naive remainder calculation. It first takes one character from each chosen type so the password satisfies the usual site rules, fills the rest from the whole pool, and then shuffles the result so the guaranteed characters are not always at the start. The password is created on your device and is not sent anywhere.
Entropy, measured in bits, is the length multiplied by the base-2 logarithm of the size of the character pool. The full pool here is 88 characters: 26 lowercase letters, 26 uppercase letters, 10 digits and 26 symbols. These figures come straight from the meter, and the guessing time assumes an attacker who has stolen a database and can try 10 billion passwords a second.
The label is based on bits: under 40 is Weak, 40 to 59 is Fair, 60 to 79 is Good, 80 to 109 is Strong, and 110 or more is Very strong. The meter slightly overestimates, because guaranteeing one character of each type removes a few possibilities. Notice that a 16-character password of letters and digits (95.3 bits) is far stronger than an 8-character one with symbols (51.7 bits). When a site lets you, choose length first. For anything important, use 16 characters or more.
Ticking "Avoid look-alike characters" removes 0, O, o, 1, l, I and the pipe character, which reduces the full pool to 82 characters. A 16-character password then has 101.7 bits instead of 103.4, a tiny cost for something you can read aloud or type from paper without mistakes. Some websites reject certain symbols. The generator uses a fixed set, !@#$%^&*()-_=+[]{};:,.<>?/, so if a site refuses it, untick Symbols and make the password longer to make up the strength.
A random password is only useful if it is unique and stored. Use a different one for every account, keep them in a password manager, and turn on two-step verification where it is offered. The tool does not save anything, so copy the password before you leave the page. For the one password you must remember, such as the manager's master password, a passphrase of several random words is easier to recall: four words drawn from a 7,776-word list give about 51.7 bits and six give about 77.5. To check a password you already have, use the Password Strength Checker, and for background, read length versus complexity and the differences between hashing, encoding and encryption. The UUID Generator creates random identifiers, which are not a substitute for passwords.
Why a long random password beats a short complicated one, how entropy is calculated, and how long guessing actually takes.
Add a real password to a PDF in your browser, learn what open passwords and permission passwords actually protect, and how to unlock a PDF you own.
Base64 is not encryption and a hash cannot be reversed. See what each does, where JWTs and URL encoding fit, and how to pick MD5, SHA-256 or a password hash.
Explore more in Generators, read the guides and articles, or see how we test our tools.
Check how strong your password is. Instant analysis with improvement tips.
Best for checking a new account password before submitting a signup form
Generate random UUIDs (Universally Unique Identifiers).
Best for generating unique IDs for database records
Generate MD5, SHA1, SHA256, SHA512 hashes from any text.
Best for verifying file integrity with hash checksums
Generate truly random numbers within any range.
Best for picking lottery numbers and contest winners
Generate QR codes for URLs, text, and more.
Best for linking printed menus, posters and flyers to a web page
Generate random lottery numbers for Powerball, Mega Millions, and more.
Best for quickly picking numbers for a Powerball or Mega Millions ticket instead of always using the same ones