Skip to content
cliplimeClipLime

Generate a strong password

Random passwords or passphrases made on your device, with an honest strength estimate in bits.

Made in your browser, never sent or stored

Your new password

Making a password…

Made here with the secure random generator in your browser. Never sent, never stored.

Settings

20 characters

a to z

A to Z

0 to 9

Edit the list below if a site rejects some of them

Leaves out I, l, 1, O, 0 and o, which are easy to misread

Many sites insist on it. Costs a fraction of a bit of strength.

1 to 20

How strong is it?

128bits

Excellent

of entropy: about 2^128 equally likely results

Offline attack on a fast hash (such as unsalted MD5 or SHA-256), 100 billion guesses a second
longer than the age of the universe (13.8 billion years)
Offline attack on a slow hash (bcrypt or Argon2), 10,000 guesses a second
longer than the age of the universe (13.8 billion years)

Times are the average to find the secret, which is half the search space. They are illustrations for an attacker who has stolen a list of hashes and knows your settings, not predictions. Websites that limit login attempts are far harder to guess than that.

What the number does and does not mean

Entropy counts how many different results this generator could have made with your settings. It is accurate for a secret made by the generator. It says nothing about one you typed, edited or reuse across sites: if a password is reused and leaks anywhere, its length stops mattering. Use a different one for each account and keep them in a password manager.

At a glance

Passwords
4 to 128 characters from lowercase, uppercase, numbers and a symbol list you can edit, with an option to skip look-alike characters.
Passphrases
3 to 12 words from a list of 1,024 plain words written for ClipLime, worth exactly 10 bits each.
Randomness
The secure random generator built into your browser, with rejection sampling so every character or word is equally likely.
Strength
The entropy of the generator in bits, and what that means against a fast and a slow password hash.
Bulk
Make up to 20 at a time and copy each one.
Stored or sent
Neither. Passwords exist only on this page, and not even your settings are remembered.
Price
Free, with no sign-up.

How to do it

  1. 1

    Pick a password or a passphrase

    Passwords are strings of characters. Passphrases are random words, which are easier to type and read out.

  2. 2

    Adjust the settings

    Set the length or word count and the kinds of characters. A new secret appears each time you change something, and the strength estimate updates with it.

  3. 3

    Copy it into a password manager

    Press Copy, save it straight into your password manager, and press Generate new for another. Use a different one for every account.

How the passwords are made

Every character is chosen with crypto.getRandomValues, the random number source your browser uses for encryption keys. The page never uses Math.random, which is not designed to be unpredictable.

Choosing fairly is harder than it sounds. Taking a random number and using the remainder after dividing by the alphabet size makes some characters slightly more likely. This tool throws away the few random values that would cause that and draws again, so every character is exactly as likely as every other.

When you ask for at least one character of each kind, the generator makes whole passwords and starts over until one qualifies, instead of forcing certain positions. That keeps every valid password equally likely. The cost is tiny: a 20 character password from four kinds of character loses about a tenth of a bit.

What entropy in bits means

Entropy counts how many different results the generator could have produced. One bit means two possibilities, ten bits about a thousand, and every extra bit doubles the number. A 20 character password from lowercase, uppercase, numbers and the default symbols has about 128 bits, which is out of reach for any attack that guesses.

Length does more than variety. Twelve characters drawn from all 94 printable ASCII characters give about 78.7 bits. Sixteen lowercase letters alone give about 75.2 bits. Adding four characters is worth about as much as adding every symbol you can type.

The crack times on this page are illustrations with their assumptions written out: an attacker who has stolen a list of hashes, knows your settings, and tries guesses at a stated speed. They are not predictions. A site that limits login attempts slows an attacker far more than any hash does, and none of these numbers apply to a password you made up yourself.

Passphrases: when words beat symbols

A passphrase is several random words joined together, such as three or four short words with hyphens between them. Each word here comes from a list of 1,024 and is worth 10 bits, so 6 words is 60 bits and 8 words is 80 bits. Words are easier to type on a phone and to read aloud than a string of symbols.

The strength comes entirely from the words being chosen at random. A phrase you invent, such as a lyric or a sentence about your pet, is much weaker than its length suggests. Swapping letters for look-alike symbols adds almost nothing, because attackers try those swaps first.

Six words is a reasonable default for an account protected by a slow hash. For the master password of a password manager, or anything stored behind a fast hash, use 8 words or more.

Using a generated password safely

  • Never reuse one. When one site is breached, attackers try the leaked password on every other service.
  • Let a password manager remember it. Random passwords are not meant to be memorised. Save it before closing this page, because it is not stored anywhere.
  • Turn on two-factor sign-in wherever it is offered, since a strong password does not help if it is typed into a fake page.
  • If a site rejects it, edit the symbols list or turn symbols off and make the password a few characters longer to make up for it.

If you also need identifiers rather than secrets, use the UUID generator, and to fingerprint a file use the hash generator.

Questions people ask

Is it safe to generate a password in a web page?

The password is made on your device by your browser's secure random generator and is never sent over the network. You still trust the page's code, so for the highest assurance load the page, switch off your network connection, and then generate. It works the same offline.

How long should my password be?

For ordinary accounts, 16 random characters is plenty. Use 20 or more for email, banking and your password manager, and a passphrase of 8 or more words if you must be able to type it from memory.

What does 80 bits of entropy mean?

It means the generator could have produced about 2 to the power of 80 different results, so an attacker guessing blindly would need on the order of 10 to the power of 24 tries. Each extra bit doubles that.

Are passphrases as secure as random passwords?

Bit for bit, yes. The difference is how many characters it takes to reach a given strength: ten bits costs a word of about five letters, but only about one and a half characters in a full symbol password. Choose passphrases when you need to type or say the secret.

Why does ticking at least one of each kind lower the strength?

It rules out a few passwords, such as ones with no digit, so fewer results are possible. For a 20 character password the loss is about a tenth of a bit, which is why the box is ticked by default.

Does this page store or send my password?

No. Passwords exist only in this page's memory until you leave it. They are not saved, logged or transmitted, and the tool does not even remember your settings.