Password Generation: Choosing Length and Character Sets

Open Tool Password Generator

The point is being unguessable

A random password is valuable because it cannot be predicted, while anything a person invents has structure. The generator works from length, count, character sets and an option to drop confusable characters, all locally. Length sets the search space and the alphabet sets options per position: twenty-six for lowercase, thirty-six with digits, about ninety-four across four classes. Twelve characters across four classes gives roughly seventy-eight bits, sixteen exceeds a hundred. Longer output is less likely to contain runs like abc or 123, which randomness removes. But it must also be manageable, or it ends up on a paper note.

Steps

  1. Set the length, twelve to sixteen for everyday accounts.
  2. Set the count so a batch offers rotation and spares.
  3. Choose character sets among uppercase, lowercase, digits and symbols, at least two.
  4. Enable confusable exclusion to drop l against 1 and O against 0 for easier manual checking.
  5. Generate, then copy all, or load a sample first.
  6. Clear the page afterwards and never leave plaintext on shared hardware.

Length first, alphabet second

Lengthening pays far better than widening: twelve to sixteen characters multiplies the space by hundreds of thousands, while adding a class multiplies less than threefold. Excluding confusables shrinks the alphabet but buys error-free transcription, which matters when copying or reading aloud. Confirm the target system accepts the symbols, since older ones reject or silently truncate. Generate more than you need, take one and discard the rest, so nothing pre-generated sits waiting. Avoid quotes and backslashes in symbols, which cause escaping trouble in configs and shells.

Common mistakes

Eight characters with all four classes still falls to modern hardware. Enabling every symbol set produces passwords a system refuses. Generated strings get typed into chat or draft mail. One batch is shared among several people. Supposedly random passwords turn out to be a date plus a name, which real generation avoids. And relying on remember-me instead of a manager means a lost device is a leak.

Where generation is not enough

High-value credentials belong in a manager or a hardware key, not in human memory. Keys and recovery phrases are structured, and a random string in their place cannot be recovered. Corporate policy governs strength and rotation. No password secures a system by itself, since storage and transport on the server matter more. And never move generated results through online channels when offline use is safer.

⏫︎