Skip to content

Password Generator

Roll a strong random password with the exact length and character sets you need — generated and copied entirely on your device.

Last updated

Character sets

How to use password generator

  1. Drag the Length slider to choose how many characters you want — the number in the label updates as you drag.
  2. Tick the character sets to include: Lowercase (a-z), Uppercase (A-Z), Digits (0-9) and Symbols (!@#$…).
  3. Tick Exclude look-alikes (l, 1, I, O, 0) if you will read the password aloud or retype it by hand.
  4. The password regenerates on every change — watch the strength bar and the entropy reading below it.
  5. Click Copy password to put it on your clipboard, or Generate new to roll a fresh one from the same settings.

Examples

16-character password for an email account

Sixteen characters drawn from all four sets lands just over 100 bits of entropy — the baseline length banks and employers ask for.

Long 40-character passphrase

Forty characters is serious overkill for most logins — and exactly what you want for a password-manager master password or home WiFi.

Short 8-character PIN-style

Eight characters with letters, digits and symbols is still far stronger than any human-chosen 8-character password — but prefer 16 wherever the site allows it.

What is Password?

Credential-stuffing attacks take over millions of accounts every year, and they work because people reuse passwords — and because human-chosen passwords are anything but random. Names, birthdays, keyboard walks like qwerty123 and single dictionary words cluster into the few thousand guesses a cracking tool tries first, so an attacker burns through them in seconds. A strong password generator removes the human from the randomness: every character is drawn uniformly from the sets you choose, with no memory of the last password and no bias toward anything pronounceable.

Strength is measured here in bits of entropy: the length multiplied by the logarithm of the pool size. Sixteen characters from letters and digits alone (a 62-character pool) lands near 95 bits; add symbols and the same sixteen characters push past 100. Length is the bigger lever, though — a password generator without symbols can simply slide to 18 or 20 characters and out-muscle a shorter one full of punctuation. That is why 16 characters is the floor most security guides recommend, and why 20-plus is worth the extra drag for a master password or home WiFi.

This random password generator runs entirely in your browser tab. The characters come from crypto.getRandomValues — the same cryptographically secure source your browser uses for TLS keys — never from Math.random, which is fast but predictable. Nothing you generate is sent anywhere, so it works on an airplane, and the Exclude look-alikes option trims the characters that are easy to confuse (l, 1, I, O, 0) when you need to read a password back from a printed sheet.

Frequently asked questions

Why does this generator use crypto.getRandomValues instead of Math.random?

Math.random() is a fast pseudo-random generator whose internal state can be reconstructed after observing a handful of outputs, so passwords from it are predictable to a determined attacker. crypto.getRandomValues draws from your operating system’s cryptographically secure pool — the same source your browser uses for TLS session keys. Any password generator built on Math.random should not be trusted with real credentials.

What does ‘exclude look-alikes’ actually remove?

It drops the characters that are easy to confuse at a glance: lowercase l, uppercase I, the digit 1, uppercase O, the digit 0 and lowercase o. Every remaining character is unambiguous when you read the password back from a printout or retype it on another device. The option shrinks the pool slightly, so add a character or two of length to compensate.

How strong is ‘strong’? What do the entropy bits mean?

Entropy is length × log2 of the character pool — the number of uniform guesses an attacker must work through. The bar bands are roughly weak (under 45 bits), fair (under 65), good (under 95) and strong (95 and up). A 20-character password using every set carries about 129 bits of entropy, and brute-forcing that would take longer than the universe has existed with any hardware we can imagine.

Is a password generator without symbols still safe?

Often, yes — length beats punctuation. An 18-character password from letters and digits alone carries about 107 bits of entropy, which is stronger than a 12-character one with symbols (about 77 bits). Some older sites reject special characters anyway, so unticking Symbols and adding a couple of characters of length is a perfectly sound setup.

What else should I do beyond generating a strong password?

Use a different password for every account, so one leaked database never unlocks anything else. Store them in a reputable password manager rather than memory, paper or a spreadsheet, and turn on two-factor authentication for email, banking and social accounts — 2FA protects you even when a password is stolen. A generator is one layer, not the whole wall.

Does the generated password ever leave this page?

No. Generation happens entirely in your browser tab through the Web Crypto API; nothing is sent to a server, stored or logged. You can load the page, disconnect from the internet and keep generating — the output is identical.

Browse all generators.