Password generator
Secure random passwords, generated in your browser.
About the Password generator
This password generator builds random passwords from the character sets you pick, with a length between 4 and 64 characters. Use it when you need a new account password, a database or API secret, or a batch of throwaway credentials for testing. Passwords are generated in your browser and are not sent to a server.
How to use it
- Drag the Length slider to set how many characters each password has (16 by default).
- Under Characters, tick the sets to include: A–Z, a–z, 0–9 and !@#$ symbols. Optionally tick Exclude similar or Exclude ambiguous.
- Choose a Quantity of 1, 5, 10 or 25, then click Generate password.
- Copy a single password with its copy icon, or use Copy all to copy every password, one per line.
Where the randomness comes from
Each character is picked with crypto.getRandomValues, the browser's cryptographically secure random number generator, not Math.random.
Similar and ambiguous characters
Exclude similar removes i, l, 1, L, o, 0 and O, which are easy to misread. Exclude ambiguous removes brackets, slashes, quotes and similar punctuation that some systems handle badly.
Strength label
The strength label is an entropy estimate from length and the ticked sets. Characters are drawn independently, so a short password may not contain every selected set.
Questions
- How long should a password be?
- For most accounts, 16 characters from letters, numbers and symbols is plenty. With a password manager, longer costs you nothing.
- Is it safe to generate a password in a web browser?
- Yes, if it uses a secure random source and sends nothing anywhere. This one uses crypto.getRandomValues and makes no network request.
- What happens if I untick every character set?
- The generator falls back to lowercase letters a–z so it can still produce a password.