Password generator
Generate passwords locally with a length slider, character controls and pattern templates. Use secure browser randomness and keep the result in your password manager. Patterns keep positions and literal characters fixed. Use them for site requirements; fewer random choices can weaken a password. Character switches apply only in random-character mode.
Free to use. No email or account required.
Bookmark
Bookmark this tool
Save this short link in your browser’s bookmarks.
Paste this link into the address of a new or existing bookmark.
On desktop, drag Password generator to your bookmarks bar.
Only the tool’s link is shared. Your inputs and results are not included.
Share
Your inputs
Edit the example inputs to match your task. Adjust the options, then generate a fresh password. Results stay in this page’s memory.
Calculations run in your browser. Inputs are not saved or sent to analytics.
How it works
- → Generated password
- Web Crypto supplies random bytes. Rejection sampling avoids modulo bias. Random mode samples uniformly from the allowed set; the optional per-group rule rejects whole candidates until all selected groups occur. Pattern mode independently samples each slot and preserves literals and order. No Math.random fallback.
Input and formula key
Your result
Complete the inputs to see your result.
Sources
- MDN — Crypto.getRandomValuesSources reviewed: 2026-11-07
Assumptions and limitations
8–128 characters; printable ASCII only. Templates are a documented KeePass-style subset, not a universal standard or full KeePass compatibility. Fixed positions and exclusions reduce choices. No site-policy, breach, crack-time or strength certification; no password saving/recovery. Protect clipboard and downloaded copies.
How to use this tool
Set up the inputs
Choose random characters or a pattern template. Set length with the slider or exact value, adjust allowed groups and symbols, then Generate. Copy only a result you intend to keep in your password manager.
Understand the result
Patterns keep positions and literal characters fixed. Use them for site requirements; fewer random choices can weaken a password. Character switches apply only in random-character mode.
Worked examples
-
Generate a password for an alphanumeric field
The A{32} template generates 32 random ASCII letters and digits; each run produces a new value.
Frequently asked questions
What are the limits of this tool?
8–128 characters; printable ASCII only. Templates are a documented KeePass-style subset, not a universal standard or full KeePass compatibility. Fixed positions and exclusions reduce choices. No site-policy, breach, crack-time or strength certification; no password saving/recovery. Protect clipboard and downloaded copies.
How should I interpret the result?
Web Crypto supplies random bytes. Rejection sampling avoids modulo bias. Random mode samples uniformly from the allowed set; the optional per-group rule rejects whole candidates until all selected groups occur. Pattern mode independently samples each slot and preserves literals and order. No Math.random fallback.
Processing and privacy
The calculation or transformation runs in your browser. The tool does not send its input values or generated output to an application server. Loading a page still makes infrastructure requests; optional analytics and Google consent messages have separate controls.
Privacy Policy. Privacy & preferences in the footer controls optional analytics.
Help and feedback
Consult the linked sources for definitions and reference data. Contact Support if you have a question or notice a problem.
Read about calculation methods · Report a problem to emonster



