Skip to content

Password Generator

Strong random passwords using your browser's secure RNG. Runs in your browser.

Loading tool…

About this password generator

This password generator creates strong random passwords and memorable passphrases on your device. Choose a length from 4 to 128 characters and the character types you want, and a new password appears instantly. A strength meter shows its entropy in bits and roughly how long it would take to guess.

It is for anyone setting up a new account, changing an old password, or creating credentials for a team or a test system. If a site has strict rules, you can choose exactly which symbols to use, leave out characters such as { } that some sites reject, and require at least one character of every selected type.

Every character is picked with your browser's cryptographic random number generator. Passwords are never sent, stored or logged, and they are gone as soon as you close the page.

Features

  • Cryptographically secure

    Characters are picked with crypto.getRandomValues and rejection sampling, so each one is equally likely and there is no modulo bias. Math.random is never used.

  • Fair "one of each type" rule

    When you require every selected type, the whole password is regenerated until it qualifies. No character type is forced into a fixed position, so every valid password is equally likely.

  • Exact entropy and strength meter

    Entropy is calculated from the exact number of possible passwords under your settings, then shown with a strength rating and an estimated time to guess.

  • Control over characters

    Edit the list of symbols, exclude look-alike characters (I, l, 1, |, O, 0, o), and list any other characters you want to leave out.

  • Passphrase mode

    Generate 3 to 12 random words from a built-in list of about 1,000 common English words, with your choice of separator, capitals and an optional number.

  • Bulk generation

    Create 5, 10, 25 or 50 passwords at once, copy each one or all of them, or download the list as a text file.

  • Easy to read

    Digits and symbols are colored differently from letters in the main result, so you can tell 0 from O when you have to type a password by hand.

How to use the password generator

  1. 1Set the length and character types, or switch to Passphrase.
  2. 2A new one appears on every change. Press Generate or Ctrl+Enter for another.
  3. 3Copy it into your password manager.

When to use it

  • New accounts

    Create a unique 16 to 20 character password for each new account and save it straight into your password manager.

  • A master password you can remember

    Use passphrase mode for the one password you must type from memory, such as your password manager or computer login.

  • Sites with strict rules

    Match a site's rules by choosing allowed symbols, a maximum length, or letters and numbers only.

  • Team and test accounts

    Generate a batch of temporary passwords for new staff, test users or demo environments.

  • Wi-Fi and device passwords

    Exclude look-alike characters so a password is easy to read off a card and type on a TV or phone.

What makes a password strong (entropy explained)

A password's strength depends on how many passwords an attacker would have to try before finding yours. Entropy measures that number in bits. Each extra bit doubles the number of guesses needed, so 60 bits is about a thousand times harder to guess than 50.

For a random password, entropy is the length multiplied by log2 of the number of possible characters. Lowercase letters alone give about 4.7 bits per character. All four types together, letters, digits and 27 symbols, give about 6.5 bits per character. A random 16-character password using all four types has about 103 bits.

Length adds strength faster than extra character types do. Going from 12 to 16 characters adds about 26 bits. Adding symbols to a 12-character letters-and-digits password adds only about 6.

  • Under 40 bits: weak. Can be cracked quickly if a site's password database leaks.
  • 40 to 59 bits: fair. Fine for low-value accounts with rate-limited logins.
  • 60 to 79 bits: strong. Good for most accounts.
  • 80 bits or more: very strong. Recommended for email, banking and your password manager.

Passwords vs passphrases

A passphrase is a string of random words, such as Ripple-Canyon-Lantern-Otter7-Maple-Quartz. Each word from this tool's list adds about 10 bits, so six words plus a number give about 66 bits, and eight words about 80.

Passphrases are easier to remember and to type on a phone, but they are longer than a random password of the same strength. Use them for the few passwords you have to type from memory, and let a password manager store random passwords for everything else.

The words must be chosen randomly for this math to hold. A phrase you make up yourself, like a song lyric, is far weaker because attackers try common phrases first.

How the time to guess is estimated

The estimate assumes an attacker has stolen a password database and can test 10 billion guesses per second offline, which is realistic for a fast hash on modern graphics cards. On average they find a password after searching half of all possibilities.

Real attacks on a website's login page are millions of times slower, and sites that store passwords with slow hashes such as bcrypt or Argon2 slow attackers down further. The estimate is a cautious worst case, not a promise.

Why use Mavros

 MavrosTypical upload sites
Where passwords are madeOn your device, never sentSometimes generated on a server
Random sourcecrypto.getRandomValues with rejection samplingNot always stated
"One of each type" ruleRegenerates whole password, no biasOften inserts characters at fixed spots
Strength shown asExact entropy in bits and a time to guessA colored bar with no numbers
Custom symbols and exclusionsYesRarely
Bulk generationUp to 50 at onceOften one at a time

Tips

  • Use a different password for every account. Reused passwords are the main way one breach spreads to other accounts.
  • Choose at least 16 characters for important accounts. Length matters more than symbols.
  • Save each password in a password manager right away instead of writing it down.
  • Turn on two-factor authentication wherever it is offered. It protects you even if a password leaks.
  • If a site rejects a password, remove the symbols it does not accept from the Symbols field instead of making the password shorter.
  • Press Ctrl+Enter (Cmd+Enter on a Mac) for a new password without reaching for the mouse.

Questions

Is this password generator safe to use?

Yes. Passwords are created in your browser with crypto.getRandomValues, the same secure random source used for encryption. They are never sent over the network or stored.

How long should my password be?

At least 16 characters for important accounts. Length adds more strength than symbols do.

What is a strong password?

A strong password is long, random and unique to one account. A random 16-character password with letters, digits and symbols has about 103 bits of entropy, far beyond what attackers can guess.

What does entropy in bits mean?

It measures how many guesses it takes to find a password. Each bit doubles the number of possibilities. 80 bits or more is very strong.

Is a passphrase better than a password?

A random passphrase of six or more words is strong and easier to remember and type. A random password is shorter for the same strength. Use passphrases for passwords you type from memory.

Why exclude look-alike characters?

Characters such as I, l, 1, O and 0 are easy to confuse when you read a password aloud or type it from paper. Excluding them lowers entropy slightly, which the meter shows.

Can someone else get the same password?

With a 16-character password from all four types, there are about 10^31 possibilities. The chance that anyone generates the same one is effectively zero.

Should I change my passwords regularly?

Current guidance, including from NIST, says no. Change a password when there is a sign it leaked. Otherwise a long, unique password can stay.

Does this site store the passwords I generate?

No. Nothing is saved, logged or sent. Once you leave the page, the passwords exist only where you pasted them.