Password Generator

This password generator creates strong, random passwords with the length and character types you choose. Everything runs in your browser on a secure random source, so a password never leaves your device. Adjust the settings, watch the strength meter respond, and copy the result with one click.

Password Generator tool

Strength

How to use it

  1. Set the length and pick which character types to include.
  2. Click Generate new until you have a password you like.
  3. Copy it, and store it in a password manager.

What is a password generator?

A password generator is a random password creator: it picks each character independently from a pool you define, using the browser’s crypto.getRandomValues source. Because no human habit shapes the output, the result has no pattern for cracking software to exploit. Strength is measured in bits of entropy, and the rule is short: multiply the length by log2 of the pool size.

entropy bits = length × log2(pool size)
16 × log2(75) ≈ 100 bits

With all four character sets on, the pool here is 75 characters, so each character adds about 6.2 bits. A password generator beats human invention because length scales strength predictably: every added character multiplies the number of guesses an attacker needs by 75.

Worked example

Input: 16 characters, all types on
Result: A password near 100 bits of entropy

Length, entropy and strength

LengthPool (all sets on)EntropyVerdict
875 characters≈ 50 bitsWeak for anything important
1275 characters≈ 75 bitsFine for everyday accounts
1675 characters≈ 100 bitsStrong; the sweet spot
2075 characters≈ 125 bitsVery strong
2475 characters≈ 149 bitsIdeal for a master password

What makes a password strong

Strength comes from length and unpredictability, not from clever substitutions like a zero for an O. Attackers do not guess passwords by hand. They run software that tries billions of combinations, starting with dictionary words, keyboard patterns and passwords from earlier leaks. A password chosen by a person almost always follows some pattern. A password chosen by a random number generator does not, and that is the whole point.

How entropy is measured

Password strength is usually expressed in bits of entropy: the length multiplied by log2 of the number of possible characters. With uppercase, lowercase, digits and symbols all turned on, the pool here is about 75 characters, which works out to roughly 6.2 bits per character. Sixteen characters from that pool comes to around 100 bits, far beyond what brute force can reach. Eight characters from the same pool is only about 50 bits, which is why short passwords fail even when they look complicated. Adding length always helps more than adding rules, so a longer password from a smaller character set can still be very strong. The meter under the password updates as you change the settings, so you can watch each option move the number.

Privacy and how the generator works

This generator calls crypto.getRandomValues, the browser's cryptographically secure random source, the same kind of randomness used for encryption keys. It runs entirely on your device. Nothing is sent to a server, saved or logged, and closing the tab leaves no trace. Because reusing passwords is the real weak point, generate a unique one for each account and keep them in a password manager rather than trying to memorize them. If you must type a password by hand, turn on the look-alike filter so you are not squinting at a lowercase l next to a 1.

Common uses

  • Creating a unique password for every account
  • Generating Wi-Fi and router passphrases
  • Making API keys, tokens and one-off secrets for development
  • Replacing weak or reused passwords after a breach notice
  • Setting temporary passwords for new user accounts

When to use it

  • You wonder if a 12 character password is strong enough for your email and want the entropy math instead of a guess.
  • You need a strong password generator for banking and any account that can reset other passwords.
  • A breach notice arrived and every reused password has to be replaced with a unique random one.
  • You want a random password generator for Wi-Fi: a 20-character key for the router that guests can still type.
  • You need a random password creator for test accounts and one-off secrets during development.

Related tools

Random Number Generator draws plain numbers instead of passwords when you need a fair pick from a range.

Lorem Ipsum Generator fills mockups with placeholder text rather than secrets.

Character Counter checks the exact length of any string before you paste it into a length-limited field.

Frequently asked questions

Yes. The password generator uses crypto.getRandomValues, the browser's cryptographically secure random number generator, which is the same source used for encryption keys. It is not the predictable Math.random function, so the output cannot be reproduced or guessed from earlier results.
Yes. Everything happens in your browser. The password is never sent to a server, saved or logged, and there is no account or cookie tied to it, so no one else can see what was generated. Once you close the tab it is gone.
For most accounts, yes, as long as it is random and mixes character types: 12 characters from a full pool is about 75 bits. For email, banking and anything that can reset other passwords, go to 16 or more. Extra length costs nothing when a password manager types it for you.
It measures how many guesses a password could take. Each extra bit doubles the number of possibilities. The formula is length times log2 of the character pool, so 16 characters from about 75 options gives close to 100 bits. Anything above 80 bits is considered very strong for online accounts.
Turn that on if you will type the password by hand or read it aloud, since it removes easily confused characters like l, 1, I, O and 0. Leave it off for maximum strength.
Both work if they are long enough. Four or five random dictionary words are easier to type and remember, while a 16-character random string is shorter for the same strength. Use random strings for accounts a password manager fills in, and a passphrase for the manager's own master password.
No. If one site leaks its database, attackers try the same email and password everywhere else, and a strong password gives no protection against that. Generate a different one for every account. A password manager makes this painless.
In a reputable password manager. It lets you use a unique, strong password for every site without memorizing any of them, fills in login forms for you and syncs across devices. Writing passwords on paper is still safer than reusing one everywhere, but a manager is the better habit.