Random password guide: length, character rules and careful handling
Use this generator to create a fresh random password for a service that accepts the selected length and characters. Passwords are generated on request and hidden initially. A generated string is not a guarantee of account security: uniqueness, storage and the service's authentication controls also matter.
How to generate and use a password
Set a whole-number length from 8 to 64, choose at least one character group and click Generate. Use Show password only when you want to reveal it, or Copy to transfer the exact value. Save it in your password manager before leaving. Changing a rule clears the output instead of silently keeping a password made with different settings.
How random selection works
The generator uses the browser's crypto.getRandomValues API. Rejection sampling avoids modulo bias when choosing character indexes. If every selected group is required, it generates a complete candidate and retries when a group is missing, rather than inserting fixed category characters. If Web Crypto is unavailable or generation fails, no password is produced and there is no Math.random fallback.
Length matters more than checking every box
The default length is 16, but it is a starting choice, not certification for every account. Choose a longer random password where supported and use a unique password for each service. Short numeric-only outputs have far fewer possibilities than longer outputs from a larger alphabet. This page does not assign a universal strength score or predict a cracking time.
Do I have to include symbols or every character group?
No. Match the destination's actual rules. Requiring one character from each selected group can satisfy a site's composition policy, but it is not inherently required for every good password. The symbol option uses the complete set displayed above, including punctuation and brackets; some services reject part of that set. Verify compatibility before saving a new credential.
What does excluding similar characters change?
This option removes only uppercase O, digit 0, uppercase I and lowercase l from the chosen groups. It can help with manual transcription, but reduces the available alphabet and does not remove all look-alike characters. Copying avoids some transcription mistakes; always check the destination accepted the intended value.
What does browser-side generation mean?
The generation function runs in this page and does not submit the password to a server or intentionally save it in browser storage. The website still loads shared resources and scripts; local computation is not a claim that the whole page is offline or isolated from other scripts. Use a browser and device you trust.
Copying, hiding and clearing are different actions
Hide masks the current field without changing its value. Clear output removes it from this interface and disables copying, but does not clear your system clipboard or guarantee erasure of browser memory. Clipboard history or synchronization may retain a copied value. Share neither the generated password nor screenshots that reveal it.
Why can generation or copying fail?
Generation needs a valid integer length, at least one character group and working Web Crypto. Invalid settings do not fall back to a weaker random source or an old output. Clipboard permissions and browser support can affect Copy; success is reported only after a supported copy operation completes. If copying fails, reveal and select the value manually.
A password is one part of protecting an account
Store unique passwords in a trusted password manager rather than reusing them. Enable multi-factor authentication or passkeys when offered. A long random password does not prevent phishing, malware or a compromised service, and this tool does not assess those risks for a particular account.