Four Password Modes on Web Crypto
Generate one password at a time with browser Web Crypto. Random mode lets you choose character groups and require a character from each enabled group. Numeric PIN uses digits; Pattern alternates consonants and vowels. Memorable joins complete words from a small 30-word list and is a constrained demonstration, not a large-list passphrase generator.
| Mode | Length rule | Main limitation |
|---|---|---|
| Random | Exactly the selected length | Character requirements change the distribution; no exact entropy score is displayed. |
| Numeric PIN | Exactly the selected length | A digit string alone does not provide rate limiting or expiry. |
| Pattern | Exactly the selected length | Each position has a constrained consonant or vowel pool. |
| Memorable | At least the selected length | Whole words and hyphens can exceed the target; the list has only 30 entries. |
Setting Up a Password for a Service With Rules
- Choose a mode and a whole-number length from 6 to 64. Follow the target service's requirements.
- In Random mode, enable at least one character group. Exclusion controls apply to Random mode.
- Click New Password after changing settings. The displayed mode describes the last generated output.
- Copy the result. If permission is denied, select the displayed text and copy manually.
- Use Clear History to remove previous results from this component's session history.
Random mode can help create a new credential for a service whose format requirements you know. A generated numeric string does not provision an account, activate an OTP, or replace server-side validation. Check permitted characters and maximum length before saving a result.
What Stays in the Page, and What This Cannot Promise
Generation and the last eight results stay in this component's React memory; this component does not persist that history to browser storage. Clear History removes previous results, while the current result remains visible. Reloading removes this component's session state. This describes the component, not every script or storage feature on the site.
Picks use browser Web Crypto (MDN explains the browser randomness source) with rejection sampling, and Random mode mixes the characters with a Fisher-Yates shuffle. That makes the source of randomness sound, but Random, PIN, Pattern and the small word list still have different distributions, so a secure source alone does not make every mode suitable for important credentials. Clipboard contents on your device are separate from this page's history.
No universal crack time is claimed; NIST authentication guidance supports password managers and notes that password requirements depend on the authentication context. Attack cost depends on the service's password hashing, rate limits and an attacker's information. The small word list and patterned modes should not be presented as high-entropy master passwords.
Share This Tool
Share this free password generator with friends and colleagues!