Password & Passphrase Generator
Generate strong random passwords and memorable passphrases locally, fully customizable.
Loading Password & Passphrase Generator… If nothing happens, please enable JavaScript.
Frequently asked questions
Are generated passwords ever sent to a server?
What random number generator is used under the hood?
How strong is a 16-character random password?
When should I use a passphrase instead of a password?
How does this compare to my browser's built-in password suggestion?
What does 'entropy' actually mean for a password?
Can I generate passwords for high-security contexts like encryption keys?
What is the most common password-generation mistake?
Does the tool support excluding ambiguous characters like O, 0, I, and l?
What happens if I generate a password and then close the tab?
About Password & Passphrase Generator
Strong, unique passwords are the single most effective protection against account takeovers and credential-stuffing attacks. A password's strength is measured in entropy — essentially the number of unpredictable bits an attacker must guess. This tool generates cryptographically random passwords and human-friendly passphrases entirely in your browser using the Web Crypto API's `window.crypto.getRandomValues`, which draws from the operating system's entropy pool and is suitable for security-critical applications.
Developers use strong password generators when seeding test environments, creating API keys, or provisioning initial credentials for new accounts. Businesses rely on them during onboarding workflows. Everyday users benefit when setting up new accounts, especially on sites that don't enforce strong password policies. A randomly generated 16-character password is vastly stronger than a memorable but predictable one like "Summer2024!".
This tool operates entirely client-side. The moment you click Generate, the result is computed in your browser tab and is never transmitted anywhere. There are no analytics hooks on the generation event, no logging, and no server involvement of any kind. You choose the character set — uppercase, lowercase, digits, symbols — and the length, and the tool assembles a password using a cryptographically secure random selection from that set.
NIST Special Publication 800-63B recommends prioritising password length over complexity. A 4–6 word passphrase drawn from a large dictionary (the so-called "correct-horse-battery-staple" approach, popularised by the XKCD comic strip) can exceed 60 bits of entropy while remaining memorisable — often stronger than a short password packed with symbols. Use random passwords when storing credentials in a password manager, and consider passphrases only for secrets you must type from memory, such as your master password or device unlock PIN.
From Mechanical Combination Locks to Cryptographic Entropy: A Brief History of Passwords
The word "password" predates computers by millennia — Roman sentries used watchwords to authenticate allies in darkness. Digital passwords emerged in the 1960s with MIT's Compatible Time-Sharing System (CTSS), where Fernando Corbató introduced per-user passwords to keep research files private. In those early days passwords were stored in plaintext, and the first known password breach occurred almost immediately when a colleague printed the entire password file by accident.
The practice of hashing passwords to protect them in storage was formalised in the Unix crypt system in 1976, which used a modified DES algorithm. This laid the groundwork for the modern principle that even system administrators should never see your password. Over the following decades, rising compute power steadily eroded the safety of short passwords, driving the recommendations for minimum length from 6 characters in the 1980s, to 8 in the 2000s, to the 15–20 characters recommended by NIST today.
The "correct-horse-battery-staple" passphrase concept was popularised by Randall Munroe's XKCD comic strip 936 in 2011, which demonstrated visually that four common words chosen at random produce more entropy than a shorter, symbol-laden password that people typically construct. The comic went viral among security professionals and influenced NIST's 2017 revision of SP 800-63B, which explicitly deprioritised mandatory complexity rules in favour of length and advising against frequent forced password rotations — a practice that research showed led users to make predictable, incremental changes rather than genuinely stronger passwords.