Password Generator
Choose a length and character sets, skip ambiguous characters, and generate one or many passwords.
Your data stays in your browser. This tool processes your input locally and does not upload it to a server.
How does a secure password generator work?
A secure password generator picks characters using a cryptographically secure random source instead of predictable patterns. This tool uses crypto.getRandomValues in your browser to build 1 to 20 passwords of 4 to 128 characters from the character sets you choose. Nothing is sent or stored.
What the generator does
You choose a length, how many passwords to create, and any of four character sets: uppercase, lowercase, numbers and special characters (!@#$%^&*()-_=+[]{};:,.?). Each password contains at least one character from every set you select, the rest are drawn from the combined pool, and the result is shuffled.
Random values come from crypto.getRandomValues, and the code rejects values that would bias the choice, so every character in a pool is equally likely. Math.random is never used.
Length matters more than complexity
Every extra character multiplies the number of possible passwords. With all four sets and ambiguous characters excluded, the pool has 79 characters, so a 16-character password has roughly 100 bits of entropy. Adding length helps more than adding symbols.
Use a password manager so each account gets a unique generated password you never need to remember.
Privacy
Passwords are generated and shown only in your browser tab. They are not uploaded, logged or saved, and they disappear when you leave the page. The strength label (Weak, Fair, Good, Strong) is a rough check on length and variety, not a measure of real entropy.
Examples
Default settings
Input
Length 16, uppercase, lowercase, numbers, special, exclude ambiguous, count 4Output
Four random 16-character passwords, each labelled "Strong"The exact characters differ every time. After removing O, 0, o, I, l, 1 and |, the pool is 24 uppercase, 24 lowercase, 8 digits and 23 special characters (79 in total).
A numeric PIN
Input
Length 8, numbers only, count 1Output
One random 8-digit string, labelled "Weak"The label is Weak because the strength check rewards length and mixed character types. An 8-digit PIN has only 10^8 possibilities.
An invalid request
Input
Length 3Output
Enter a length from 4 to 128.A count outside 1 to 20, or no character sets selected, also produces an error.
Common mistakes and edge cases
- Do not reuse a generated password across sites. One breach exposes every account that shares it.
- Some sites reject certain special characters or cap length. If a site refuses a password, turn off special characters and increase the length instead.
- Excluding ambiguous characters makes passwords easier to read but shrinks the pool slightly. Compensate with a few extra characters.
- The strength label is a heuristic. A long password with few character types can still be strong in reality even if it scores lower.
- Copying a password leaves it on the clipboard. Paste it into your password manager promptly.
- A random password is hard to memorize. For something you must type from memory, use a passphrase of several random words instead.
How to use this tool
- Set the length and which character sets to include.
- Choose how many passwords to create.
- Copy a password or generate a new set.
Frequently asked questions
Is this password generator safe to use?
Yes for generating the password. It uses crypto.getRandomValues, the browser’s cryptographically secure random number generator, and everything runs locally so the password is never transmitted. You are still responsible for storing it safely, ideally in a password manager.
How long should a password be?
For accounts managed by a password manager, 16 to 20 random characters is a strong choice, and you can go longer for sensitive data. A password you must type by hand is better as a passphrase of several random words. Length gives more protection than adding symbols.
What does "exclude ambiguous characters" do?
It removes characters that are easy to confuse when reading or typing: O, 0, o, I, l, 1 and |. This helps when you must copy a password by eye. Because the pool is a little smaller, add a character or two of length to keep the same strength.
Does the generator guarantee one of each character type?
Yes. If you select uppercase, lowercase, numbers and special characters, every password contains at least one of each, which satisfies most site rules. The length must be at least the number of selected sets. The remaining characters are chosen from the whole pool and the order is shuffled.
Are the passwords I generate saved anywhere?
No. They exist only in the page while it is open. FestivKit does not send them to a server or store them. Refreshing the page or generating a new set removes the old ones.
References
Last reviewed