lock

Password Generator

Generate strong, random passwords with custom character sets and length

verified Reviewed by Calkulator Team
Developer illustration
Developer

Generate strong, random passwords for your accounts

A 16-character password with uppercase, lowercase, digits, and symbols has approximately 95^16 possible combinations — effectively uncrackable by brute force. This generator creates cryptographically random passwords.

tips_and_updates Use a unique password for every account — a password manager makes this practical without memorisation.
Options
Password Length: 16
664
Character Types
Your Password
—
Strength —
Password Best Practices
• Use at least 12 characters — 16+ for important accounts
• Never reuse passwords across sites
• Use a password manager to store passwords securely
• Enable two-factor authentication wherever possible
• Change passwords after any known breach
insights
Live Result Illustration
Visual summary — updates instantly as you enter values above
LIVE
Tool Output Updates in real-time // Input Hello, World! ───────────────── Encoding: UTF-8 Length: 13 bytes → // Output SGVsbG8sIFdvcmxkIQ== ───────────────────── Format: Base64 Length: 20 chars Do not paste sensitive credentials, tokens, or private keys into any online tool — use local tools for security-critical work.
tips_and_updates

Real-Life Guide to Using the Password Generator

Strong random password generator

When this calculator is useful

Use this when creating a new account, resetting a compromised password, or generating a fresh key/passphrase for a service that does not support a password manager's built-in generator.

lightbulb Real-Life Example
Generating a banking login password: Someone is signing up for a new net-banking account that requires a minimum 12-character password with at least one symbol and one number.
1Setting length to 16 with uppercase, lowercase, numbers, and symbols enabled might produce something like qT8!rL2#vN9$xW4z — a string with no dictionary words or sequences, giving roughly 95^16 possible combinations for that character set.
Maximizing both length and character variety, rather than relying on a "clever" phrase, is what actually makes a password resistant to cracking tools.

Common Mistakes

  • Choosing a short length like 8 characters because it is "easier to remember" — an 8-character mixed password can be brute-forced by modern GPU rigs in hours, while 16 characters pushes that into centuries.
  • Disabling symbols to avoid "typing issues," which cuts the character pool roughly in half and reduces entropy per character significantly.
  • Reusing one generated password across multiple sites — if any one site is breached, that password can be tried against your other accounts (credential stuffing).
  • Generating a password and then manually tweaking it to something memorable, which reintroduces predictable patterns and defeats the randomness the generator provided.
  • Assuming a generated password is safe to email or paste into a chat message in plaintext — always transfer it through a password manager or an encrypted channel.

How to Interpret Results

The generator outputs a string built from the character sets you selected (uppercase, lowercase, numbers, symbols) at the length you chose — treat every generated password as single-use and store it in a password manager immediately rather than memorizing or reusing it.

quiz

Password Generator FAQs

How does this password generator create randomness?
It uses your browser's cryptographically secure random number source to pick characters independently from the character sets you enable (uppercase, lowercase, digits, symbols), so no character's value depends on the ones before it. This is different from a human trying to "randomly" type keys, which tends to follow subconscious patterns.
Is a longer password always better than a more complex one?
Length generally matters more than complexity for resisting brute-force attacks, because each added character multiplies the total possible combinations, while adding a character set (like symbols) only multiplies the pool size once. A 20-character password using only letters and numbers is typically stronger than a 10-character one packed with symbols.
Why do some websites reject passwords with certain symbols?
Some legacy login systems restrict characters like quotes, backslashes, or spaces because of how their backend sanitizes input, or they cap password length outright. If a generated password is rejected, regenerate with symbols disabled or try a shorter length rather than manually editing the string.
Should I use the same strong password for multiple accounts if it is long enough?
No — password strength and password reuse are separate risks. Even an uncrackable password becomes worthless the moment one site storing it is breached and the credentials are leaked or sold, so every account still needs its own unique generated password.
Is it safe to generate a password for my bank account in a browser tool like this?
Generation happens locally in your browser and the password is never sent to any server, but you should still avoid pasting it anywhere insecure afterward, close the tab when done, and store the result directly in a reputable password manager rather than a notes app.
What password length should I use for a Wi-Fi router versus a website login?
A Wi-Fi WPA2/WPA3 passphrase benefits from 16-20 characters since it is rarely typed manually after setup and is a common brute-force target, while a website login can use whatever length the site allows up to its maximum, generally 16+ where permitted.
Can a generated password still be guessed if it does not contain personal information?
A truly randomly generated password with sufficient length has no meaningful "guessing" strategy beyond brute force, which is computationally infeasible at 12+ mixed-character length with current hardware. Risk instead shifts to how the password is stored, reused, or leaked, not to guessing it outright.
What should I do immediately after generating a new password?
Save it into a password manager before using it, update the credential on the target site, and if it replaces a password used elsewhere, change those other accounts too since the old password may already be compromised. Avoid leaving it in browser autofill history on a shared computer.

What Makes a Strong Password?

Password strength comes from entropy — the number of possible combinations. Each additional character type multiplies the search space: a 12-character password using all four character types has ~95¹² ≈ 5.4 × 10²³ possible combinations, making brute-force infeasible.

This generator uses JavaScript's Math.random() for client-side generation — your password is never sent to any server. For maximum security, use the Web Crypto API in production applications (crypto.getRandomValues()).

lightbulb Time to Crack
18 chars, lowercase only: seconds
212 chars, mixed: years (at 10¹² tries/sec)
316 chars, all types: millions of years
✓ Most breaches use credential stuffing, not brute force

quizFrequently Asked Questions

What makes a password strong?
Length and randomness are the key factors. A 16-character random password is exponentially harder to crack than an 8-character one. The character set also matters: lowercase only = 26 symbols; adding uppercase = 52; adding digits = 62; adding symbols = ~95. A 16-character random password from 95 characters has approximately 4.4 × 10³¹ possibilities.
How long would it take to crack a strong password?
A modern GPU can test ~10 billion passwords per second. An 8-character fully random password takes roughly 2 days to crack by brute force. A 12-character random password would take approximately 34,000 years. A 16-character password is effectively uncrackable with current technology — always aim for at least 16 characters for important accounts.
Should I use the same strong password for multiple sites?
Never. If one site is breached, all accounts sharing that password are compromised through credential stuffing attacks. Use a unique password for every important account. A password manager (Bitwarden, 1Password, KeePass) can generate and store unique strong passwords for all sites — you only need to remember one master password.
keyboard_arrow_up