Skip to content
ToolZone

Random Password

Generate a random secure password using a mix of letters, numbers, and symbols, helping you avoid weak or predictable passwords.

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 Random Password

Random Password creates a fresh password every time you change a setting. Choose a length from 4 to 128 and which character types to include, and the tool builds the password with your browser's cryptographically secure random generator and rates its strength.

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.

Worked examples

Default settings

A site that doesn't allow symbols.

Input
Length 16, uppercase, lowercase and numbers
Result
A password like q7GmT2xLw9RbK4sN, rated Strong

Pool of 62 characters: 16 x log2(62) ≈ 95 bits, in the 80-127 Strong band.

Adding symbols

The defaults: 16 characters with all four types.

Input
Length 16, all four types
Result
A password like h$4Tq!m8Z{rW2p;K, rated Strong

Pool of 88 characters: 16 x log2(88) ≈ 103 bits. Use 20 or more characters to reach Very strong (128 bits).

Short lowercase password

A site only accepts 8 lowercase letters.

Input
Length 8, lowercase only
Result
A password like kfmwqzta, rated Very weak

8 x log2(26) ≈ 38 bits, just under the 40-bit Weak line, so it shows Very weak. Use the maximum length the site allows to compensate.

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 password will be stored in a password manager or otherwise kept private. The site you're using accepts the characters you selected.
Privacy
Passwords are generated locally with your browser's secure random generator and are never sent or stored by this tool.

Frequently asked questions

How is this different from the Password Generator tool?+

They work the same way and use the same generator. This page is simply listed with the random generators so it's easy to find.

Is it safe to generate a password in the browser?+

Yes. The password is created on your device using crypto.getRandomValues and isn't transmitted or saved by the tool.

How long should my password be?+

16 characters or more is a good default for important accounts. Longer is better if the site allows it.

Will my password always include a number if Numbers is ticked?+

It always will now. One random position is reserved for each character type you select, so a ticked type is never missing.

What does the strength rating mean?+

It's based on entropy, the length times log2 of the pool size. Under 40 bits is Very weak, 40-59 Weak, 60-79 Good, 80-127 Strong and 128+ Very strong.

Related tools