Password Generator

Generate strong, random passwords right in your browser — your passwords never leave your device.

Runs in your browserUpdated Built and maintained by Leon and Henrik

Generate a strong, random password in your browser — nothing is uploaded. Free. No sign-up. Runs in your browser, nothing is uploaded.

Password Generator
Select at least one character type
Strong
16
Runs in your browser
Nothing is uploaded

Set the length (6 to 48 characters, 16 by default), choose which character types to include, and a new random password appears instantly — Copy puts it on your clipboard, the refresh button draws another. For an online account you'll store in a password manager, 16 characters with all four types is a solid default; for something attackers could test offline, go to 20.

How long is long enough?

A password's strength is its entropy: length × log₂(pool size). A bigger pool adds a little per character; length adds a lot. These are the bits per character for each combination of the tool's toggles, and the length you'd need to reach two common targets:

Character typesPool sizeBits per characterLength for 80 bitsLength for 128 bits
Numbers only103.322539
Lowercase264.701828
Lowercase + numbers365.171625
Upper + lowercase525.701523
Letters + numbers625.951422
All four (23 symbols)856.411320

80 bits is out of reach for brute force at current speeds even against a fast, leaked hash; 128 bits is the size of a strong encryption key. A 16-character password with all four types sits at about 102 bits. Notice that dropping symbols only costs you two characters at the 128-bit level — length is the lever that matters.

What the strength meter measures — and what it doesn't

The meter is a quick guide based on length × number of character types, not a full entropy calculation:

ExampleMeter shows
8 characters, 2 typesWeak
12 characters, 4 typesFair
16 characters, 4 typesStrong
28 characters, 4 typesVery strong

Because these passwords are truly random, length and pool are all that matter, and the meter's ranking holds up. That's not true for passwords you invent yourself: Summer2026! has four character types and 11 characters but follows a pattern every cracking tool tries early. A meter can't see patterns; randomness avoids them.

When a site rejects your password

  • "Contains invalid characters." Some sites refuse certain symbols, often brackets, semicolons or quotes. Untick Symbols and add two or three characters to make up the difference: 18 letters-and-numbers beat 16 with symbols.
  • "Maximum 16 characters." Annoying, but it happens. Use the full 16 with all four types; that's still around 100 bits.
  • Reading it aloud or typing it from paper. Tick avoid look-alike characters so nobody confuses l with 1 or O with 0.
  • Wi-Fi keys. WPA2 and WPA3 personal passphrases can be 8 to 63 characters. A 20-character letters-and-numbers key is strong and still typeable on a TV; turn it into a scannable QR code so guests don't have to type it at all.

Random password or passphrase?

Use a random password when software remembers it for you: anything stored in a password manager or browser keychain. When you have to remember and type it yourself — the manager's master password, a computer login — a passphrase of several random words is easier to recall at the same strength.

Two habits matter more than any generator: never reuse a password across accounts, and turn on two-factor authentication wherever it's offered, so a leaked password alone isn't enough.

Frequently asked questions