Password generator

A new random password is ready below. Change the length or character types and it updates at once, then press Copy password.

What you type stays in your browser

What to generate
 

Very strong

104 bits of entropy

Time to guess offline: millions of years or more

Made on this device with your browser's secure random generator. Never sent or saved.

In short

A strong password is long and truly random. Use at least 16 characters mixing upper and lower case letters, numbers and symbols, or a passphrase of six random words. Generate a different one for every account and keep them in a password manager rather than in your memory.

How to generate a strong password

  1. Keep Password selected at the top, or switch to Passphrase for words or PIN for digits only.
  2. Drag the Length slider. 16 characters is a sound default; the strength line under the result shows the entropy and the offline guessing time.
  3. Switch character types on or off to match the site's rules, and turn on Avoid look-alikes if you will ever type the password by hand.
  4. Press Copy password and paste it into the sign-up form and into your password manager. Press Generate new if you want a different one.

What makes a password hard to crack

Attackers rarely guess passwords one by one on a login page. They steal a database of password hashes and test billions of candidates per second on graphics cards, starting with leaked passwords, dictionary words and predictable patterns such as a capital first letter and a year at the end. A password chosen by a person almost always fits one of those patterns.

A randomly generated password has no pattern to exploit, so the only attack left is trying every combination. Its strength is measured in bits of entropy: each extra bit doubles the work. This generator counts only the random choices it makes, assumes the attacker knows the exact settings you used, and estimates the time for a well-equipped offline attack at ten billion guesses per second. That is a cautious figure: real sites that hash passwords properly slow attackers down by many orders of magnitude.

Frequently asked questions

Is this password generator safe to use?

Yes. The password is created by JavaScript in this tab using crypto.getRandomValues, the browser's cryptographically secure random source, the same one used for encryption keys. It is not sent to a server, not written to a log and not stored; reloading the page throws it away.

How long should my password be?

For accounts protected only by a password, use at least 15 to 16 random characters; that is also the minimum the current NIST guidance sets for single-factor passwords. Use 20 or more for a password manager's master password, email and banking, unless you prefer a passphrase you can type from memory.

Do symbols really make a password stronger?

A little. Adding 28 symbols raises the pool from 62 to 90 characters, which adds about half a bit per character. Making the password longer adds far more: four extra characters do more than switching symbols on. Leave symbols off when a site rejects them and add length instead.

What does Avoid look-alikes do?

It removes characters that are easy to confuse in many fonts: capital I, lowercase l, the digit 1, the pipe sign, capital O, lowercase o and zero. Use it for Wi-Fi keys, recovery codes or anything you might read aloud or type from paper. The pool gets slightly smaller, which the strength line takes into account.

Why is every character type guaranteed to appear?

Many sign-up forms reject a password without a digit or a symbol. The generator places at least one character from each type you switched on, then fills the rest at random from all of them and shuffles the result. The positions of the guaranteed characters are random too, so they give an attacker no shortcut.

Can I remember a generated password?

Usually you should not have to. Store passwords in a password manager, built into your browser or phone or a separate app, and remember only its master password. For that one, a passphrase of six random words is much easier to learn than 16 random characters with the same strength.

How often should I change my passwords?

Current guidance from NIST and national security agencies is to change a password when there is a reason, such as a breach notice or a suspicion it was seen, not on a fixed schedule. Forced regular changes tend to produce weaker passwords with a counter at the end.

Password, passphrase or PIN?

Each mode fits a different job. Use the type selector at the top of the tool and the settings below the result change to match.

  • Password: random characters for accounts you fill in from a password manager. Default 16 characters, about 104 bits.
  • Passphrase: random words joined by a separator, easier to type on a phone and to memorize. See the passphrase generator.
  • PIN: random digits for phone unlock codes, door locks and cards, skipping obvious ones like 1234. See the PIN generator.

Habits that matter more than the password itself

Never reuse a password. When one site leaks, attackers try the same email and password on hundreds of others within hours, so reuse turns one breach into many. A unique random password per site contains the damage to that site.

Turn on two-step verification or passkeys wherever they are offered, starting with your email account, because email resets every other password. A strong password and a second factor together stop almost every account takeover that ordinary people face.

How your files stay private

This tool runs with JavaScript inside your browser tab. What you type, the settings you choose and the results stay in the page's memory and disappear when you close it. Nothing is sent to a server; a few display settings may be remembered in your own browser.

Presets

Guides

Last updated Nov 20, 2026