Password Generator

Generate strong, secure passwords with custom length and character options.

About the Password Generator

A strong, unique password is the first and most fundamental line of defence in personal cybersecurity. Despite widespread awareness of security best practices, weak and reused passwords remain the leading cause of account compromises. The most common passwords in use globally — such as '123456', 'password', and 'qwerty' — can be cracked by automated tools in under a second. A truly secure password should be long (at least 12 characters), random, and include a mix of uppercase letters, lowercase letters, numbers, and special characters.

Password strength is primarily determined by its entropy — the measure of unpredictability. Entropy is a function of both the length of the password and the size of the character set used. A 12-character password using only lowercase letters has a character set of 26, giving 26^12 possible combinations (approximately 95 billion). Adding uppercase letters, numbers, and symbols expands the character set to around 94 characters, yielding 94^12 combinations — about 475 trillion times more possibilities. This exponential increase in combinations makes brute-force cracking computationally infeasible for modern hardware.

Generating passwords randomly is critical — human beings are notoriously bad at creating truly random strings. We naturally gravitate toward familiar patterns, words, and sequences even when trying to be random, making supposedly 'creative' passwords far more predictable than they appear. Our password generator uses cryptographically secure pseudorandom number generation (CSPRNG) to ensure genuine randomness. Once generated, passwords should be stored in a reputable password manager (Bitwarden, 1Password, Dashlane) rather than written down or stored in plaintext.

Pros & Cons

Pros
  • +Produces genuinely random passwords that humans could never create unaided
  • +Customisable length and character sets let you meet any site's specific requirements
  • +Cryptographically secure randomness — not predictable patterns
  • +Instant generation of multiple options to choose from
  • +Eliminates the temptation to reuse old passwords or make minor variations
Cons
  • Randomly generated passwords are impossible to memorise — require a password manager
  • Copy-pasting passwords risks clipboard exposure on shared or public computers
  • A strong password is useless if the website itself stores it insecurely
  • Does not help if your email account (the master key to most accounts) is compromised
  • Some older systems have character restrictions that limit the password to a subset of characters

What Makes a Strong Password

A strong password is fundamentally a measure of unpredictability — specifically, the difficulty an attacker would face trying to guess or systematically work through all possible values. The two primary determinants of password strength are length and character set size. Length matters because password security scales exponentially: adding one character multiplies the number of possible combinations by the size of the character set. A 12-character password using only lowercase letters (26 characters) has 26¹² ≈ 95 billion combinations. A 13-character password using the same set has 26¹³ ≈ 2.5 trillion — roughly 26 times more combinations from just one additional letter. This exponential relationship means length is the single most powerful lever for improving password security.

Character set diversity is the second pillar of password strength. Passwords drawn only from lowercase letters can be checked through a 26-symbol alphabet; adding uppercase letters doubles the effective alphabet to 52. Adding digits 0–9 brings it to 62; including special characters such as !@#$%^&*() extends the practical character set to approximately 94 printable ASCII characters. An 8-character password using all 94 characters has 94⁸ ≈ 6 quadrillion combinations — exponentially more than a 12-character lowercase-only password. Security best practice recommends using all four character classes (uppercase, lowercase, digits, special characters) for maximum entropy. Many websites enforce this through password complexity requirements, though some older systems restrict which special characters are permitted.

Entropy is the formal mathematical measure of password unpredictability, expressed in bits. Each additional bit of entropy doubles the number of possible passwords. A password's entropy is calculated as: E = L × log₂(N), where L is the length in characters and N is the size of the character set. Using only lowercase letters, each character contributes log₂(26) ≈ 4.7 bits; with all 94 printable ASCII characters, each character contributes log₂(94) ≈ 6.55 bits. A 16-character password drawn from all 94 characters has approximately 104.8 bits of entropy — far beyond what any current computing technology can brute-force. Security researchers commonly recommend a minimum of 80 bits of entropy for high-security accounts, which requires at least 12–14 characters drawn from a full character set including special symbols.

Common Password Mistakes to Avoid

The most dangerous password habit is reuse — using the same password across multiple accounts. Even if a password is genuinely strong, if you use it on a website that suffers a data breach and the password is leaked, every other account using that same password is immediately compromised. Attackers routinely take leaked credential databases from one breach and automatically test those username-password combinations against major services — banking, email, social media — in a technique called credential stuffing. This is not a theoretical attack: hundreds of millions of credential stuffing attempts occur daily, and accounts protected by reused passwords are among the easiest targets. Using a unique password for every account is non-negotiable in modern cybersecurity.

Predictable substitutions and patterns are the second major category of password mistakes. Replacing an O with a 0, an E with a 3, or an A with an @ is a common strategy, but these substitutions are well-known to attackers. Password cracking tools incorporate these substitution patterns as rules applied automatically during attacks, meaning that 'P@ssw0rd' is not meaningfully more secure than 'Password' against a sophisticated attacker. Similarly, appending numbers or punctuation to the end of a word — 'sunshine123!' — follows patterns that cracking dictionaries cover exhaustively. Any password that starts from a word and applies predictable modifications is weaker than its surface appearance suggests.

Choosing passwords based on personal information is the third common category of mistake. Birthdates, first names, pet names, favourite sports teams, and home towns are among the first things attackers try when targeting a specific individual. This information is often publicly available through social media profiles, making 'personalized' passwords deeply insecure against targeted attacks. Even information that feels private — a childhood nickname or a former street address — may be accessible through data brokers or previous breaches of other services. The solution is not cleverness but randomness: passwords generated by a cryptographically secure random generator contain no pattern and no personal information, making them immune to both dictionary attacks and targeted social engineering attempts.

Why You Should Use a Password Manager

A password manager is a software application that generates, stores, and auto-fills passwords for all your accounts, protected behind a single master password. The fundamental promise of a password manager is that it allows you to have a unique, strong password for every account without needing to remember anything beyond the master password. The best password managers — such as Bitwarden, 1Password, and Dashlane — use end-to-end encryption so that your passwords are encrypted locally before being synced to the cloud, meaning the password manager company itself cannot read your stored passwords even if their servers are breached. This architecture makes password managers a vastly more secure alternative to browser-saved passwords, spreadsheets, or physical notebooks.

Setting up a password manager requires a one-time investment of migrating existing passwords into the vault and updating the weakest ones to newly generated strong passwords. Most password managers provide a security audit tool that identifies reused passwords, weak passwords, and compromised passwords found in known breach databases — giving you a prioritized list of accounts to update first. The browser extension and mobile app then handle auto-fill seamlessly, meaning that logging into accounts with a random 24-character password is as convenient as using a short memorable one. The friction of strong passwords is entirely eliminated once the manager is set up, removing the last practical argument for using weak or reused credentials.

The security of a password manager depends critically on the strength of the master password and whether the manager account itself is protected by two-factor authentication (2FA). If an attacker obtains your master password and you have no 2FA, every account in your vault is compromised simultaneously. The master password should therefore be a genuinely strong passphrase — a sequence of four to six random words (sometimes called a Diceware passphrase) is both highly secure and humanly memorable. For example, 'correct-horse-battery-staple' (from a famous xkcd comic) has approximately 44 bits of entropy if each word is chosen randomly from a 2,048-word list, and is far easier to memorize than a random character string of equivalent length. With a strong master password and 2FA enabled, a password manager is dramatically more secure than any alternative strategy.

Two-Factor Authentication

Two-factor authentication (2FA), also called multi-factor authentication (MFA), adds a second layer of verification to the login process beyond the username and password. Even if an attacker obtains your password — through a breach, phishing, or brute force — they cannot access your account without also possessing the second factor. The most common second factors are time-based one-time passwords (TOTP) generated by an authenticator app (Google Authenticator, Authy, or similar), SMS codes sent to a registered phone number, and physical security keys (YubiKey, Google Titan). Each of these factors proves that you have physical access to a device associated with the account — something an attacker who only has your password typically does not.

Not all 2FA methods are equally secure. SMS-based 2FA is the weakest option: phone numbers can be redirected through SIM-swapping attacks, where an attacker convinces a mobile carrier to transfer your number to a new SIM card. This gives them access to your incoming SMS codes, allowing account takeover even with 2FA enabled. Authenticator apps are significantly more secure because TOTP codes are generated locally on your device using a shared secret established at setup, and no transmission over a phone network is involved. Hardware security keys are the most secure option: they use public-key cryptography and require physical presence at the login session, making them immune to phishing because the key verifies the legitimacy of the website before signing in.

Enabling 2FA on high-value accounts — email, banking, cloud storage, social media, and your password manager — should be considered mandatory rather than optional. Email is especially critical because it is the recovery mechanism for virtually every other account. An attacker who controls your email address can reset the password on any account that sends reset links to that address, making your email account the master key to your digital life. With a strong, unique password and authenticator-app 2FA protecting your email, the security of all downstream accounts improves dramatically. Many services now offer passkeys — a newer standard that replaces both password and 2FA with a single cryptographic key stored on your device — which may ultimately supersede traditional 2FA entirely.

How Passwords Are Cracked

There are several distinct methods attackers use to discover passwords, each targeting a different category of weakness. Brute force attacks systematically try every possible combination of characters within a defined character set and length range. Against a short password of six characters using only lowercase letters, brute force is trivially fast on modern hardware — there are only 26⁶ ≈ 309 million combinations, and a dedicated GPU can test hundreds of millions of guesses per second against an offline password hash. For this reason, six-character passwords offer virtually no protection. Every additional character adds an exponential multiplier: a 12-character password drawing from all 94 printable ASCII characters requires millions of years on current hardware to exhaust, which is precisely why length and character set diversity matter so profoundly.

Dictionary attacks are more sophisticated than pure brute force — rather than trying all possible combinations, they test a curated list of likely passwords in order of probability. These dictionaries start with the most common passwords globally (123456, password, qwerty), progress through words from multiple languages, and then apply rule-based transformations: appending years (sunshine2019), substituting characters (p@ssword), capitalizing the first letter, or reversing strings. Modern cracking tools like Hashcat combine massive wordlists with extensive rule sets that can generate billions of 'human-plausible' password guesses from a relatively small starting vocabulary. This is why any password derived from a real word or recognizable pattern is vulnerable even if it appears complex on the surface.

Credential stuffing is a third attack method that bypasses cracking entirely. Rather than trying to guess or compute the original password, attackers take username-password pairs leaked from one data breach and automatically test them against other services. Because many people reuse the same password across multiple accounts, credential stuffing is highly effective even against strong passwords — if your strong password is reused and appears in a leaked database, the attacker does not need to crack it. Have I Been Pwned (haveibeenpwned.com) is a free service that checks whether your email address and passwords appear in known breach databases, allowing you to identify which accounts need immediate password changes before attackers exploit the leaked credentials.

Frequently Asked Questions

Security experts recommend a minimum of 12 characters, with 16 or more characters considered strong for high-value accounts. Length is the single most important factor in password security because each additional character multiplies the number of possible combinations exponentially. A 16-character password drawn from uppercase letters, lowercase letters, digits, and special characters (a pool of approximately 94 characters) has about 105 bits of entropy — far beyond what any current computing hardware can brute-force in a reasonable time. If memorability is required, a passphrase of four to six random words (such as 'correct-horse-battery-staple') is both strong and easier to remember than a shorter random character string.