Password Generator

A strong password is long and random. A 16-character password using lowercase and uppercase letters, digits and symbols has about 100 bits of strength, which is far beyond what attackers can guess. This generator creates passwords inside your browser using secure random numbers, so they are never sent anywhere or stored.

Inputs

Include

Passwords are created in your browser. They are never sent to us or saved.

Your new password
–
Strength–
Entropy–
Possible characters–

Results are calculated in your browser for convenience. Double-check important figures before relying on them.

What makes a password strong?

Strength comes from how many guesses an attacker would need. That depends on two things: the length of the password and the number of different characters it can contain. Every extra character multiplies the possibilities.

Possible passwords = (number of characters available) ^ length Entropy (bits) = length × log2(number of characters available)

A 16-character password drawn from 94 printable characters has 16 × log2(94) = 105 bits of entropy. An 8-character password from lowercase letters only has 8 × log2(26) = 38 bits, which modern hardware can crack quickly. As a guide, 60 bits is the minimum for an important account, and 80 bits or more is very strong.

How to use passwords safely

  • Use a different password for every account. If one site is breached, the others stay safe.
  • Use a password manager to store them, so you only need to remember one strong master password.
  • Turn on two-factor authentication for email, banking and social accounts.
  • Never share a password by email or chat, and be wary of links asking you to sign in.
  • Avoid personal details such as names, birthdays and phone numbers, even with substitutions like @ for a.

Long random passwords are hard to type, so copy them straight into your password manager. If you must type one often, make it longer by using a passphrase of several random words instead.

How this generator works

The generator uses your browser's cryptographically secure random number source (crypto.getRandomValues), not the weaker Math.random. It picks each character without bias, makes sure at least one character comes from every group you selected, and then shuffles the result. Everything happens on your device. We cannot see, log or store the passwords you create, and no password is ever sent over the internet.

Note that a generator cannot protect you if a website stores passwords badly or if malware is on your device. Keep your software updated, and read our guide on how to create a strong password.

Complete guide to the Password Generator

How to use the Password Generator, step by step

  1. Choose a length of 12 characters or more.
  2. Choose which character types to include.
  3. Click "Generate new password" until you are happy.
  4. Copy it into your password manager.

Common mistakes to avoid

  • Reusing the same password on many sites.
  • Using personal details.
  • Skipping two-factor authentication.

Key terms explained

Entropy
A measure, in bits, of how unpredictable a password is.
Password manager
An app that stores strong passwords for you.
Two-factor authentication
A second sign-in step.
Passphrase
A password made from several random words.

Frequently asked questions

How long should a password be?

At least 12 characters for ordinary accounts and 16 or more for email, banking and password managers. Longer is stronger.

Are the generated passwords stored or sent anywhere?

No. They are created in your browser and disappear when you close the page. We never see or store them.

Are symbols necessary in a strong password?

They help, but length matters more. A 20-character password of letters and numbers can be stronger than a 10-character one with symbols.

What is password entropy?

Entropy, measured in bits, is a measure of how unpredictable a password is. Each extra bit doubles the number of guesses an attacker needs.

Should I change my passwords regularly?

Current advice is to change a password if you think it was exposed, rather than on a fixed schedule. Use a unique strong password for every account instead.

Related calculators

Guides worth reading