SiteBox

Password Generator

Free Online Strong Password Creator

Use our password generator to create secure, random passwords. Customize password length and complexity, exclude confusing characters, and generate passwords that meet various security requirements.

Exclude characters that are easily confused: 1, l, I, 0, O, o, |, 5, S, 8, B

Generated Passwords

Password Strength: Not Generated
Click "Generate Password" button to create new secure passwords

How to Use Password Generator

1. Set Password Parameters

Drag the slider or manually enter the password length and select the character types to include (uppercase letters, lowercase letters, numbers, special symbols). If you need to exclude confusing characters, please check the corresponding option.

2. Generate Passwords

Click "Generate Password" button, the tool will generate the specified number of random passwords based on your settings. The system will automatically evaluate password strength and display it in an intuitive way.

3. Use Generated Passwords

Click the copy button next to the password to copy it to the clipboard, or click "Download Passwords" to save all generated passwords as a text file. If you need to clear history, you can click "Clear History" button.

Why Use Password Generator?

  • Generate high-strength, difficult-to-crack random passwords
  • Customize password length and complexity to meet different website security requirements
  • Exclude confusing characters to improve password readability
  • Intuitively evaluate password strength to ensure security
  • Completely free, no registration required

What Makes a Password Strong: Entropy

A randomly generated password's strength can be measured exactly. If each character is picked at random from a pool of N symbols and the password is L characters long, the number of possible passwords is NL, and its entropy in bits is L × log₂(N). Every extra bit doubles the work for someone trying to guess it.

Character setPool sizeBits per character12 characters16 characters
Digits only103.340 bits53 bits
Lowercase only264.756 bits75 bits
Upper + lower + digits625.9571 bits95 bits
All four types (this tool's symbol set)916.578 bits104 bits

Two lessons fall out of the table. Length beats complexity: 16 lowercase letters (75 bits) is stronger than 12 characters from the full set minus symbols. And around 80 bits and above is far beyond what any online guessing or ordinary offline attack can reach. The default here, 16 characters with all four types, gives about 104 bits.

The Randomness Behind It

Entropy figures only hold if every character is genuinely unpredictable. This generator draws from crypto.getRandomValues(), the browser's cryptographically secure random number generator, which is seeded by the operating system. Indices are chosen with rejection sampling so no character is even slightly more likely than another. The general-purpose Math.random(), by contrast, is not designed to be unpredictable and should never be used for secrets.

Passwords are generated on your device and are never sent to a server. To make sure each selected type appears, one character of each type is placed and then the whole password is shuffled with the same secure source.

Real Situations

A new account in your password manager

Generate a 20-character password with all types, paste it into the sign-up form and save it in your manager. You never need to see or remember it, so length costs nothing.

A site with annoying rules

Some banks cap length at 12 or reject certain symbols. Set length to the maximum allowed. If the site rejects a symbol, switch symbols off and add four or five characters of length to compensate: 16 alphanumeric characters (95 bits) is still excellent.

A Wi-Fi password guests will type

Tick Exclude Confusing Characters so 1/l/I, 0/O/o and similar pairs never appear, turn symbols off, and use 14–16 characters. Removing those characters shrinks the pool a little, so length matters even more. Better still, share it with a Wi-Fi QR code.

Mistakes That Undo a Strong Password

  • Reusing it. When one site leaks, attackers try the same email and password everywhere else. One password per account, always.
  • Making a "pattern" variant. Summer2026! → Summer2027! is the first thing guessing tools try.
  • Storing it in a plain note or email. Use a password manager.
  • Skipping two-factor authentication. A strong password plus an authenticator app or passkey protects you even if the password is phished.

The strength meter on this page is a quick visual guide; the entropy table above is the precise measure for random passwords. For identifiers that only need to be unique, not secret, use the UUID Generator. To store a fingerprint of a value rather than the value itself, see the Hash Generator. More in Everyday Tools.

Frequently Asked Questions

How long should a password be?

At least 12 characters, and 16 or more when a password manager stores it for you. Length adds more strength than extra character types.

Are the generated passwords truly random?

Yes. They are generated with the browser's Web Crypto API, a cryptographically secure random source, using unbiased selection.

Are my passwords sent or stored anywhere?

No. Generation happens in your browser. Copy the password into your password manager before leaving the page.

What does excluding confusing characters do?

It removes characters that look alike, such as 1, l and I or 0, O and o, which helps when a password has to be read or typed by hand.

What is password entropy?

A measure of how many guesses a random password would take, in bits. It equals length times log2 of the number of possible characters.