Strong password generator
Generate long random passwords with your browser’s cryptographic random number generator. Choose the length and character types, drop look-alike characters and copy with one click. Nothing is saved or leaves your device.
đź”’ Everything runs on your device
How to use it
- Set the length: 16 characters or more is a good choice for most accounts.
- Choose which character types to include. If you will type it by hand, tick “Avoid look-alike characters”.
- Press “Copy” and paste it into the form or your password manager. “Generate another” makes a new one.
Example
What each character adds
With lowercase, uppercase, digits and 27 symbols there are 89 possible characters, so each adds about 6.5 bits of entropy. A 16-character password has about 103 bits; an 8-character one, about 51. Every extra bit doubles the number of guesses needed.
How it works
Each character is picked with crypto.getRandomValues, the browser’s cryptographically secure random number generator, not Math.random.
Rejection sampling makes every character exactly equally likely (no modulo bias).
At least one character of each chosen type is guaranteed, at a random position, to satisfy common form rules.
Entropy is estimated as length × log2(number of possible characters). The level (weak < 50 bits, fair < 70, strong < 100, very strong ≥ 100) is a guide.
Limitations
- Entropy describes random passwords like these; it does not apply to passwords people make up, which are far more predictable.
- A strong password does not help if it is reused: use a different one for each account and, if you can, a password manager and two-step verification.
- Some sites reject certain symbols; if yours does, untick “Symbols” and increase the length.
FAQ
Are generated passwords saved?
No. They are created in your browser and disappear when you close or reload the page. Only your preferences (length and character types) are remembered.
What length should I use?
For normal accounts, 16 or more characters with all types. For anything you type often, go longer and avoid look-alike characters.
Is it safe to generate a password on a website?
Here the password is generated on your device and never sent to a server; you can check by generating one while offline.