Password generator
Pick the length and the kinds of characters. The password is drawn at random in your browser: it is never sent or saved.
Result
Fill in the boxes to see the result.
How it is calculated
- Each character is drawn uniformly at random by the browser’s cryptographic generator (Web Crypto).
- At least one character of each chosen kind is included.
- Entropy = length × log₂(number of possible characters).
Example
16 characters with lowercase, uppercase and digits: 62 possible characters, 16 × log₂(62) ≈ 95 bits, very strong. Each draw gives a different password.
Good to know
- Nothing is saved or sent: copy the password before leaving the page.
- Entropy measures the randomness of the draw, not the security of the site where you use it.
- Use a different password for each account, ideally with a password manager.
When to use it
- Create a new password for an account or a Wi-Fi network.
- Make a temporary password to give to a new colleague.
- For a random draw in a game, use the Online dice roller.
Frequently asked questions
Is a long passphrase better than a short complex password?
Often yes. Several random words are easier to remember and can reach a high entropy if they are truly picked at random.
What about two-factor authentication?
Turn it on when you can. Even a strong password can leak; a second factor, such as an app code or a key, blocks most attacks.
How do I know if a password has leaked?
Services such as Have I Been Pwned check known leaks. Change a leaked password everywhere you used it.