Secure Password Generator
Generate a strong random password locally with selectable character sets and an estimated search-space size.
Generation runs locally in your browser and uses the Web Crypto API where available. The entropy figure is a theoretical estimate, not a guarantee. Use a password manager and a unique password for every account.
How to use this calculator
Choose a long password and include several character groups unless the target service restricts them. Generate again for a different value, then save the result in a reputable password manager rather than reusing or memorising predictable patterns.
Formula
Characters are selected with a cryptographically secure browser random-number source. Estimated entropy = length × log₂(character-pool size), assuming independent uniform selection.
Calculator credits
Calculator developmentJulia Edwards
Editorial supervisionSamad Aslam Khan
Published byThe Calculatorz
Last updated
Read how we research, test, review and correct our calculators in our editorial policy.
Frequently asked questions
Is the generated password sent to the website server?
No. The calculator code generates it in the browser; it is not submitted by this form.
What length should I choose?
Longer is generally stronger. Follow the service policy and prefer at least 15 characters when you create a password yourself.
What if a website rejects symbols?
Exclude symbols, increase the length, and still keep uppercase, lowercase and numbers where permitted.
Should I use a password manager?
Yes, for most people. A password manager lets you use a unique, strong password for every account without having to remember them all.
What makes a password strong?
Length matters most. Long, random passwords or passphrases are much harder to guess. Never reuse passwords across sites, and turn on multi-factor authentication where possible.
How long would it take to crack a 16-character random password?
A truly random 16-character password from about 94 printable characters has roughly 105 bits of entropy. Guessing it by brute force is not practical with current technology, provided it is unique and stored securely.
References & methodology sources
These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.
- National Institute of Standards and Technology. (2025). Digital identity guidelines: Authentication and authenticator management (NIST SP 800-63B-4). View source
- National Institute of Standards and Technology. (2025). SP 800-63B: Authentication and authenticator management. View source
- Cybersecurity and Infrastructure Security Agency. (n.d.). Use strong passwords. View source
- Bonneau, J., Herley, C., van Oorschot, P. C., & Stajano, F. (2012). The quest to replace passwords: A framework for comparative evaluation of web authentication schemes. 2012 IEEE Symposium on Security and Privacy, 553–567. View source
- Shannon, C. E. (1948). A mathematical theory of communication. Bell System Technical Journal, 27(3), 379–423. View source