Password Generator
SecurityGenerate strong, random passwords with customisable length and character rules. Works entirely in your browser — nothing is ever stored or transmitted.
What is a Password?
A Password Generator is a tool that creates strong, random passwords on demand by combining characters from a pool you choose — uppercase letters, lowercase letters, numbers, and symbols. Instead of relying on a person to invent a password (which almost always introduces predictable patterns like birthdays, pet names, or simple keyboard sequences), this tool draws every character independently using your browser's cryptographically secure random number generator.
The result is a password with no exploitable structure. Security researchers consistently find that human-created passwords cluster around a small set of common patterns, which is exactly why credential-stuffing and dictionary attacks remain effective. A generated password sidesteps this entirely — every character is equally likely, so the only way to find it is to try every possible combination, which becomes computationally infeasible once the password is long enough.
For developers creating test accounts, IT teams provisioning new user credentials, or anyone signing up for a new service, the Password Generator removes the temptation to reuse a weak, memorable password. Pair it with the UUID Generator when you also need a unique identifier for the account itself, not just its credential.
How to use this Password calculator
- Set the Password Length field to your desired number of characters — 16 or higher is recommended for important accounts.
- Toggle Include Uppercase (A-Z) on or off depending on whether the target system allows capital letters.
- Toggle Include Lowercase (a-z), Include Numbers (0-9), and Include Symbols (!@#$...) to match the password rules of the account you're creating.
- Review the generated password in the result box — it updates instantly whenever you change a setting.
- Click the copy icon to copy the password to your clipboard, then paste it into the password field of the account you're setting up. Save it in a password manager rather than relying on memory.
Formula & Methodology
The generator builds a character pool by concatenating the character sets you've enabled: - Uppercase:A-Z(26 characters) - Lowercase:a-z(26 characters) - Numbers:0-9(10 characters) - Symbols:!@#$%^&*()_+-=[]{}|;:,.<>?(26 characters) For each position in the password, the tool draws one cryptographically random 32-bit integer usingcrypto.getRandomValues()and reduces it modulo the pool size to pick a character. This is repeated independently for every character, so no position depends on any other. Entropy measures how hard a password is to guess: it'slog2(pool size ^ length)bits. A 16-character password drawn from the full 88-character pool (all four toggles on) has roughlylog2(88^16) ≈ 103bits of entropy — well beyond what any practical brute-force attack can exhaust with current computing power. Even a more modest 12-character password with all toggles on carries about 77 bits of entropy, comfortably strong for most personal accounts.