AI Learning GymAI Learning Gym

Free browser tools for everyday tasks

← Back to Dashboard

Password Generator

Strength: —
16

About This Tool

This password generator creates strong, random passwords using your browser's built-in secure random number generator. You can control the length and which types of characters to include. Your generated passwords are never sent to any server.

How to use it

  1. Choose your password length using the slider (longer is stronger).
  2. Check or uncheck character types — uppercase, lowercase, numbers, and symbols.
  3. Click Generate New Password to create a new one.
  4. Click Copy to copy it to your clipboard.

What makes a password strong?

Password strength comes down to two things: length and randomness. Here's a quick guide:

Adding symbols and numbers increases strength significantly. A 16-character password with all character types would take billions of years to crack by brute force.

Tips for managing passwords

Frequently asked questions

Are the generated passwords stored anywhere?

No. Passwords are generated entirely in your browser using JavaScript. Nothing is sent to any server. Closing the tab clears everything.

Is this truly random?

Yes. This tool uses the Web Crypto API (window.crypto.getRandomValues), which generates cryptographically secure random numbers — the same standard used in security software. It's far more unpredictable than basic random number generators.

What if a site doesn't allow symbols?

Just uncheck the Symbols option. The generator will create a password using only the character types you've selected.

Should I use a passphrase instead?

Passphrases (like "correct-horse-battery-staple") are an alternative approach — they're easier to remember and can be very strong if long enough. For accounts where you need to type the password regularly without a manager, a passphrase can be a good choice.

Why not just use something I can remember?

Memorable passwords tend to follow patterns — names, birthdays, dictionary words — that attackers can exploit. A random 16-character password is exponentially harder to crack than "MyDog$Fluffy2019", even though the latter feels complex.

How Password Attacks Work

Understanding how attackers crack passwords helps you understand exactly why strong, random passwords matter. There are four primary attack methods used in the real world, and each one exploits a different weakness in how people choose passwords.

Brute Force Attacks

A brute force attack tries every possible combination of characters until the correct password is found. Modern computers can test billions of combinations per second using specialized hardware. This is why password length matters so much — every additional character multiplies the number of possible combinations exponentially.

Here is a rough estimate of how long a brute force attack takes based on password length, assuming all character types and a fast attack machine testing 10 billion passwords per second:

A 16-character random password with mixed character types is effectively impossible to crack by brute force with current technology. This is the minimum length we recommend for sensitive accounts.

Dictionary Attacks

Dictionary attacks use precompiled lists of common words, phrases, and known passwords to guess your credentials. These lists contain billions of entries — every word in every major language, common substitutions like p@ssw0rd and dr@gon1, and every password that has ever been leaked in a data breach. If your password is based on a real word or a common pattern, a dictionary attack will find it in seconds regardless of how clever you think the substitutions are.

This is why a randomly generated password like kX9#mPqL2&vTnR7j is vastly more secure than MyP@ssword123! — the latter matches patterns that dictionary attack lists specifically target.

Credential Stuffing

Credential stuffing is one of the most common attack methods today. When a website gets hacked, the stolen username and password combinations are sold on the dark web. Attackers then automatically try those same credentials on hundreds of other websites — email providers, banks, social media platforms, shopping sites. If you reuse the same password across multiple accounts, a breach at one site gives attackers access to all of them.

This is the single most important reason to use a unique password for every account. A password manager makes this practical without requiring you to memorize dozens of random passwords.

Phishing Attacks

Phishing attacks trick you into typing your password into a fake website that looks identical to the real one. No matter how strong your password is, if you type it into a phishing site, the attacker has it immediately. Two-factor authentication (2FA) is the most effective defense against phishing — even if an attacker captures your password, they cannot log in without the second factor from your phone or authenticator app.

Password Security Best Practices

Strong passwords are just one layer of account security. Following these best practices gives you comprehensive protection against the most common attack methods.

Use a Password Manager

A password manager stores all your passwords in an encrypted vault that you unlock with one master password. This allows you to use a completely unique, randomly generated password for every account without needing to remember any of them. Leading password managers include Bitwarden (free and open source), 1Password, Dashlane, and the built-in managers in Chrome, Firefox, and Safari.

The master password for your password manager should be the strongest password you have — at least 20 characters, ideally a long passphrase you can remember. Everything else can be randomly generated and stored in the vault.

Enable Two-Factor Authentication

Two-factor authentication (2FA) adds a second verification step beyond your password. Even if an attacker has your exact password, they cannot access your account without also having access to your phone or authenticator app. Enable 2FA on every account that offers it — starting with your email, bank, and password manager. Use an authenticator app like Google Authenticator or Authy rather than SMS-based 2FA, which can be intercepted through SIM swapping attacks.

Check If Your Passwords Have Been Leaked

Data breaches happen constantly. Services like Have I Been Pwned (haveibeenpwned.com) allow you to check whether your email address or passwords have appeared in known data breaches. If a password you use appears in a breach database, change it immediately — even if the breached site was not important, attackers will try that password on all your other accounts through credential stuffing.

Never Share Passwords

No legitimate service will ever ask for your password by email, phone, or chat. If you receive a request for your password from anyone — even someone claiming to be from your company's IT department or a website's support team — it is a social engineering attack. Legitimate support teams can reset your password without knowing your current one.

Change Passwords After Breaches, Not on a Schedule

The old advice to change passwords every 90 days has been largely abandoned by security experts. Forced regular changes actually weaken security because users tend to make predictable modifications — adding a number at the end, capitalizing the first letter. Instead, change your password when there is a specific reason: a breach at a service you use, suspicion that your account was compromised, or sharing a password with someone who no longer needs access.

Use Different Password Categories

Not all accounts carry the same risk. Organizing your passwords by importance helps you prioritize where to invest security effort:

Understanding Password Entropy

Entropy is the technical measure of password strength. It is expressed in bits and represents the degree of unpredictability in a password. The higher the entropy, the harder the password is to crack.

How Entropy Is Calculated

Password entropy is calculated using this formula: Entropy = Length × log₂(Character Set Size). The character set size is the number of possible characters at each position in the password.

A 16-character password using all character types has entropy of approximately 105 bits. Security researchers generally consider 80+ bits of entropy to be very strong against brute force attacks with current technology.

Why Length Beats Complexity

Many websites require passwords with uppercase letters, numbers, and symbols — but these complexity requirements often produce weaker passwords than simply requiring longer ones. A 16-character lowercase-only password (randomwordstringhere) has more entropy than an 8-character password with all character types (P@ss1234). Length has a multiplicative effect on entropy because each additional character multiplies the total number of possible combinations by the size of the character set.

This is the mathematical basis for the passphrase approach — four random common words strung together (correct-horse-battery-staple) produces a highly memorable password with very high entropy due to its length.

The Strength Meter Explained

The strength meter in this tool calculates the entropy of your generated password in real time based on its length and the character set you have selected. The ratings map to these entropy ranges:

Passphrase vs Random Password — Which Is Better?

Both approaches produce strong passwords when done correctly. The right choice depends on your situation and how you plan to use the password.

Random Passwords

A random password like kX9#mPqL2&vTnR7j is extremely strong because it has no patterns for dictionary attacks to exploit. The downside is that it is essentially impossible to memorize without a password manager. For accounts stored in a password manager — which is most accounts — random passwords are the ideal choice. Generate them with this tool, copy them directly into your password manager, and never worry about memorizing them.

Passphrases

A passphrase is a sequence of random words — for example correct-horse-battery-staple. The key word is random: the words must be chosen randomly, not by you. Human-chosen "random" words follow predictable patterns (people tend to pick nouns, animals, and concrete objects) that dictionary attacks exploit. A truly random four-word passphrase selected from a large word list has approximately 51 bits of entropy — strong enough for most uses and much easier to type and remember than a character-soup password.

Passphrases are ideal for accounts you need to type regularly without a password manager — your computer login, your password manager master password, or accounts you access from shared devices where you cannot use autofill.

The Verdict

Use a password manager and randomly generated passwords for all accounts you access through your devices. Use a memorable passphrase for your master password and any account you must type manually. The combination of these two approaches covers every realistic scenario with maximum security.