Random Password Generator

Use this Random Password Generator to instantly create strong, secure passwords with full control over length, character sets, and quantity. Each password is generated locally in your browser — nothing is sent to any server.

Random Password Generator

Secure · Local · Instant — no data sent to any server

Password Settings
Length 16
at once
Generated Password
Password Strength
Entropy
Charset Size
Length
Security note: These passwords are generated entirely within your browser using the Web Crypto API (crypto.getRandomValues) when available, or Math.random() as a fallback. No password is ever transmitted to any server or stored anywhere. Generate, copy, and store in a password manager — never in plain text.

What Makes a Password Strong?

Password strength is measured by entropy — the number of bits of randomness a password contains. Higher entropy means more possible combinations, which directly translates to how long it would take an attacker to crack the password by brute force.

Entropy formula: Entropy (bits) = log₂(charset size) × password length. A 16-character password using all four character sets (lowercase + uppercase + numbers + symbols = 95 characters) has entropy of log₂(95) × 16 ≈ 104 bits — astronomically strong against any current or foreseeable brute-force attack.

LengthCharsetEntropyStrengthCrack time (est.)
8 charsLowercase only (26)37.6 bitsWeakMinutes to hours
8 charsMixed + numbers (62)47.6 bitsModerateDays to weeks
12 charsAll sets (95)78.9 bitsStrongCenturies
16 charsAll sets (95)105.2 bitsVery StrongAstronomically long
20 charsAll sets (95)131.5 bitsExtremeBeyond heat death of universe

Password Security Best Practices

Use a password manager. A strong random password is only useful if you can store and retrieve it securely. Password managers (Bitwarden, 1Password, KeePass) encrypt your passwords and fill them automatically — you only need to remember one master password.
Never reuse passwords. If one account is breached and you reuse passwords, attackers try the same credentials on every other service (credential stuffing). Every account should have a unique, randomly generated password.
Use 2-factor authentication (2FA). Even the strongest password can be phished. 2FA adds a second layer — a time-based code from an authenticator app — that an attacker cannot steal with your password alone. Enable it on every important account.
Longer beats complex. A 20-character random password with only lowercase letters has more entropy than a 10-character password with all character sets. For passwords you do need to memorize, use a passphrase — four random words are both memorable and strong.
Never store passwords in plain text. Not in notes apps, spreadsheets, browser address bars, emails to yourself, or sticky notes. If a device is compromised and passwords are in plain text, every account is immediately exposed.
Check for breaches. Services like Have I Been Pwned (haveibeenpwned.com) let you check if your email address or passwords have appeared in known data breaches. If a password appears in breach data, change it immediately even if it is strong.

Frequently Asked Questions

Is this password generator truly random?

This generator uses the Web Crypto API (window.crypto.getRandomValues) when available in your browser — which is a cryptographically secure pseudorandom number generator (CSPRNG) suitable for generating passwords and cryptographic keys. This is the same API used by password managers and security software. Math.random() is used as a fallback in environments where the Web Crypto API is unavailable, though Math.random() is not cryptographically secure and should be considered a fallback only.

Are my generated passwords stored or sent anywhere?

No. All password generation happens entirely within your browser in JavaScript. No network requests are made. No passwords are logged, transmitted, or stored anywhere outside your browser tab. You can verify this by generating passwords while your device is in airplane mode — they will generate identically. Once you close or refresh the page, the passwords are gone.

How long should my password be?

For most accounts, 16 characters using all character sets provides more than sufficient security against any current brute-force attack — approximately 105 bits of entropy. For highly sensitive accounts (banking, email, password manager master password), 20 to 24 characters is a reasonable target. For anything stored in a password manager rather than memorized, there is no practical reason not to use 32 characters or more — it costs nothing and significantly increases future-proofing against computational advances.

What are ambiguous characters and why exclude them?

Ambiguous characters are those that look visually similar in certain fonts and can be confused when reading a password manually: lowercase L (l), uppercase i (I), number one (1), lowercase o (o), uppercase O (O), number zero (0), pipe (|), backtick (`), and certain quote marks. Excluding them only matters if you ever need to type the password manually. For passwords stored in a password manager and filled automatically, there is no reason to exclude them — doing so slightly reduces entropy.

What is password entropy and why does it matter?

Entropy measures the number of equally likely possibilities a password could be — expressed in bits. One bit of entropy doubles the number of possibilities. A password with 50 bits of entropy has 2 to the power of 50 (about one quadrillion) possible combinations. Entropy is calculated as log₂(charset size) multiplied by password length. It is the mathematically correct way to measure password strength — not arbitrary rules about requiring uppercase and lowercase, which add far less security than simply adding more random characters.

References

1
NIST Special Publication 800-63B — Digital Identity Guidelines: Authentication and Lifecycle Management National Institute of Standards and Technology. 2017 (updated 2020) pages.nist.gov/800-63-3/sp800-63b.html
2
Web Cryptography API — W3C Recommendation World Wide Web Consortium (W3C). 2017 w3.org/TR/WebCryptoAPI
3
Password Security: An Analysis of Password Strength Meters de Carné de Carnavalet X, Mannan M. IEEE Transactions on Information Forensics and Security. 2014 ieeexplore.ieee.org/document/6782867
4
Measuring Password Guessability for an Entire University Ur B et al. ACM CCS. 2013 dl.acm.org/doi/10.1145/2508859.2516726
5
Have I Been Pwned — data breach aggregation service Troy Hunt. haveibeenpwned.com haveibeenpwned.com
6
Shannon entropy and information theory in cryptographic applications Shannon CE. A Mathematical Theory of Communication. Bell System Technical Journal. 1948 Shannon 1948 — original entropy paper
Copied!

Ethan builds the interactive health calculators on Height Growth Blog. Based in Denver, Colorado, he combines a software engineering background with a focus on evidence-based health tech, turning dense clinical guidelines — from CDC growth charts to NIH/IOM dietary references — into tools parents and teens can use in under a minute. Every calculator on the site, from BMI Percentile to Body Fat and Calcium Intake, is built directly from primary sources (NIH, AAP, CDC, Mayo Clinic) and cross-checked against peer-reviewed studies before launch.

Height Growth Blog – Maximize Height for Kids, Teens & Young Adults
Logo
Enable registration in settings - general
Shopping cart