Password Security

Password and passphrase generator

Generate a random password or EFF-wordlist passphrase locally.

Runs 100% locally in your browser — your input is never sent or saved

Password and passphrase generator

Output type
Required character classes

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

  1. Choose Password for maximum character density or Passphrase for memorable EFF Diceware words.
  2. Set your length (16–24 characters for passwords, or 5–6 words for passphrases) and select character classes.
  3. Click Generate to create a new value locally in your browser memory using WebCrypto.
  4. 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.

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.

Save in Lockera