Skip to content
ToolZone

Password Generator

Generate strong, random passwords with custom length and character rules, helping you avoid weak or reused passwords across your accounts.

Runs in your browser. Nothing you enter or upload leaves your device.

Pick at least one character set
Generate

Generated in your browser with Web Crypto; nothing is sent or stored. Each password includes at least one character from every set you pick.

Keyboard shortcuts

Run the main action
⌘ / Ctrl + Enter
Copy the result
⌘ / Ctrl + Shift + Enter
Download the result
⌘ / Ctrl + S
Paste a file or image into file tools
⌘ / Ctrl + V
Search all tools
⌘ / Ctrl + K
Show these shortcuts
?

You can also drop files anywhere on the page.

About the Password Generator

This Password Generator builds a random password from the character types you pick and the length you set, then rates its strength from the entropy of that combination. It is for anyone signing up for a new account, rotating an old password, or filling a password manager entry.

How it works

The character sets you pick are combined into one pool: 26 uppercase letters, 26 lowercase letters, 10 digits and 26 symbols (!@#$%^&*()_+-=[]{}|;:,.<>?), minus any look-alikes or characters you exclude. Each character is picked with the browser's cryptographic random generator using rejection sampling, so every character in the pool is equally likely. One random position is then given a character from each chosen set, so every set always appears.

Strength is measured as entropy: length × log2(pool size). Under 40 bits is Very weak, 40 to 59 Weak, 60 to 79 Good, 80 to 127 Strong and 128 or more Very strong. The crack time assumes an offline attack at 10 billion guesses a second. Passphrase mode picks random 4 to 7 letter words from a large dictionary instead, about 16.5 bits per word.

How to use

  1. 1

    Choose Password or Passphrase.

  2. 2

    Set the length (or number of words) and the character types or separator.

  3. 3

    Check the strength bar and crack-time estimate, and click refresh for another.

  4. 4

    Copy it, or pick 5, 10 or 50 to generate a list you can copy or download. Your settings (not the password) are kept in the page link.

Worked examples

Default settings

You need 16 characters with uppercase, lowercase and numbers.

Input
Length 16, Upper + Lower + Numbers
Result
A 16-character string such as k7RmQ2xLp9TzW4bN, rated Strong

Pool of 62 characters: 16 × log2(62) ≈ 95.3 bits, which falls in the 80-127 Strong band.

Adding symbols

The site accepts 20 characters including symbols.

Input
Length 20, all four types
Result
Rated Very Strong

Pool of 88 characters: 20 × log2(88) ≈ 129.2 bits, above the 128-bit Very strong threshold.

A short numeric PIN

You need an 8-digit code using numbers only.

Input
Length 8, Numbers only
Result
Rated Very weak

8 × log2(10) ≈ 26.6 bits, under the 40-bit Weak line. Fine for a PIN with lockout protection, too weak for an online password.

Limitations
The strength estimate assumes the password is random; it doesn't check breached-password lists. Passphrase mode downloads a word list (about 3.5 MB) the first time you use it. The passphrase dictionary includes some uncommon words.
Assumptions
The browser's crypto.getRandomValues is a sound source of randomness, as it is in all modern browsers. The password is used once and stored securely.
Privacy
Passwords are generated in your browser and are not sent to a server or saved by the page.

Frequently asked questions

How long should a strong password be?+

For accounts that matter, 16 or more random characters is a good target. At 16 characters from all four sets the meter shows about 103 bits of entropy, far beyond what brute-force attacks can reach. A five-word passphrase gives about 83 bits and is easier to type.

Is it safe to generate passwords in a browser?+

Yes, as long as the generation happens locally. This tool uses the browser's cryptographic random generator and does not transmit or store the password.

What does the strength rating mean?+

It is based on entropy: length multiplied by log2 of the number of possible characters. Under 40 bits is Very weak, 40-59 Weak, 60-79 Good, 80-127 Strong and 128+ Very strong.

Which symbols can appear?+

The symbol set is ! @ # $ % ^ & * ( ) _ + - = [ ] { } | ; : , . < > and ?. Spaces, quotes and backslashes are not included.

Why did my password change when I moved the slider?+

The tool generates a fresh password whenever the length or character options change, so the password always matches the current settings.

Related tools