Password Generator
Generate strong, secure passwords and passphrases — entirely in your browser. Your password is never sent over the network or stored anywhere.
Generated entirely in your browser using the Web Crypto API. Your password is never sent over the network, logged, or stored anywhere — not even temporarily.
Generating…
103 bits of entropy
Character Types
Bulk Generation
Click the button to generate 5 passwords using your current settings.
Security Tips
Use a unique password for every account
Reusing passwords means a single breach compromises every account that shares it. A password manager makes it practical to use unique credentials everywhere.
Use a password manager to store credentials
Tools like Bitwarden, 1Password, and KeePassXC encrypt your credentials locally or in the cloud. You only need to remember one strong master password.
Enable two-factor authentication wherever possible
Even if an attacker obtains your password, 2FA blocks access without the second factor. Enable it on every account that supports it — email and banking accounts first.
Avoid reusing passwords across multiple sites
Credential stuffing attacks test leaked username/password pairs against every major service automatically. Unique passwords make these attacks useless against you.
Advertisement
A password generator creates cryptographically random passwords and passphrases that are far more secure than anything a human would choose. We are terrible at inventing random strings — we reach for familiar words, keyboard patterns, and dictionary terms that attackers anticipate. A secure password generator eliminates that bias entirely by drawing on the browser's built-in cryptographic random number source, the Web Crypto API.
This tool runs entirely in your browser. No data leaves your device, no password is transmitted over the network, and nothing is stored in logs or databases — not even temporarily. You can verify this by disconnecting from the internet and confirming the generator still works.
The generator offers two modes. Character Password mode builds a string from a configurable mix of uppercase letters, lowercase letters, digits, and symbols, at any length from 8 to 64 characters. A real-time strength meter shows entropy in bits so you can immediately see the mathematical impact of each setting. Passphrase mode selects random words from a curated wordlist and joins them with a separator of your choice. Passphrases trade character-set diversity for length, achieving strong entropy while producing something a human can actually remember and type.
Whatever mode you choose, the output is generated using crypto.getRandomValues() — the same API used by browser-based cryptography libraries — with rejection sampling to eliminate modulo bias. This is categorically different from Math.random(), which is not a cryptographic source and must never be used for security-sensitive applications.
How to Use the Password Generator
- 1
Choose a mode
Select "Character Password" for a traditional random string, or "Passphrase" for a sequence of random words. Both are generated locally in your browser the moment you load the page.
- 2
Adjust the settings
For character passwords, drag the length slider and toggle character types on or off. The entropy meter and strength label update instantly as you change settings. For passphrases, set the word count, choose a separator, and toggle capitalisation and number appending.
- 3
Read the strength meter
The entropy value in bits tells you the mathematical strength of the generated password. Aim for at least 60 bits for personal accounts and 80+ bits for anything sensitive. Each additional character or character type multiplies the search space exponentially.
- 4
Copy your password
Click the Copy button to write the password directly to your clipboard without displaying it anywhere else. Use the Regenerate button to produce a fresh password with the same settings without changing any options.
- 5
Generate a batch if needed
Click "Generate 5 more" to produce five additional passwords using your current settings. Each one is independently generated with cryptographic randomness — they are not derived from or related to each other.
Understanding Password Strength
| Field | Description |
|---|---|
| Entropy (bits) | The mathematical measure of unpredictability: length × log₂(pool size). Every additional bit doubles the number of guesses an attacker needs. |
| Pool Size | Total number of distinct characters available at each position. Uppercase (26) + lowercase (26) + numbers (10) + symbols (33) = 95 printable ASCII characters. |
| Length | Number of characters in the password. Has a compounding effect on entropy — each additional character multiplies the search space by the pool size. |
| Passphrase | A sequence of randomly selected dictionary words joined by a separator. Entropy is determined by wordlist size and word count rather than character set. |
| Rejection Sampling | The technique used internally to avoid modulo bias when mapping a random number onto a character pool. Ensures every character has a perfectly equal probability of selection. |
Advertisement
Common Use Cases
Creating an account on a new service
Generate a unique 16+ character password with all character types enabled. Store it immediately in your password manager so you never need to remember it — just copy and paste when you log in.
Replacing a weak or reused password
If a service you use has been involved in a data breach, generate a new password here, update the account, and confirm the new password is saved in your manager before closing the tab.
Creating a memorable master password
Use Passphrase mode to generate a 4–6 word phrase. Master passwords for password managers and encrypted drives need to be both strong and memorisable — passphrases achieve both better than random character strings.
Meeting strict password-policy requirements
Enable all four character types to satisfy policies that require uppercase, lowercase, digits, and symbols. The strength meter confirms compliance at a glance. Use the Exclude Ambiguous option if you must type the password by hand.