Secure Password Generator
Create a strong random password, a memorable passphrase made of random words or a secure PIN. Set the length and character types, or the number of words, and the password is generated right in your browser.
Generate a PIN
Result
Your PIN
The generator skips easy-to-guess PINs: repeated digits, runs like 1234, well-known picks and dates or birth years. The real number of options is therefore slightly lower.
How to generate a strong password
- 1 Choose the password type: random characters or a memorable password made of words.
- 2 For random characters, pick a length (we recommend at least 16 characters). For words, pick the number of words (we recommend at least 6).
- 3 Click “Generate password” and copy the result securely.
- 4 Use a unique password for every account (ideally with a password manager).
Why use a random password generator?
Random characters or a password made of words?
Is this password generator safe?
Recommended settings
-
Email and social media: 16 random characters or 6 random words.
-
Admin and business accounts: 20+ random characters.
-
Password manager master password or computer login: 6 or more random words you can remember.
-
Wi‑Fi password: 16-24 characters, or 5-6 words if you often read it out to guests.
-
With a password manager: 20+ characters, or the maximum the site allows.
Best practices for password security
-
Use a unique password for every account
-
Length and randomness matter more than mixing character types: at least 16 random characters or 6 random words
-
Don't make up passwords yourself. Even a complex-looking password built on a pattern, such as Summer2026!, can be guessed
-
Add uppercase letters, numbers and symbols mainly when a site requires them
-
Use a password manager - you don't have to remember passwords, so make them longer
-
Enable Two-Factor Authentication (2FA) whenever possible
How many characters should a strong password have?
A password's strength depends on how many possibilities an attacker has to try. The table compares randomly generated passwords of different lengths with passwords made of words.
Length versus complexity
At 10 billion guesses per second, an attacker cracks 8 lowercase letters in about 10 seconds on average.
Uppercase letters, digits and symbols help: 8 characters hold out for about 3.5 days. Still not much.
Doubling the length does far more. 16 lowercase letters hold out for around 70,000 years on average.
16 characters of all types are out of reach. Length helps the most, character types come second.
| Password | Strength (bits) | Average time to crack |
|---|---|---|
| 8 random characters | ≈ 52 | about 3.5 days |
| 12 random characters | ≈ 79 | about 750,000 years |
| 16 random characters | ≈ 105 | more than a billion years |
| 20 random characters | ≈ 131 | more than a billion years |
| 4 random words + number | ≈ 58 | about 7 months |
| 5 random words + number | ≈ 71 | about 4,500 years |
| 6 random words + number | ≈ 84 | about 35 million years |
Assumptions: every character is picked at random from the 94 printable ASCII characters (lowercase and uppercase letters, digits, symbols). Words are picked at random from a list of 7,776 words, followed by a random two-digit number (00-99). Capitalization and the separator add no strength because they are always the same. Times are illustrative: an offline attack on a stolen database with a fast hash at 10 billion guesses per second. Average time means trying half of all combinations; trying all of them takes twice as long. If a service stores passwords with a slow hash (such as bcrypt or Argon2), the attack is orders of magnitude slower. In an online attack, the service also limits the number of attempts.
Related Tools
More generators for test data, codes and placeholder content.
FAQ
Frequently asked questions