Privacy tool

Password Generator

Choose your options, create a password and copy it. Nothing is uploaded.

Runs in your browser. No upload.

Generated locally with your browser's secure random generator.

About this tool

Password Generator made simple.

The password is generated in this browser with the Web Crypto API. Never reuse a password across accounts.

Guide

Using Password Generator

The Password Generator makes a random password in your browser. You pick a length from 8 to 64, choose which kinds of characters to allow, and press Generate. A label next to the result shows Strong, Good or a dash, from a simple count of bits. Every character is picked with the browser's Web Crypto random generator, not with Math.random. The password is never sent anywhere. It cannot remember the password for you and it cannot check whether a site accepts it, so keep the result in a password manager.

How to use it

  1. Move the length slider. It runs from 8 to 64 and starts at 16. Longer is better where the site allows it.
  2. Tick the kinds of characters you want: uppercase, lowercase, numbers and symbols. All four start ticked. At least one must stay ticked.
  3. Tick Exclude similar characters if you will type the password by hand. It removes I, l, 1, O and 0.
  4. Press Generate password. The new password appears in the box with a short label: Strong, Good or a dash.
  5. Press Copy password and paste it into your password manager or the site's form. Generate again if the site rejects it.

Worked examples

The default settings

You enter
Length
16
Uppercase
yes
Lowercase
yes
Numbers
yes
Symbols
yes
Exclude similar
no
You get
Character pool
85
Bits
102.6
Label
Strong
Result
16 random characters, each type used at least once

The sets hold 26 + 26 + 10 + 23 characters, so 85 in all. Each of the 16 spots draws from those 85. The label comes from 16 x log2(85), which is about 102.6 bits, and 70 or more is Strong. A different password appears each time, so the tool cannot show a fixed answer.

Run through the tool’s own code.

Short and long with all four types

You enter
Lengths
8; 12
Uppercase
yes
Lowercase
yes
Numbers
yes
Symbols
yes
Exclude similar
no
You get
8 characters
about 51.3 bits, Good
12 characters
about 76.9 bits, Strong

The pool is 85 characters, so each character adds about 6.41 bits. Eight characters reach the Good level of 40 bits, and twelve pass the Strong level of 70 bits. The label does not test the password against leaked lists.

Run through the tool’s own code.

Exclude similar characters

You enter
Length
12
Uppercase
yes
Lowercase
yes
Numbers
yes
Symbols
no
Exclude similar
yes
You get
Character pool
57
Forbidden
I l 1 O 0
Bits
69.99
Label
Good

Uppercase drops from 26 to 24, lowercase from 26 to 25 and numbers from 10 to 8. That leaves 24 + 25 + 8 = 57 characters to draw from. The code strips I, l, 1, O and 0 from each ticked set before any character is drawn. 12 x log2(57) is 69.99 bits, just under 70, so the label is Good, not Strong.

Run through the tool’s own code.

Digits only is a small pool

You enter
Length
8
Uppercase
no
Lowercase
no
Numbers
yes
Symbols
no
Exclude similar
no
You get
Character pool
10
Possible combinations
100000000
Bits
26.6
Label
—

Eight digits give 10 to the power of 8, which is 100 million possible strings, or about 26.6 bits. That is below 40 bits, so the label shows a dash. Use digits only when a site forces you to, and then choose a much longer length.

Run through the tool’s own code.

One letter makes the difference

You enter
Lengths
14; 15
Lowercase
yes
Uppercase
no
Numbers
no
Symbols
no
You get
Character pool
26
14 characters
about 65.8 bits, Good
15 characters
about 70.5 bits, Strong

Lowercase letters give 26 choices, or about 4.70 bits per character. Fourteen letters fall just short of 70 bits and fifteen pass it. The labels move at fixed bit counts, so one more character can change the label.

Run through the tool’s own code.

When it helps

  • Create a new password for an account when you sign up, and save it straight into a password manager.
  • Replace a password you reused on several sites with a different random one for each.
  • Make a random Wi-Fi password to share with guests, using the exclude similar option so it is easy to read out.
  • Produce a random value for a test account or a temporary login.
  • Get a starting string for a site that insists on a mix of upper case, lower case, numbers and symbols.

Limits to keep in mind

  • Length is limited to 8 to 64 characters. The tool makes one password at a time and does not make word-based passphrases.
  • The symbol set is fixed: ! @ # $ % ^ & * ( ) - _ = + [ ] { } : , . ? /. A site that bans some of these will reject the result, so untick Symbols or generate again.
  • The label is length times log2 of the number of allowed characters: 70 bits or more is Strong, 40 or more is Good, and less shows a dash. It does not test the password against lists of leaked or common passwords.
  • NIST's password rules call for at least 15 characters when a password is the only login step. Passwords of 8 to 14 characters are meant for accounts that also use a second factor. A Strong label does not mean this rule is met: 11 characters with all four types already show Strong.
  • The tool does not save passwords. If you close the page without copying it, that password is gone.

Tips

  • Use a password manager so you only need to remember one strong master password and never reuse the others.
  • Pick 16 or more characters when the site lets you, and go longer for accounts that matter most, such as email.
  • Turn on two-step login wherever it is offered. A good password and a second factor protect each other.
  • Do not email or message a password to yourself. Paste it straight into the manager.
  • Change a password at once if a site tells you it was part of a leak.

Sources

Common questions

About Password Generator.

What random source does this password generator use?

It calls crypto.getRandomValues, the browser's Web Crypto function, and never Math.random. To pick from a list it rejects numbers that would favor some characters, so each allowed character has an equal chance. The shuffle at the end uses the same source.

Is the password sent to a server?

No. The page says it is generated locally in your browser, and nothing is uploaded. The password exists only in the box on your screen until you copy it. Be careful when copying on a shared or public computer, where the clipboard may be visible.

How long should my password be?

NIST's current guidance for passwords used alone says at least 15 characters. A password used with a second login step can be shorter, with eight as the lowest limit. Where a site allows it, longer is better. The slider goes up to 64.

Do I need uppercase, numbers and symbols?

Not for safety in general. NIST says sites must not require mixes of character types and that length matters more. Some sites still demand them, which is why the tool offers all four. Leave the boxes ticked when a site asks for a mix.

What do the Strong and Good labels mean?

They come from one number: the length times log2 of how many different characters are allowed, which counts bits for random characters. 70 or more shows Strong, 40 or more shows Good, and less shows a dash. With all four types ticked, 8 characters is Good and 11 or more is Strong. It is a rough guide.

Why does the tool always include every type I tick?

The code first takes one random character from each ticked set. It then fills the rest from the combined pool and shuffles everything. That makes sure a site that insists on one of each kind will accept the result. It slightly narrows the possible outputs.

What does Exclude similar characters do?

It removes I, l, 1, O and 0 from the sets before drawing. Those characters look alike in many fonts. It helps when you must read or type the password by hand. It makes the pool a little smaller, so add a few characters of length.

Can this password be cracked?

Any password can be guessed in theory. A random one of enough length makes guessing by machine very costly, but no tool can promise it will never be found. Real risks are often reuse, phishing and leaks. A unique password per account and a second login step reduce them.

Where should I store the password?

Use a reputable password manager. OWASP's guide for site builders says sites should allow pasting into password fields so managers can work. If you cannot use a manager, do not reuse one password across sites, and keep any written copy somewhere private.

Why do some sites reject my generated password?

Some sites set a maximum length, ban certain symbols, or block spaces and other characters. Try fewer symbols, a shorter length or untick Symbols. Also check that the site did not cut the password when you pasted it.

How do I create a strong random password?

Choose a length, select the character types you want and generate a password. Longer passwords with varied characters are harder to guess.

Is my generated password sent anywhere?

No. The password is created in your browser and is not uploaded.