About this tool
This generator creates random passwords in your browser for new accounts, password resets and shared credentials that need to meet a site's rules. You set the length from 4 to 128 characters and choose uppercase letters, lowercase letters, digits and symbols. A random password is one where every character is chosen unpredictably from an allowed set, so it cannot be derived from words, names or patterns.
How it works
Choose a length from 4 to 128 characters and the character groups you want: uppercase, lowercase, digits and symbols. Optionally exclude look-alike characters such as I, l, 1, O, 0 and o, or type specific characters a site does not allow. Then generate up to 20 passwords at once and copy the one you need.
Browser Web Crypto supplies the randomness. Rejection sampling avoids biased character selection and ensures every selected group is present. Changing settings clears previous results, and reset or reload discards them. Nothing is uploaded, saved or put into a share URL.
Example
With the default settings, a 20-character password draws from 87 characters: 26 uppercase letters, 26 lowercase letters, 10 digits and 25 symbols. That allows roughly 2^128.9 combinations, or about 129 bits of strength, far beyond what guessing attacks can reach.
For a website that disallows symbols, turn Symbols off and generate a 20-character password using uppercase, lowercase and digits. The pool drops to 62 characters, still about 119 bits. If you will type it by hand, also enable the look-alike exclusion: the pool becomes 56 characters and a 20-character password keeps about 116 bits.
Assumptions and limits
The tool generates passwords only; it does not store them, check whether they have appeared in breaches or test them against a specific site's rules. Requiring every selected group and excluding characters both slightly reduce the number of possible passwords. Copied passwords may remain in your clipboard history.
Frequently asked questions
Are generated passwords stored or sent to a server?
No. Generation happens on your device, and the tool does not persist passwords, log them or include them in share links. Your clipboard or password manager may store them after you copy. On a shared computer, clear the clipboard history after you have saved the password.
What makes a password stronger?
Long, randomly generated and unique passwords resist guessing better than short or reused passwords. Use a different password for every account and enable multi-factor authentication. Character exclusions reduce the available pool.
How long should a password be?
Longer is stronger, because each added character multiplies the number of possible combinations. Many security guidelines treat 12 to 16 random characters as a reasonable minimum, and this tool defaults to 20. Use the longest length the site accepts when a password manager will store it.
Are look-alike characters a security risk?
No. Characters such as O and 0 or l and 1 are only a usability issue when you read or type a password by hand. Excluding them makes manual entry easier at the cost of a slightly smaller character pool, which a longer length offsets.
Should I use a password or a passphrase?
Both can be strong if they are long and randomly generated. A random character password packs more strength into fewer characters, while a passphrase of random words is easier to type and remember. This tool generates character passwords only.
Link with your values
Add these parameters to this page’s address to open it with the values filled in, for example to share a calculation or to link to it from an AI assistant. The result is calculated in the browser: the page HTML shows an example for the default values, and the tool sets the data-url-params attribute once the link’s values are applied.
| Parameter | Value | If omitted |
|---|---|---|
lengthPassword length (4–128) | whole number; allowed 4–128 | default 20 |
countNumber of passwords (1–20) | whole number; allowed 1–20 | default 1 |
uppercaseUppercase (A–Z) | true or false | default true |
lowercaseLowercase (a–z) | true or false | default true |
digitsNumbers (0–9) | true or false | default true |
symbolsSymbols (!@#$…) | true or false | default true |
avoid_ambiguousAvoid look-alike characters (I l 1 O 0 o |) | true or false | default false |
excludeAdditional characters to exclude (optional) | text; your own text; Copy link includes it | optional |
Examples
?length=32&symbols=false?length=16&count=5&avoid_ambiguous=true&exclude=%7B%7D%5B%5D
Write decimals with a point. Encode a space as %20, + as %2B, # as %23 and & as %26.
Result elements: [data-result-block="passwords"]