Password Generator

Generate a strong random password entirely in your browser. Nothing you generate here is ever sent to a server.

Processed locally in your browser. Your data is not uploaded to our servers.

Click Generate to create a password

Entropy: โ€”

16

Examples

Example configurations and their approximate entropy (higher is stronger):

LengthCharacter typesApprox. entropy
8Lowercase only~38 bits (weak)
12Upper + lower + numbers~71 bits (strong)
20All character types~129 bits (very strong)
16Upper + lower + numbers~95 bits (very strong)
16All types, ambiguous excluded~102 bits (very strong)

Formula & Methodology

Password entropy (in bits) estimates how hard the password is to guess by brute force:

entropy = length ร— log2(character pool size)

This is a guideline, not a guarantee โ€” entropy assumes an attacker doesn't know your specific method or reuse patterns.

How passwords are generated

  • Randomness. Characters are chosen with the browserโ€™s cryptographically secure random generator (crypto.getRandomValues), using rejection sampling to avoid bias, and the final order is shuffled with an unbiased shuffle. Math.random() is never used.
  • Every selected type appears. One character is drawn from each selected type first and the rest from the combined pool, so a password with all four types always contains at least one of each. The length must be at least the number of selected types.
  • Character sets. Symbols are exactly !@#$%^&*()-_=+[]{};:,.<>?/ (26 characters). โ€œExclude ambiguous charactersโ€ removes 0, O, o, 1, l, I and |, which makes the pool smaller and lowers the entropy slightly.
  • Entropy is an estimate. It is length ร— log2(pool size), labelled weak below 40 bits, fair below 60, strong below 80 and very strong from 80. Because one character per selected type is guaranteed, the true figure is slightly lower, mainly at very short lengths.
  • Length and types. The slider covers 4 to 64 characters and starts at 16, and at least one character type must stay selected.
  • Nothing leaves this page. The password is not sent, logged or stored, but your clipboard, browser extensions and password manager are outside this tool, so paste it straight into a password manager or the sign-up form.

How to Use

  1. Adjust the length slider and select which character types to include.
  2. Click Generate to create a password.
  3. Click Copy to copy it to your clipboard, or Regenerate for a new one.

Frequently Asked Questions

Is my generated password sent anywhere?

No. Passwords are generated entirely in your browser using the Web Crypto API and are never transmitted, logged, or stored โ€” not even in this browserโ€™s local storage.

Why use crypto.getRandomValues() instead of Math.random()?

Math.random() is not cryptographically secure and can be predictable. crypto.getRandomValues() uses your operating systemโ€™s secure random number generator, which is appropriate for generating passwords.

What does "exclude ambiguous characters" do?

It removes characters that are easily confused with each other when read or typed, such as 0 (zero), O (capital o), 1 (one), l (lowercase L), and I (capital i).

Is a longer password always stronger?

Generally yes โ€” length contributes more to entropy (unpredictability) than character variety alone. Aim for at least 16 characters for important accounts where the service allows it.

Should I reuse a generated password?

No. Use a different password for every account so that a leak at one service cannot open others. A password manager can store them for you.

What if a website rejects my password?

Some sites limit the length or the allowed symbols. Try a shorter length or turn off Symbols: 16 characters of upper and lower case letters and numbers is still about 95 bits.

Last updated: