Password Generator

Generate strong and secure passwords with our Password Generator. Customize length, numbers, and symbols.

How the Password Generator works

Generate a random password from upper- and lowercase letters, with optional numbers and symbols, at the length you choose. Characters are picked with your browser's cryptographic random number generator.

  1. Set Password Length, from 4 to 64 characters (default 12).
  2. Tick or untick Include Numbers and Include Symbols (both on by default).
  3. Click Generate Password.
  4. Copy the Generated Password into your password manager or the site's sign-up form.
  5. Click Generate Password again for a fresh one.

How passwords are generated

The character set always includes the 52 English letters (a–z and A–Z). Include Numbers adds the 10 digits, and Include Symbols adds 24 symbols: ! @ # $ % ^ & * ( ) _ + [ ] { } | ; : , . < > ?

Each character is chosen with crypto.getRandomValues(), the browser's cryptographically secure random source, not Math.random(). Random bytes that would make some characters slightly more likely than others are discarded (rejection sampling), so every character in the set is equally likely.

Characters are picked independently, so a password isn't guaranteed to contain a digit or a symbol even when those options are on. If a site insists on one of each, check the result and generate again if needed.

Lengths outside 4 to 64 (or with a decimal) are adjusted to the nearest allowed whole number when you leave the field or click Generate Password, and the field updates to show the length used. An empty field goes back to the default of 12.

How strong is it?

Strength depends on length and the size of the character set. Each character adds log2(set size) bits of entropy:

Letters only (52): about 5.7 bits per character, 68 bits at 12 characters. Letters and numbers (62): about 6.0 bits per character, 71 bits at 12. Letters and symbols (76): about 6.2 bits per character, 75 bits at 12. All options (86): about 6.4 bits per character, 77 bits at 12 and 103 bits at 16.

Adding length raises strength faster than adding symbols, which is why 16 or more characters is a good target when a site allows it.

Privacy

Passwords are generated in your browser. They are not sent to a server, logged, or saved, and a new one replaces the old one on screen when you click again.

Frequently asked questions

How strong are the generated passwords?

With the defaults (12 characters, numbers and symbols on), each password has about 77 bits of entropy, which is far beyond what can be guessed online. For important accounts, 16 or more characters (about 103 bits) gives extra margin.

Is the generator truly random?

It uses crypto.getRandomValues(), the browser's cryptographically secure random number generator, with rejection sampling so no character is favored. It does not use Math.random().

Are passwords stored or transmitted?

No. Generation happens entirely in your browser, and the password is not sent anywhere or saved. Copy it into a password manager before you leave the page.

What's the recommended password length?

Use at least 12 characters for everyday accounts and 16 to 20 or more for email, banking, and password manager accounts. Longer is better whenever the site allows it.

Which symbols can appear?

With Include Symbols on, the password can contain ! @ # $ % ^ & * ( ) _ + [ ] { } | ; : , . < > ? but not spaces, quotes, backslashes, hyphens, or the equals sign. The Password Strength Checker counts every one of these as a special character.

Will every password include a number and a symbol?

Not always. Each character is drawn at random from the full set, so a short password can happen to have no digit or no symbol. Generate again if a site requires one of each.

Can I generate several passwords at once?

No. It makes one password per click. Click Generate Password again whenever you need another; each one is independent of the last.

Similar Utility tools

3 related