toolqik

01 · Generators

Password Generator

Strong random passwords and passphrases, with a live strength meter.

Runs in your browser
Your password
— 0 bits of entropy ≈ — to brute-force
Type
Characters
Options

About this tool

The strongest password is one nobody chose: long, random, and used for one account only. This password generator creates them with your browser’s cryptographically secure random number generator, shows how strong each one is, and never sends or stores what it makes. A new password is ready the moment the page loads.

How to use it

  1. Choose Password for random characters, or Passphrase for random words that are easier to remember and type (see below).
  2. Set the length. 16–20 characters is a good default for website accounts.
  3. Choose the character sets: lowercase, uppercase, digits and symbols. Keep At least one of each on if a site insists on every type.
  4. Turn on No look-alikes if you’ll ever read or type the password by hand. It removes I l 1 O 0.
  5. Copy it with one click, or press G to generate another. The last few appear under Earlier in this tab until you close it.

What makes a password strong

Length matters most. Each extra character multiplies the number of possible passwords by the size of the character pool, while adding a character type only increases the pool. Randomness matters just as much: attackers try dictionary words, names, dates and substitutions like P@ssw0rd first, so anything a human invents is weaker than it looks. And a password must be unique: when one site is breached, attackers try the same email and password everywhere else.

How long would it take to crack?

This table uses the same estimate as the strength meter: an offline attack at 100 billion guesses per second (a fast, unsalted hash on modern GPUs), finding the password after searching half the possibilities on average.

12 characters from…EntropyTime to crack
Digits only40 bits5 seconds
Lowercase letters56 bits6 days
Upper and lowercase68 bits62 years
Letters and digits71 bits5 centuries
Letters, digits and symbols78 bits392 centuries
Letters, digits and symbols, length…EntropyTime to crack
8 characters52 bits5 hours
12 characters78 bits392 centuries
16 characters104 bitsLonger than the universe has existed
20 characters130 bitsLonger than the universe has existed

These times apply to random passwords only. A human-chosen password of the same length can fall in seconds to a dictionary attack. Sites that store passwords with a slow hash such as bcrypt make every guess thousands of times more expensive.

How long should a password be?

The US standards body NIST, in its current digital identity guidelines (SP 800-63B), recommends at least 15 characters when a password is the only thing protecting an account, and 8 when it’s combined with a second factor. It also says sites should accept long passwords (64 characters or more), stop forcing arbitrary complexity rules, and stop requiring regular password changes unless there’s a sign of compromise. In practice: 16–20 random characters for website accounts, and 20+ for a password manager’s master password, Wi-Fi keys and encryption.

Passphrase generator

A passphrase is several random words, like orbit-velvet-candle-harbor-fossil-ninja. Switch the type to Passphrase and each word is picked at random from the EFF Large Wordlist, a list of 7,776 common, easy-to-spell English words designed for this purpose. Each word adds about 12.9 bits:

WordsEntropyTime to crack
452 bits5 hours
565 bits5 years
678 bits351 centuries
790 bits3 million centuries
8103 bitsLonger than the universe has existed

Six words are about as strong as a 12-character random password, and far easier to remember and type on a phone. That makes passphrases a good choice for the few passwords you must memorise: a password manager’s master password, your computer login, disk encryption. For everything else, let a password manager store long random passwords.

The strength comes from the words being chosen at random, not from them being unusual. A phrase you think up yourself, like a song lyric, is far weaker. Capitalize words adds no strength (an attacker can assume it), but helps with sites that demand capitals. Add a number puts a random digit after one random word, adding a few bits and satisfying “must contain a number” rules.

Is an online password generator safe?

It depends on where the password is made. This one runs entirely in your browser: passwords are created by JavaScript on this page with crypto.getRandomValues(), the same secure source browsers use for encryption keys, and they are never sent over the network, logged or saved. Only your settings, such as length, are remembered on your device. You can check this yourself: load the page, disconnect from the internet, and it keeps working.

Under the hood, every character is picked by rejection sampling, so each character in the pool is exactly equally likely, and when At least one of each is on, the required characters are shuffled into random positions rather than always appearing first.

Password best practices

  • Use a password manager (Bitwarden, 1Password, KeePassXC or your browser’s built-in one) so every account can have its own long random password.
  • Never reuse passwords. Reuse turns one site’s breach into many.
  • Turn on two-factor authentication or passkeys wherever they’re offered, especially for email, banking and your password manager.
  • Check whether your email appears in known breaches on Have I Been Pwned, and change any password that was exposed.
  • Building a login system? Store passwords with bcrypt or Argon2id, never in plain text or with a fast hash like SHA-256.

Generate secure passwords in code

Always use a cryptographically secure source (crypto.getRandomValues, Node’s crypto, Python’s secrets), never Math.random() or Python’s random module.

function generatePassword(length = 20) {
  const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*()-_=+';
  const limit = 256 - (256 % chars.length); // reject bytes that would bias the result
  let out = '';
  while (out.length < length) {
    const [byte] = crypto.getRandomValues(new Uint8Array(1));
    if (byte < limit) out += chars[byte % chars.length];
  }
  return out;
}

Need random tokens or keys for software rather than people? Use the random string generator or the API key generator.

FAQ

Is it safe to use an online password generator?

This one is: passwords are generated in your browser with crypto.getRandomValues() and are never sent to a server, logged or stored. The page even works offline once loaded.

How long should my password be?

For most accounts, 16–20 random characters with mixed character sets is more than enough. NIST recommends at least 15 characters when a password is the only login factor. Use 20 or more for a password manager’s master password.

What is password entropy?

A measure of how hard a random password is to guess, in bits: length × log2(number of possible characters). Each extra bit doubles the number of guesses needed. 80 bits or more is very strong for online accounts.

How long would it take to crack my password?

For a random 12-character password using letters, digits and symbols, about 39,000 years at 100 billion guesses per second. At 16 characters it is far beyond any realistic attack. Human-chosen passwords can fall much faster.

How many words should a passphrase have?

Six random words from the 7,776-word EFF list give about 78 bits, which is strong for a master password. Use seven or more for encryption keys and anything an attacker could attack offline for years.

Should I include symbols?

They help, but length helps more. If a site rejects symbols, add a few extra characters instead: 16 letters and digits is stronger than 12 characters with symbols.

Are these passwords stored anywhere?

No. They are generated in your browser and are not sent to or stored on any server. The "earlier in this tab" list lives in memory and disappears when you close the tab.

How long should my password be?

For most accounts, 16–20 random characters with mixed character sets is more than enough. If you have to type it often, a longer password with fewer symbols is easier to type and equally strong.

What does "No look-alikes" do?

It removes characters that are easy to confuse, such as I, l, 1, O and 0, which helps when a password has to be read or typed by hand. It slightly reduces entropy per character.

esc
↑↓ navigate↵ open