Password Generator
Generate a strong random password using your browser's cryptographic random number generator — not Math.random(). Adjust the length (8–64 characters) and toggle uppercase letters, lowercase letters, numbers, and symbols to match any site's password policy. A strength indicator gives instant feedback, and your password is never transmitted anywhere.
Character Sets
Related Tools
[6 suggestions]Random String Generator: Letters, Digits, Symbols or Your Own
Make random strings from letters, digits, symbols or your own characters, with look-alikes left out, no repeats if you want, and the bits of randomness shown.
Developer & WebPassword Strength Checker
Estimate a password's strength in bits and guess time, and check it against NIST length rules, in your browser.
Developer & WebUUID Generator
Generate cryptographically random UUID v4 identifiers instantly, one or in bulk.
Developer & WebBase64 Encoder / Decoder
Easily encode plain text to Base64 format or decode Base64 back to readable text.
Developer & WebQR Code Generator
Make a QR code for a link, text, Wi-Fi login, email, phone number or contact card, and download it as SVG or PNG.
Writing & ContentRandom Number Generator
Pick random numbers between any minimum and maximum, with decimals, no repeats and sorting. Every value is equally likely.
Writing & ContentGuides for the Password Generator
- How to Generate Random Numbers Without Bias
Learn to generate random numbers fairly: why Math.random falls short, what modulo bias is and how rejection sampling fixes it. Tested on 70 million numbers. (November 16, 2026)
- Password Entropy: How to Calculate It and What the Bits Mean
Password entropy explained: the formula, worked examples for random passwords and passphrases, what the bits mean in guesses, and where the maths breaks. (October 21, 2026)
- How Long Should a Password Be? What NIST Says and How to Choose
How long should a password be? NIST says 15 characters at least when it is the only factor. See the math, passphrase options and a tested generator. (October 16, 2026)
- UUID v4 vs v7: Differences, Format and Which One to Use
UUID v4 vs v7 explained: how each is built, how to read the timestamp in a v7, collision odds and which to pick for database keys and public IDs. (October 14, 2026)
About the Password Generator
This tool generates passwords using crypto.getRandomValues(), the Web Cryptography API's cryptographically secure pseudo-random number generator (CSPRNG). Unlike Math.random(), which is deterministic and predictable from a seed, crypto.getRandomValues() draws from the operating system's entropy pool (equivalent to /dev/urandom on Linux), making the output suitable for security-sensitive use. Password strength is estimated based on two factors: the effective alphabet size (how many distinct character types are enabled) and the total length. A 16-character password using all four character sets has approximately 95^16 ≈ 4.4 × 10^31 possible combinations — well beyond brute-force capability. The strength indicator maps to "Weak" (< 8 chars or single character type), "Medium" (8–11 chars with mixed types), or "Strong" (12+ chars with 3+ character types). For passwords that protect sensitive accounts, always use a password manager to store the result rather than memorizing or writing it down.
Is this password generator truly random?▾
Yes — it uses the browser's crypto.getRandomValues() API, which draws from the OS entropy pool. This is cryptographically secure and cannot be predicted, unlike Math.random().
What makes a password "strong"?▾
The strength indicator rates passwords as Strong when they are 12 or more characters long and use at least 3 character types (uppercase, lowercase, numbers, symbols). Longer passwords with more character variety take exponentially longer to crack.
Is my generated password stored anywhere?▾
No — all generation happens entirely in your browser using JavaScript. The password is never sent to any server, logged, or stored. Close the tab and it is gone.