Password Generator tool

Password Generator

A password generator creates random, secure passwords based on the criteria you set.

What is a password generator?

A password generator builds random passwords from character sets you pick. Set length from 4 to 64, toggle uppercase, lowercase, numbers and symbols, then regenerate until you like the string. Entropy bits and a strength label show how hard the password is to guess. Regenerate until the string meets your bank or employer character rules before you save it.

How to use the password generator

  1. Drag the length slider to 12 or more.
  2. Toggle character sets your site requires.
  3. Press regenerate for a new password.
  4. Copy the string to your password manager.
  5. Read entropy bits and the strength bar.

About this calculator

A password generator creates random, secure passwords based on the criteria you set. You can choose the length and whether to include uppercase letters, lowercase letters, numbers, and special characters.

Strong passwords are long, random, and unique for each account. This tool generates passwords locally in your browser, so the password never leaves your device.

How the math works

entropy=L×log⁡2(C)\text{entropy} = L \times \log_2(C)
  • LL: Password length in characters
  • CC: Charset size (26 lowercase, 52 +upper, 62 +digits, 95 +symbols)
  • entropy\text{entropy}: Bits of randomness — higher is harder to crack

Password generator example: 16 characters, letters and digits

Pick length 16 with uppercase, lowercase and numbers on, symbols off. The pool has 26 + 26 + 10 = 62 characters. Entropy ≈ floor(16 × log₂(62)) = 95 bits.

Each extra character multiplies guess work. At roughly 10⁹ guesses per second, 95 bits means far more combinations than a lifetime search. Turn symbols on to widen the pool to 94 characters and entropy jumps further. Store the result in a manager instead of reusing an old password.

Turn symbols on when the site allows them because the pool jumps from 62 to 94 characters and entropy rises without making passwords harder to type.

Common uses

  • Create a strong master password for a password manager
  • Generate unique passwords for new account signups
  • Create passwords meeting specific site requirements (e.g. must include symbols)
  • Replace weak or reused passwords with random secure ones
  • Generate temporary passwords for shared accounts

Frequently asked questions

How long should a secure password be?

At minimum 12 characters, ideally 16 or more. A 12-character random password with mixed case, numbers, and symbols has about 78 bits of entropy, which would take billions of years to brute-force with current hardware. Length matters more than complexity for modern password security.

Is my password generated on this site safe?

Yes. The password is generated entirely in your browser using JavaScript's crypto.getRandomValues(), which produces cryptographically random values. The password never leaves your device, is never sent to a server, and is not logged anywhere.

Should I use a password manager?

Yes. A password manager stores unique, strong passwords for every site so you only need to remember one master password. Popular options include Bitwarden (free, open source), 1Password, and Dashlane. Using a password manager is significantly safer than reusing passwords.

How long should a password be for email and banking?

Use at least 12 characters, ideally 16, with mixed case and numbers. Symbols help when the site allows them. Length adds more strength than swapping one letter for a look-alike symbol on an otherwise short password.

What does the entropy number mean on this page?

Entropy counts how many random bits the password carries from its length and character pool. Higher bits mean more combinations to guess. The strength label maps those bits into weak, fair, strong or very strong bands.

Should I reuse a generated password on two sites?

No. Generate a unique password per account and store them in a password manager. Reuse means one leaked database exposes every site where you copied the same string, even if the password looked strong here.

Related calculators

Maintained by J Jaya Prakash · Last updated: October 2026