Skip to content
QuickKit

Home › Password Generator

Strong Password Generator

Choose a length and character types and generate a random password instantly. It is created on your device and never leaves it.

How this password generator works

Each password is built from random choices made by your browser's built-in cryptographic random number generator (the Web Crypto API), the same facility used for security features on the web. It is not the weaker Math.random function that some simple generators use. To avoid a subtle statistical bias, the generator discards random values that would make some characters slightly more likely than others. It also guarantees that at least one character from every type you have selected appears, then shuffles the result so those guaranteed characters are not predictable positions. The password exists only in your browser tab. It is not sent over the network, logged or stored.

What makes a password strong?

Length and unpredictability matter most. Every extra character multiplies the number of possible passwords, and randomness means an attacker cannot narrow it down using patterns such as words, names, dates or keyboard runs. The strength figure shown under the password is an entropy estimate: the length multiplied by the base-2 logarithm of the number of possible characters. It is a rough guide to how large the search space is, not a promise about how long a real attack would take, which depends on how the website stores passwords and what the attacker has.

Practical advice for using generated passwords

  • Use a different password for every account. When one site is breached, reused passwords let attackers try the same login elsewhere.
  • Store them in a password manager. A random 16-character password is not something to memorise. Reputable password managers, including the ones built into major browsers and operating systems, can save and fill them.
  • Prefer length. If a site allows it, 16 characters or more is a sensible default for important accounts such as email, banking and your password manager itself.
  • Turn on two-factor authentication wherever it is offered, because it protects you even if a password leaks.
  • Never share passwords through email or chat, and be wary of any page that asks for one unexpectedly.

Options explained

Selecting more character types increases the pool and therefore the entropy per character. Some websites reject certain symbols or require specific types, so you can switch types on or off to match their rules. The "avoid look-alike characters" option removes I, l, 1, O, 0 and o, which is useful if you will ever need to read the password aloud or type it from a printout, at the cost of a slightly smaller character pool.

A note on trust

Because the generator is plain JavaScript that runs locally, you can verify it works offline: load the page, disconnect from the internet and it will still produce passwords. Even so, after you copy a password, paste it straight into your password manager or the sign-up form, and clear the clipboard if you are on a shared computer.

Frequently asked questions

Is this password generator safe to use?

Passwords are generated in your browser using the Web Crypto API and are never sent to a server or stored. You can even disconnect from the internet after loading the page and it will keep working.

How long should a password be?

For important accounts, 16 characters or more of random letters, numbers and symbols is a sensible default. Longer is stronger, and a password manager removes the need to remember it.

What does the entropy figure mean?

It is the password length times the base-2 logarithm of the number of possible characters. Higher numbers mean a larger search space. It is a rough guide, not a guarantee of how long an attack would take.

Why use a password manager?

Strong passwords should be unique to each site, which makes them impossible to remember. A password manager stores and fills them securely so you only need one strong main password.

Why would I avoid look-alike characters?

Characters like I, l, 1, O, 0 and o are easy to confuse when reading or typing a password by hand. Removing them helps if you ever need to copy the password manually.

More free tools