Skip to content

Password Generator

Make strong random passwords in your browser, with the length and characters you choose.

Include

Nothing you enter leaves your device. Everything runs in your browser.

How to use it

  1. A password appears in "Your new password" as soon as the page opens.
  2. Set the "Length" with the slider or type a number from 4 to 128.
  3. Under "Include", tick the types of character you need, and tick "Avoid look-alikes" if you will type it by hand.
  4. Press "New password" for another one, then "Copy" and save it in your password manager.

Examples

Default settings
Input
16 characters · all four types
Output
Very strong · about 105 bits of entropy
Wi-Fi password to read out
Input
20 characters · letters and numbers · avoid look-alikes
Output
Very strong · no I, l, 1, O, 0 or o to confuse
Short PIN-style code
Input
6 characters · numbers only
Output
Weak · about 20 bits, fine only where attempts are limited

How the passwords are made

Each character is picked with your browser’s cryptographic random number generator, the same source used for encryption keys. The tool also avoids a subtle bias that simple generators have, so every allowed character is equally likely. When you tick several types, at least one character of each type is included, and their positions are random too.

The password is created on your device and is never sent anywhere or stored by this site.

What makes a password strong

Strength is measured in bits of entropy: the number of guesses an attacker would need, written as a power of two. Each extra bit doubles the work. Length helps far more than adding symbols.

Password About Rating
8 characters, all types 52 bits Fair
12 characters, all types 79 bits Strong
16 characters, all types 105 bits Very strong
20 characters, letters and numbers 119 bits Very strong

The ratings here are: under 50 bits weak, 50 to 69 fair, 70 to 99 strong, and 100 or more very strong. These numbers apply only to random passwords like the ones made here; a password you make up, such as a name and a year, is much weaker than its length suggests.

Good habits

  • Use a different password for every account, so one leak cannot unlock the rest.
  • Keep them in a password manager instead of a notes app or a spreadsheet.
  • Turn on two-step verification for email, banking and social media.
  • Avoid look-alikes only when someone will read or type the password, because it slightly shrinks the set of characters.
  • Change a password straight away if a site tells you it was part of a data breach, and check your other accounts if you ever reused it.

If you need to remember a password without a manager, such as the one that unlocks your computer, a passphrase of four or five random words is easier to type and still strong. For everything else, let your password manager remember long random passwords like these.

Frequently asked questions

Is it safe to generate a password on a website?

This one runs entirely in your browser using its cryptographic random generator. The password is never sent to a server or saved by the site, so only you see it.

How long should my password be?

At least 12 characters for everyday accounts and 16 or more for email, banking and your password manager. Longer is better than more complex.

What does bits of entropy mean?

It shows how many guesses an attacker would need, as a power of two. 100 bits means about 2 to the power 100 guesses, far more than any computer can try.

Why avoid look-alike characters?

Characters such as I, l, 1, O, 0 and o are easy to mix up when you read a password aloud or type it from paper. Leave them out for Wi-Fi or shared passwords.

A site will not accept some symbols. What should I do?

Untick "Symbols" and increase the length by four or five characters to keep the same strength.

Should I write my password down?

A password manager is better. If you must write one down, keep it somewhere safe at home, never on your screen or in your wallet.

Guides

See all Developer

Can’t find the tool you need?

Tell us what you’re looking for. We add new tools every month, and the most requested ones come first.

Request a tool