Random Password Generator

Generate a strong, random password with a custom length and character set, including options to avoid ambiguous characters. Create passphrase-length passwords for a password manager's master password or match a specific site's policy, instantly in your browser with nothing saved or transmitted.

Generated password

Select at least one character type.

16
Character types to include

Usage examples

Creating a strong password for a new account

Not sure what password to use when signing up? Instantly generate one 16+ characters long that includes uppercase, lowercase, numbers, and symbols.

Avoiding confusing characters when copying by hand

Need to write down or read out a Wi-Fi password? Turn on "Exclude ambiguous characters" to skip easily-confused characters like I, l, 1, O, and 0.

Matching a site's specific password policy

Site doesn't allow symbols or has a length limit? Adjust the length slider and toggle character types to match that site's requirements.

Generating a passphrase-length password for a password manager's master password

Protecting the one password that unlocks all the others? Drag the length slider up to 64 characters and keep every character type on for maximum entropy — you only have to remember this one, so make it as long as you're comfortable typing.

Creating many unique passwords in a row for old reused accounts

Cleaning up years of reused passwords? Click Regenerate repeatedly to produce a fresh, independent password for each account, copying one at a time into your password manager as you go.

Setting a temporary guest network password

Handing out Wi-Fi access for a party or office guest? Generate a shorter password with only letters and numbers enabled, then turn on "Exclude ambiguous characters" so guests can type it correctly on the first try.

Quick reference

Entropy (bits) and strength by length and character set

LengthNumbers (0-9) (10)Lowercase (a-z) (26)Uppercase (A-Z) + Lowercase (a-z) (52)Uppercase (A-Z) + Lowercase (a-z) + Numbers (0-9) (62)Uppercase (A-Z) + Lowercase (a-z) + Numbers (0-9) + Symbols (!@#$%^&*) (88)
413.3 bits · Weak18.8 bits · Weak22.8 bits · Weak23.8 bits · Weak25.8 bits · Weak
619.9 bits · Weak28.2 bits · Weak34.2 bits · Weak35.7 bits · Weak38.8 bits · Weak
826.6 bits · Weak37.6 bits · Weak45.6 bits · Fair47.6 bits · Fair51.7 bits · Fair
1033.2 bits · Weak47.0 bits · Fair57.0 bits · Fair59.5 bits · Fair64.6 bits · Strong
1239.9 bits · Weak56.4 bits · Fair68.4 bits · Strong71.5 bits · Strong77.5 bits · Strong
1446.5 bits · Fair65.8 bits · Strong79.8 bits · Strong83.4 bits · Very strong90.4 bits · Very strong
1653.2 bits · Fair75.2 bits · Strong91.2 bits · Very strong95.3 bits · Very strong103.4 bits · Very strong
2066.4 bits · Strong94.0 bits · Very strong114.0 bits · Very strong119.1 bits · Very strong129.2 bits · Very strong
2479.7 bits · Strong112.8 bits · Very strong136.8 bits · Very strong142.9 bits · Very strong155.0 bits · Very strong
32106.3 bits · Very strong150.4 bits · Very strong182.4 bits · Very strong190.5 bits · Very strong206.7 bits · Very strong
48159.5 bits · Very strong225.6 bits · Very strong273.6 bits · Very strong285.8 bits · Very strong310.1 bits · Very strong
64212.6 bits · Very strong300.8 bits · Very strong364.8 bits · Very strong381.1 bits · Very strong413.4 bits · Very strong

Character pool size and bits per character

Character setPool sizeBits / charPool size (ambiguous excluded)Bits / char (ambiguous excluded)
Numbers (0-9)103.3283.00
Lowercase (a-z)264.70244.58
Uppercase (A-Z)264.70244.58
Symbols (!@#$%^&*)264.70254.64
Uppercase (A-Z) + Lowercase (a-z)525.70485.58
Uppercase (A-Z) + Lowercase (a-z) + Numbers (0-9)625.95565.81
Uppercase (A-Z) + Lowercase (a-z) + Numbers (0-9) + Symbols (!@#$%^&*)886.46816.34

Frequently asked questions

Is the generated password sent to a server or saved anywhere?

No. It's generated entirely in your browser, never sent to a server, and disappears when you leave or reload the page. For security, it's not stored anywhere — not even in local storage.

How is the randomness generated?

Instead of the regular Math.random(), it uses your browser's cryptographically secure random number generator, crypto.getRandomValues().

Are all the character types I select guaranteed to appear?

Yes. As long as the length allows it, at least one character from each selected type (uppercase, lowercase, numbers, symbols) is included, and the order is then shuffled randomly.

How is the strength indicator calculated?

It estimates the password's information entropy (in bits) based on its length and the number of character types used, then shows it as Weak/Fair/Strong/Very strong. Actual security also depends on other factors, like a service's login attempt limits.

What's the longest or shortest password I can generate?

Length can be set anywhere from 4 to 64 characters using the slider. For anything meant to protect a real account, aim for at least 12-16 characters — longer passwords are exponentially harder to brute-force than adding more character types.

Should I reuse the same generated password across multiple sites?

No. Reusing passwords is one of the biggest security risks online — if one site's database leaks, attackers try that same password everywhere else. Generate a new, unique password for each account and store them in a password manager.

Why would I want to exclude ambiguous characters if it makes the password weaker?

Excluding ambiguous characters removes a handful of lookalike symbols (I, l, 1, O, 0) from the pool, which only slightly reduces entropy. It's a reasonable trade-off when a password needs to be typed manually, read aloud, or printed, since misreading a single character means the password won't work.

Does this tool work without an internet connection?

Once the page has loaded, password generation itself doesn't need the network — it runs entirely with client-side JavaScript and your browser's built-in crypto API.