Custom Password Generator

Set your own rules: minimum counts, forbidden characters, position constraints, or a pattern template.
Client-side · verifiable
How this tool works

Some systems have strange rules: “must start with a letter”, “no more than two digits”, “only these six symbols”, “exactly 14 characters”. Rather than regenerate until something fits, describe the rules and let the generator satisfy them directly.

Rules mode takes a length, a minimum count for each character type, an exclusion list and two positional flags. The generator places the required characters first, fills the rest from the union of allowed sets, shuffles with a secure Fisher–Yates pass, then applies the positional rules.

Pattern mode is a tiny template language:

  • A uppercase, a lowercase, 9 digit, # symbol, x any character, ? letter or digit
  • C/c consonant, V/v vowel for pronounceable chunks, H/h hex digits
  • anything in quotes is copied literally; other characters pass through as separators

The entropy estimate counts only the random positions, so a pattern with lots of literal text shows honestly low bits.

Security note

What leaves your browser

Rules and patterns are evaluated in your browser. Nothing is transmitted or stored.

FAQ
Do composition rules make passwords stronger?

Slightly, and sometimes they make them weaker by shrinking the search space or nudging people toward predictable shapes. Length is what matters; rules are for compatibility.

Why does the pattern password show fewer bits than a random one?

Fixed positions and literals carry no entropy. A pattern like Cvcc-9999 has 8 random positions from small sets, so about 30 bits. Add length or use x for full-alphabet positions.

Can I save my rules?

Not on the server, by design. Bookmark the page and re-enter them; it takes a few seconds.