Password Generator

Create a strong random password. It is generated on your device and never sent or stored.

How it works

Each character is picked with crypto.getRandomValues, the browser's cryptographically secure random source, using rejection sampling so every character is equally likely. The password always contains at least one character from each type you tick.

Strength is shown as entropy: length × log₂(number of possible characters). With all four types there are 87 possible characters, so 16 characters give about 103 bits. Above 80 bits is out of reach of guessing attacks.

The page does not send or save the password. Copy it straight into your password manager, and use a different password for every account.

Worked examples

QuestionAnswer
8 characters, all typesabout 51 bits: too short for important accounts
12 characters, all typesabout 77 bits: the minimum many security guides recommend
16 characters, all typesabout 103 bits: strong
20 characters, letters and numbers onlyabout 119 bits: strong, and easier to type on a phone

Frequently asked questions

Is it safe to generate a password on a website?

This page generates the password with JavaScript in your browser and makes no network request with it. You can even disconnect from the internet after the page loads and it still works.

How long should a password be?

At least 12 characters, and 16 or more for email, banking and your password manager. Length adds more strength than symbols do.

Should I use symbols?

They help, but some sites reject certain symbols. If a site refuses the password, untick Symbols and add a few characters of length instead.

More calculators