Password Generator
Create strong, unpredictable passwords with the length and character types you choose — or switch to Passphrase mode for a memorable word-based alternative. Uses your browser's secure random source and never transmits anything.
How to use password generator
- Choose a mode
Random characters for maximum entropy per character, or Passphrase for something easier to remember and type.
- Set the options
Length and character types for a password; word count and separator for a passphrase.
- Copy it
Copy the result straight into your password manager. Regenerate any time with the ↻ button.
Features
Every character and word is chosen using crypto.getRandomValues, not predictable randomness.
Turn on uppercase, numbers and symbols and the result is guaranteed to include at least one of each — not left to chance.
The strength meter is calculated from actual bits of entropy (length × log2 of the possible character or word pool), not a rough guess.
Generation is entirely local — passwords and passphrases are never sent or logged.
Supported formats and limitations
Text and structured input supported by this tool.
Use cases include personal workflows, content preparation, and quick checks. Review output before relying on it for legal, financial, accessibility, or production decisions.
Frequently asked questions
Are these passwords safe?
Yes — both modes use crypto.getRandomValues, the Web Crypto API's cryptographically secure random source, never Math.random() or anything predictable. Nothing is transmitted or logged.
How long should a password be?
Aim for at least 12–16 characters with a mix of types, or 4–6 words for a passphrase. Longer is stronger, especially for important accounts.
What's a passphrase and why use one?
A passphrase strings together several random dictionary words (e.g. "harbor-violet-compass-42") instead of random characters. With enough words it can be just as strong as a complex password while being far easier to type and remember — many password managers, including 1Password, now default to this style.
How strong is the passphrase word list?
The built-in list has 232 common, easy-to-spell words, adding about 7.9 bits of entropy per word — so 5 words is roughly 39 bits and 7-8 words is meaningfully stronger. The live entropy estimate below the result shows the exact figure for your current settings, including the optional number.
Should I reuse a generated password?
No. Use a unique password (or passphrase) per site and store them in a reputable password manager.