Password Generator

Generate strong random passwords and memorable XKCD-style passphrases.

20

Strong Password Generator

Generate cryptographically secure passwords using the Web Crypto API. Choose between random character passwords for maximum entropy or XKCD-style memorable passphrases that are easy to remember but hard to crack.

XKCD Passphrase Method

Inspired by XKCD comic #936, the memorable passphrase mode combines random words from a curated wordlist. A 4-word passphrase like "Horse-Battery-Staple-Correct" has approximately 39 bits of entropy — stronger than most complex 8-character passwords, and much easier to remember.

Password Entropy Explained

Entropy measures the randomness (and therefore the strength) of a password in bits. A password with N bits of entropy would take 2^N guesses to crack by brute force. For reference: 40 bits = weak, 60 bits = fair, 80 bits = strong, 100+ bits = very strong.

Best Practices

  • Use at least 16 characters for random passwords
  • Use at least 4 words for memorable passphrases
  • Never reuse passwords across different accounts
  • Use a password manager to store generated passwords
  • Enable two-factor authentication (2FA) wherever possible

Features

  • Two modes: random characters and XKCD-style memorable passphrases
  • Cryptographically secure (Web Crypto API)
  • Entropy calculation and strength meter
  • Customizable length, character sets, word count, and separators
  • Bulk generation — up to 25 passwords at once
  • 100% client-side — passwords never leave your browser