Password Security
Password and passphrase generator
Generate a random password or EFF-wordlist passphrase locally.
Password and passphrase generator
Generated value
What is a password generator?
A password generator is a tool that creates strong, unique passwords using cryptographically secure randomness, configurable length, and character sets. Using a unique generated password for every account prevents credential stuffing attacks if one service is breached.
How to generate a strong password
- Choose Password for maximum character density or Passphrase for memorable EFF Diceware words.
- Set your length (16–24 characters for passwords, or 5–6 words for passphrases) and select character classes.
- Click Generate to create a new value locally in your browser memory using WebCrypto.
- Click Copy and store the unique credential inside a zero-knowledge password manager like Lockera.
How Lockera's password generator works
- Randomness comes directly from your browser's WebCrypto CSPRNG (crypto.getRandomValues) — never Math.random().
- Unbiased rejection sampling eliminates modulo bias so every character or EFF wordlist entry has equal probability.
- All computation happens inside your tab with a strict Content Security Policy (connect-src 'none') preventing network transmission.
Security guidance & limitations
- A strong password only protects you if it is unique to one account — never reuse generated passwords across sites.
- Copying a password places it on your operating system clipboard; clear or overwrite your clipboard after pasting.
- Do not store generated passwords in plaintext notes or spreadsheets; save them in an encrypted vault.
Frequently asked questions
Are generated passwords sent to Lockera servers?
No. Generation runs strictly inside your browser with WebCrypto and zero outbound network requests. Lockera never sees or stores what you generate.
Should I choose a random password or a Diceware passphrase?
Use a 20–24 character random password for accounts stored in a password manager. Use a 5–6 word EFF Diceware passphrase for master passwords or device passcodes you must type by hand.
Why does length matter more than complex symbols?
Each additional character multiplies the search space exponentially. A 20-character password with standard letters and numbers has far higher entropy than an 8-character password with symbols.
Related free security tools
- Open tool
Password strength checker
Estimate password entropy in bits and spot common patterns, dictionary words, and length weaknesses locally.
- Open tool
Password leak checker
Check if a password was exposed in known data breaches using 5-character SHA-1 k-anonymity range lookup.
- Open tool
TOTP and 2FA tester
Verify RFC 6238 one-time authenticator codes from a Base32 secret or QR URI locally with live countdown.
- Open tool
URL and domain lookalike inspector
Compare any URL against a reference domain to detect Unicode homoglyphs, mixed scripts, and typosquatting.
This check runs in your browser. Your password, score, and domain inputs are not sent to Lockera, this site’s server, or another service, and this site does not save them.
This site has no analytics or error tracking. Tool inputs are never placed in this site’s URLs.
Save your password securely with Lockera
Generated a strong password? Keep it sealed with Argon2id and XChaCha20-Poly1305 in your free Lockera vault so you never have to memorize or reuse credentials.
Opens a blank Lockera login form. Nothing from this page is attached; enter only what you choose to save.