Password Generator: Strong Random Passwords Made on Your Device

Pick a length and the kinds of characters you want, then copy a fresh random password. It is built inside your browser and is not uploaded or saved.

TechFreeNo sign-upWorks on phones
Your new password
0Characters
0Characters to pick from
0Bits of entropy
–Strength estimate

Nothing here is stored or uploaded. Once you leave or reload the page the password is gone, so save it in your password manager first.

This tool runs in your browser. Nothing you type is uploaded or saved, and there is nothing to install or sign up for.

A random password, built where you are sitting

People are poor at inventing passwords. We reach for names, dates, keyboard patterns and the same word with a number on the end, and those are the first things an attacker’s software tries. A password generator removes the human habit from the process: each character is drawn at random from a set you choose, so there is no pattern to guess.

This one runs entirely in the page you have open. The password is produced by your own browser’s secure random source, shown on your screen and nowhere else. It is not sent to a server, logged or kept after you close the tab.

Making a password step by step

  1. Drag Password length to the number of characters you want, from 8 to 64. A new password appears as you move it.
  2. Tick the character types to include: Lowercase, Uppercase, Digits and Symbols. Untick any that a site refuses.
  3. Tick Skip look-alike characters if someone will read the password off paper or a screen and type it by hand.
  4. Press Generate new password for another one with the same settings.
  5. Press Copy password and paste it into the sign-up form and your password manager. Reset returns to 16 characters with all four types on.

Reading the numbers under the password

The four tiles describe the password in front of you. Characters to pick from is the size of the pool: 26 lowercase letters, 26 uppercase letters, 10 digits and 32 symbols add up to 94 when everything is ticked. Skipping look-alikes removes six of them, leaving 88.

Bits of entropy measures how many equally likely passwords your settings could have produced, on a doubling scale. Every extra bit doubles the number of possibilities. The formula is:

bits = length x log2(pool size)

With the default 16 characters and a pool of 94, that is 16 × 6.555, or 104.9 bits. The table shows what the same 16 characters are worth with smaller pools, and you can reproduce each row by unticking boxes.

Types tickedPoolBits at 16 characters
Digits only1053.2
Lowercase only2675.2
Lowercase and uppercase5291.2
Letters and digits6295.3
All four types94104.9

Notice that length matters more than variety. Doubling the length to 32 doubles the figure to 209.7 bits, while adding symbols to letters and digits raises it by less than ten.

What the strength word means

The label is a plain-English reading of the bit count using this page’s own bands: under 40 bits is Weak, 40 to 59 Fair, 60 to 79 Good, 80 to 127 Strong, and 128 or more Very strong. An 8-character password with all types is 52.4 bits and reads Fair; 12 characters is 78.7 bits and reads Good; 20 characters reaches 131.1 bits. Treat the bands as a rough guide. They are not an industry standard, and this page deliberately gives no estimate of how long a password would take to crack, because that depends on how a particular site stores passwords and how it limits guesses.

How the randomness works

Browsers provide a function called crypto.getRandomValues that is designed for security work. The generator uses only that. If a browser does not offer it, the page shows a message and makes no password at all; it never falls back to the ordinary, predictable random function.

To choose a character, the tool asks for a random 32-bit number and maps it onto the pool. Numbers that would make some characters slightly more likely than others are thrown away and drawn again, a technique known as rejection sampling, so every character in the pool has the same chance.

Many sites insist on at least one of each type. To satisfy them, the generator first draws one character from every type you ticked, fills the remaining places from the full pool and then shuffles the whole thing with the same secure source. That guarantee trims the true entropy by a tiny amount compared with the formula, which is why the figure is called an estimate.

Limits and mistakes to avoid

  • A strong password reused is a weak one. If one site leaks it, every account sharing it is exposed. Generate a different password for each account.
  • Do not try to memorize these. A random 16-character string is meant to live in a password manager. Memorize only the manager’s master password.
  • Clipboard contents linger. After pasting, copy something harmless so the password is not left on the clipboard of a shared computer.
  • Some sites reject certain symbols. If a form refuses the password, untick Symbols and add a few characters of length to make up the difference.
  • The tool cannot protect an account by itself. Phishing pages and malware steal even perfect passwords, so turn on two-step sign-in wherever it is offered.

Practical uses, including the classroom

Teachers setting up accounts for a class can untick Symbols, tick the look-alike option and generate short passwords that young students can copy from a printed slip without confusing a zero with a capital O. For a home or classroom Wi-Fi network, make a long password here and turn it into a scannable code with the QR code generator so nobody has to type it.

If you only need a random PIN or a number in a range, the random number generator is the simpler tool. Students curious about what a bit actually is can see numbers written in base 2 with the binary converter.

Other tech and web tools are grouped together, and the full collection of free online tools is one click away.

Frequently asked questions

Is it safe to use an online password generator?

It depends on where the password is made. This one creates it in your own browser with the built-in secure random source and does not send, log or store it. Close the tab and it is gone.

How long should a password be?

Longer is better. This tool starts at 16 characters, which gives about 104.9 bits of entropy with all character types, and goes up to 64. Follow any higher minimum your site or school sets.

What does bits of entropy mean?

It is a measure of how many different passwords your settings could produce. Each extra bit doubles the count. It is worked out as the length times the base 2 logarithm of the number of characters to pick from.

Which characters count as look-alikes?

The digit zero, capital O, small o, the digit one, small L and capital I. Skipping them shrinks the pool from 94 to 88 characters and makes a password easier to read and type correctly.

Does the generator remember the passwords it makes?

No. There is no history, no cookie and no account. If you do not save the password somewhere yourself before leaving the page, it cannot be recovered.

Related tools

Browse all free tools →