Password Generator
Strong random passwords, local only
Loadingโฆ
Was this tool helpful?
About this tool
This tool generates random passwords with the length and character types you choose. It draws cryptographically secure randomness from crypto.getRandomValues(), using rejection sampling to discard out-of-range values so the modulo operation does not bias which characters come up. Easily confused characters like l, I, O, 0, and 1 are excluded from the character set entirely.
How to use
- Use the length slider (8-64 characters) to set the password length.
- Use the lowercase, uppercase, digit, and symbol checkboxes to choose which character types to include.
- Pick a count (1 / 3 / 5 / 10) to generate that many passwords at once; a bar shows the approximate strength in bits.
- Click regenerate for new values, and use the copy button to grab the password you want.
Frequently asked questions
- How secure is the randomness used to generate these passwords?
- It uses crypto.getRandomValues(), not Math.random(). To avoid the bias a modulo operation would introduce toward certain characters, any random value that falls outside a clean range is discarded and redrawn.
- Why don't I see characters like l, I, O, 0, or 1?
- Characters that are easy to confuse depending on the font โ lowercase l versus uppercase I, uppercase O versus digit 0, digit 1 โ are excluded from the character set entirely, which cuts down on mistakes when copying a password by hand.
- What does the bit count on screen mean?
- It's an approximate entropy calculated from the size of your chosen character set and the password length. A higher number means the number of guesses a brute-force attack would need grows exponentially; 72 bits or more is labeled strong.
- Are the generated passwords stored or sent to a server?
- No. Everything is generated in your browser and never sent to a server.
Passwords created on this page are never sent to a server, but anyone looking at your screen can see them. Save a password you plan to actually use somewhere safe right away, then clear it from the screen.