Generate a random password locally using the browser’s cryptographic random-number generator.
How to generate a password
- Choose a whole-number length between 8 and 128. The default is 20; check the receiving site’s length limits.
- Select the character groups the site accepts. Each selected group will appear at least once in the generated result.
- Choose Generate Password, then copy the result. Changing any option clears the previous password so you cannot accidentally copy a result made with older settings.
For example, selecting only Numbers and a length of 12 creates a 12-digit string; it may start with zero. This is a format example, not a recommendation to use numeric-only account passwords. Symbols come from this exact set: !@#$%^&*()-_=+[]{};:,.?. The generator does not produce spaces, accented characters or emoji.
Randomness method
The generator uses crypto.getRandomValues() and rejection sampling so character selection does not rely on Math.random().
One character is selected from each enabled group, the remaining positions are filled from the combined alphabet, and the result is shuffled. Rejection sampling avoids modulo bias in each random choice. Because the generator enforces selected groups, it does not claim uniform sampling across every possible password string.
If the browser’s cryptographic random source is unavailable or throws an error, generation stops and the output stays empty. It does not fall back to a weaker random source. See MDN’s getRandomValues documentation for the browser API.
Copying, clearing and practical limits
The generator script does not upload passwords or save them in browser storage. Copy places the result on your clipboard. Clear removes the displayed value, but cannot erase clipboard history, screenshots or copies already made. If automatic copy is unavailable, the output is selected for manual copying.
Generated values are not checked against a breach database or a particular site’s policy. Random generation can repeat a previous value; this tool does not promise uniqueness or certify the device, browser or account as secure. Avoid reusing a password across accounts.
A generated password is only one part of account security. Store passwords in a reputable password manager and enable multi-factor authentication where available.