Password Generator With Requirements

Enter a site's password rules and get a random password that passes every one, with a check for each rule. Free, made in your browser.

  • Free
  • No sign-up
  • Offline once loaded
  • Never sent or stored

Generated password and rule check

    The site's password rules

    How to use the password rules generator

    1. Find the site's password rules, usually shown on the sign-up or change-password page.
    2. Enter the minimum and maximum length and set each character type to Required, Allowed, or Not allowed.
    3. If the site lists which symbols it accepts, type exactly those into "Allowed symbols".
    4. Press Generate and check that every rule shows Passed before you copy the password.

    Options explained

    The password is made at the maximum length when there is one, or 20 characters when there isn't, since longer is stronger. Required types are placed first, the rest is filled from every allowed character, and the result is shuffled with the Web Crypto API. The tool then checks the password against every rule you entered and shows the result in the table above.

    Why sites have rules like these

    Length caps and symbol bans usually come from older systems that store or process passwords in limited fields. NIST's SP 800-63B-4 takes a different position: sites should allow at least 64 characters, accept all printable characters and spaces, and not impose composition rules such as "must contain a symbol." Until every site follows that, a tool like this one gets you a password that works.

    Worked example

    A bank site asks for 8 to 16 characters, at least one uppercase letter, one lowercase letter, one number, and one symbol, and accepts only ! @ # and $. Enter minimum 8, maximum 16, set all four types to Required, and type !@#$ into Allowed symbols. The tool produces a 16-character password from 66 possible characters, about 96 bits, and every rule shows Passed.

    Related tools

    Frequently asked questions

    Why would a site reject a strong password?

    Many sites still run older rules: a maximum length, a short list of allowed symbols, or a ban on spaces. A password that breaks any one of those is rejected even if it's very strong. Entering the site's exact rules here produces a password that passes all of them.

    What if the rules contradict each other?

    The tool tells you which rules conflict, for example a maximum length shorter than the number of required character types, and doesn't generate anything until the conflict is fixed.

    Do strict rules make passwords weaker?

    They can. Fewer allowed characters and a low maximum length both cap how strong a password can be. When that happens the tool shows a warning with the highest strength the rules allow.

    Is the password sent anywhere?

    No. The rules and the password stay in your browser. The tool uses the Web Crypto API and makes no network requests.

    Sources

    1. NIST SP 800-63B-4: Authentication and Authenticator Management, National Institute of Standards and Technology
    2. Crypto: getRandomValues() method, MDN Web Docs