Password policy generator
Click the password to copy it.
How is this calculated?
20 characters drawn uniformly from the 94 characters this policy accepts, with at least one uppercase letter, lowercase letter, digit and symbol. That satisfies "3 of 4 types" rules too. A password that breaks any other rule below is discarded and redrawn.
NIST SP 800-63B-4 requirements
- Applies to passwords used as the only authentication factor; 8 characters is the minimum when combined with another factor.
- Services should accept at least 64 characters (we generate up to 64) and must not require mixes of character types or periodic changes.
- Services must also screen passwords against lists of common or breached passwords.
Source: NIST SP 800-63B-4 (final, July 2025) · checked 9 November 2026. Organizations can change these settings — your own system is the final word.
NIST SP 800-63B-4 policy text
Passwords used as the only authentication factor must be at least 15 characters long; passwords used only together with another factor (multi-factor authentication) must be at least 8 characters. Passwords of at least 64 characters should be accepted, including all printing ASCII characters, the space character and Unicode. No other composition rules (such as required mixtures of character types) apply, and passwords are not changed on a schedule — only when there is evidence of compromise. New passwords are checked against a blocklist of commonly used, expected or compromised passwords. Password hints and knowledge-based security questions are not used.
Where to set it
- NIST SP 800-63B-4 is a guideline, not a product setting. You enforce it in whatever verifies the passwords — your identity provider, directory or application.
- In that system: set the minimum length to 15 (8 if a second factor is always required) and the maximum to at least 64, turn off character-type rules and scheduled expiry, and turn on a common/breached-password blocklist.
Source: NIST SP 800-63B-4 (final, July 2025) · checked 9 November 2026. Menu names can change between product versions.
Generated on your device with the Web Crypto API. Never sent anywhere, never stored. How it works
Key facts
- NIST SP 800-63B-4: at least 15 characters for passwords used as the only factor, and no composition rules.
- Microsoft Entra ID: 8–256 characters with at least 3 of 4 character types.
- AWS IAM accepts only these symbols:
! @ # $ % ^ & * ( ) _ + - = [ ] { } | '. - PCI DSS v4.0.1 requirement 8.3.6: at least 12 characters containing both letters and digits.
- Apple Account: at least 8 characters with an uppercase letter, a lowercase letter and a digit, and no character three times in a row.
- Active Directory complexity: 3 of 4 character types, and the password must not contain the account name.
- Each preset includes plain-language policy text you can copy and the documented place to configure it — or a note when the vendor fixes the rules.
Last reviewed
Why policy presets?
Every system has its own rules. AWS accepts only some symbols; Active Directory wants three of four character types and no username; PCI DSS sets a 12-character floor. Guessing wrong means a rejected password, a retry, and often a weaker password typed in frustration. Pick the system and get a password that is accepted first time — and still fully random.
To see every preset side by side, read password requirements by platform.
Copy the policy text
Below each preset's checklist you'll find the same rules written as a short policy statement you can paste into an internal policy, onboarding guide or help-desk article, plus the documented place where the setting lives (a Group Policy path, an admin console menu, a CLI command or SQL). Some rules can't be changed at all — Entra ID's length and complexity, GitHub and Apple Account — and the preset says so. NIST SP 800-63B-4 and PCI DSS are standards rather than products, so you enforce them in your own identity provider, directory or application.
How we meet each policy
We always use the same unbiased generator as our random password generator. For a policy, we require all four character types (which also satisfies "three of four" rules), keep the length inside the policy's limits, and leave out any symbols the system doesn't accept. The checklist then verifies the actual password against the rules.
Policies change — and so do organizations
Administrators can tighten defaults (longer minimums, extra banned words), and vendors update their rules. We link to the vendor documentation we checked and the date we checked it. If your system rejects a password, its error message is the source of truth — tell us via the contact page and we'll review the preset.
Policy rules aren't the same as strength
Composition rules like "one uppercase, one symbol" were meant to make human-chosen passwords stronger, but people respond predictably (Password1!). That's why current NIST guidance drops them in favor of length and blocklists. For a random password, length is what matters — set it as long as the system allows.
Frequently asked questions
Is my account name sent anywhere?
Why is the maximum length 128?
Can I use the policy text in my own documentation?
Can you add another system?
Related guides
- Password requirements by platform, comparedPassword rules side by side for NIST, Microsoft Entra ID, Active Directory, AWS IAM, Google Workspace, PCI DSS, GitHub, Apple, Salesforce and Oracle.
- NIST password guidelines explained (SP 800-63B-4)What NIST SP 800-63B-4 requires for passwords: 15-character minimum, no complexity rules or forced expiry, blocklists, and what changed from the 2017 version.
- How often should you change your password?Why security agencies no longer recommend changing passwords on a schedule, the situations where you should change one right away, and what to do instead.
More generators
- Password generatorRandom passwords with full control over length and characters.
- Passphrase generatorMemorable word-based passphrases from the EFF wordlist.
- PIN generatorUniform random numeric PINs, 4–12 digits.
- Wi-Fi password generatorWPA2/WPA3 passphrases that are easy to type on any device.
- Bulk password generatorUp to 100 independent passwords at once.
- Password strength checkerCheck how guessable a password is — entirely on your device.
- API key generatorRandom 128–512-bit keys, tokens and secrets for developers.
- Entropy calculatorBits of entropy and time-to-guess for any random password scheme.