Skip to main content
QuickToolsWorld

Guide

How to Create a Strong Password and Keep It Secure

Create a strong password or passphrase, see exactly how our generator picks characters, then keep accounts safe with a password manager, MFA and breach checks.

By QuickToolsWorldPublished Updated 14 min read

A strong password is long, random and used for one account only. For passwords a password manager fills in for you, generate 16 or more random characters. For the few you have to type from memory, pick five or more words at random and join them into a passphrase. Then keep it secure: save it in a password manager, turn on multifactor authentication, and never type it into a page you reached from an unexpected link.

This guide starts with why weak passwords fail, walks through both ways of making a strong one, explains exactly how our generator works, and then covers the habits that stop a good password being reused, phished or leaked.

What a strong password looks like

Weak passwords tend to look sensible to people, which is exactly why attackers try them first. Strong ones look meaningless.

Don’t use these examples. Any password published online, including every one on this page, should be treated as already known to attackers. Use them to see the difference, then create your own.
ExampleVerdictWhy
password123WeakOne of the most common passwords in breach lists
Summer2026!WeakA season, a year and a symbol: a textbook pattern
P@ssw0rdWeakSwaps like @ for a and 0 for o are tried automatically
Jennifer1987WeakA name and a birth year are often findable online
Dd}RcK35KAx_sOdbStrong16 random characters from all four character types
znZgR9WQwrtt4a3fuBStrong18 random characters; long enough not to need symbols
plaza-ember-mostly-crater-violinStrongFive unrelated words chosen at random

The strong examples were made by a random process, not invented by a person. How a password was created matters more than how complicated it looks.

How weak passwords get guessed

Attackers rarely type guesses into a login page one at a time. More often they test enormous numbers of guesses against a leaked password database, starting with passwords already leaked from other sites and dictionary words, then applying the changes people usually make:

  • A capital first and a number or symbol last: Welcome1!
  • Years and dates: Football2026, march0315
  • Keyboard patterns: qwertyuiop, 1qaz2wsx
  • Character swaps: $unsh1ne
  • The site’s own name: Netflix2026
  • One base password with a small change per site: Holiday2025, Holiday2025fb

Each of these follows rules a computer can predict, so it takes a tiny fraction of the guesses a random password of the same length would need. That is why Summer2026! is far weaker than its 11 characters suggest.

How long a password should be

For a random password, length matters most. With uppercase and lowercase letters, numbers and symbols switched on, each extra character multiplies the number of possible passwords by 87. The table shows what our Password Generator reports for each length. Entropy is measured in bits, and each extra bit doubles the number of guesses needed to try every combination.

LengthEntropyStrength shownUse for
8 charactersabout 52 bitsWeakOnly sites that refuse anything longer
12 charactersabout 77 bitsFairSites with a 12-character maximum
16 charactersabout 103 bitsStrongMost accounts
20 charactersabout 129 bitsVery strongEmail, banking and work accounts

These figures apply only to passwords that are truly random. Symbols help less than you might expect: an 18-character password without symbols (about 107 bits) is stronger than a 16-character one with them. So if a site rejects symbols, turn them off and add two or three characters.

Official guidance points the same way. The US Cybersecurity and Infrastructure Security Agency (CISA) recommends at least 16 characters, and NIST’s Digital Identity Guidelines set a minimum of 15 characters for passwords used without a second factor.

Step 1: Decide whether you’ll store it or type it

Before you create anything, decide how the password will be used:

  • Stored: most passwords. A password manager fills them in, so they can be long strings of random characters you never need to read. Follow step 2a.
  • Typed from memory: a handful, such as your computer or phone login and your password manager’s main password. These need to be strong and memorable. Follow step 2b.

Step 2a: Generate a random password

A generator does the one thing people are bad at: being random. Use one built into your browser or password manager, or a standalone tool when you want to choose the exact settings.

With the QuickToolsWorld Password Generator

  1. Open the Password Generator. The length is set to 16 by default; use the quick buttons, the slider, or type any number from 4 to 128.
  2. Keep uppercase, lowercase, numbers and symbols ticked unless the website restricts them. The generator always includes at least one character of each ticked type.
  3. Select Generate password. Changing the length or a character type afterwards creates a new password to match.
  4. Select Copy password, then go to step 4 before you submit it anywhere.

The password is created in your browser with its secure random number generator and isn’t sent anywhere.

With your browser’s suggestion

Browsers can suggest a strong password when you fill in a sign-up form, and save it in the same step. In Google Chrome, according to Chrome’s help page:

  1. Sign in to Chrome on your computer.
  2. On the website’s sign-up page, select the password box.
  3. Select Use strong password. If it doesn’t appear, right-click the box and choose Generate password.
  4. Review the preview and select Use suggested password.

Safari on iPhone, iPad and Mac offers a strong password in a new-password box when password AutoFill is on, with an Other Options menu for sites with strict rules. Edge, Firefox and dedicated password managers have similar features. If no suggestion appears, the usual causes are that password saving is turned off, another password manager’s extension is replacing the browser’s own, or the website doesn’t mark the box as a new password. In that case, use a standalone generator and save the result yourself.

Step 2b: Create a passphrase with dice

A passphrase is a password made of several random words. It is long, so it’s strong, and words are easier to remember and type than random characters. The words must be chosen at random, not by you. Our Password Generator creates random-character passwords only, not passphrases, so use dice or a password manager’s passphrase option for this method. The Electronic Frontier Foundation publishes word lists designed for dice that make this easy:

  1. Download the EFF’s long word list. It has 7,776 words, one for every result of rolling five dice.
  2. Roll five dice and read the numbers in order, for example 4-1-3-6-2.
  3. Find that number in the list and write down the word.
  4. Repeat until you have at least five words. Use six for your password manager’s main password.
  5. Join the words with a separator such as a hyphen. If a site requires it, capitalize one word and add a number.
  6. Practise typing it a few times, and keep a copy somewhere safe until you know it by heart.

Each word chosen this way adds about 12.9 bits of entropy:

Random wordsEntropyAbout as strong as
4 wordsabout 52 bits8 random characters
5 wordsabout 65 bits10 random characters
6 wordsabout 78 bits12 random characters
7 wordsabout 90 bits14 random characters

The comparison assumes all four character types (87 options). Words you pick yourself, a favourite quote or song lyrics are far easier to guess, because they appear in the phrase lists attackers use. The UK National Cyber Security Centre’s three random words advice is a simpler version of the same idea.

Step 3: Fit the website’s password rules

Many websites still insist on at least one uppercase letter, lowercase letter, number and symbol. A generated password with all four types ticked meets these rules automatically. NIST’s guidelines now tell services not to require character mixtures, because people satisfy them in predictable ways, but until every site follows that advice:

  • Symbols rejected? Some sites accept only certain symbols. Turn symbols off and add two or three characters of length.
  • Maximum length too short? Use the longest password the site allows, and turn on two-step sign-in.
  • Passphrase rejected? Replace spaces with hyphens, capitalize one word and add a digit.
  • Refused as “too common” or “breached”? Create a new random password rather than adjusting the old one.

Don’t edit a generated password by hand to make it fit. Change the settings and generate a new one.

Step 4: Save it before you submit

Save the new password in your password manager before you submit the form. If the page fails or you close the tab, a random password that only exists on your clipboard is gone, and you’ll need to reset it.

  • Keep it in a password manager, not a notes app, spreadsheet, screenshot or email to yourself. Those are rarely encrypted and often synced to several places.
  • Windows clipboard history (Win + V), some phone keyboards and clipboard apps keep copied text. Our generator doesn’t clear your clipboard, so copy something else afterwards if that applies to you.
  • Turn on two-step sign-in for important accounts, starting with your email, which can reset most of your other passwords.

How our Password Generator creates a password

If you use our Password Generator, you should be able to check how it works rather than take it on trust. This is exactly what happens when you select Generate password, taken from the tool’s source code:

  1. The character pool is built from the types you ticked: 26 uppercase letters, 26 lowercase letters, 10 digits and 25 symbols (!@#$%^&*()-_=+[]{};:,.?/~), 87 characters in total. With Avoid look-alike characters on, I, O, l, 0 and 1 are removed, leaving 82.
  2. Random numbers come from crypto.getRandomValues(), the browser’s cryptographically secure generator, which draws on the operating system’s randomness. JavaScript’s Math.random(), which is predictable and not designed for security, is never used.
  3. Each character is picked without bias. A random 32-bit number is turned into a position in the pool. Simply taking the remainder would make the first few characters slightly more likely, so numbers from the uneven top end of the range are thrown away and drawn again (rejection sampling). Every character is equally likely.
  4. One character from each ticked type is placed first, so the result always passes “must contain a number and a symbol” rules. The rest are drawn from the whole pool, and then the positions are shuffled with a Fisher–Yates shuffle using the same secure randomness, so the guaranteed characters don’t sit at the start.
  5. Strength is calculated, not guessed: length × log2(pool size). For 16 characters from 87, that is 16 × 6.44 ≈ 103 bits. Guaranteeing one character of each type removes a tiny fraction of the possible passwords, so the true figure is a fraction of a bit lower than the one shown.
  6. Nothing leaves your device. The password exists only in the page. It isn’t sent to our server, saved in your browser’s storage or logged, and closing the tab discards it.

We checked this behaviour by generating 5,000 twenty-character passwords with look-alike characters switched off: none contained I, O, l, 0 or 1, and every one contained all four character types. What the meter can’t do is judge a password you made up yourself. A person-made password like Summer2026! follows patterns, so its real strength is far below what its length and character types suggest.

Which password for which account

Every account needs its own password, but not every account needs the same kind:

AccountWhat to create
Password managerA six-word random passphrase you memorize, plus two-step sign-in
Computer or phone loginA passphrase of five or more words, because you type it often
Email and banking20 or more random characters, stored in your manager, plus two-step sign-in
Shopping, social media and other websites16 or more random characters, stored in your manager
Home Wi-FiA long passphrase that is easy to read aloud, or share it with a Wi-Fi QR code
Work accountsFollow your employer’s policy and tools

Keep it secure: strong isn’t the same as secure

A strong password protects against guessing. Many accounts are taken over without anyone guessing anything: the password is reused, phished or leaked. Strength is a property of the password; security depends on how it is used and protected. The sections below cover the habits that keep a strong password secure.

How passwords are actually stolen

Knowing how attackers get passwords shows which habits matter most:

AttackHow it worksWhat protects you
Credential stuffingEmail and password pairs leaked from one site are tried automatically on many others.A unique password for every account
PhishingA fake sign-in page, email or message tricks you into entering your password.Password manager autofill, multifactor authentication, passkeys
Cracking a leaked databaseStolen password hashes are tested offline against billions of guesses.Long, random passwords
GuessingCommon passwords and personal details are tried against a login page.Random passwords with no personal information
MalwareSoftware on your device records keystrokes or steals saved data.Updated software, multifactor authentication

Only two of these five attacks are stopped by a strong password alone. The rest need the habits below.

Never reuse a password

Data breaches happen to large and small companies alike, and leaked email and password pairs are bought, sold and shared. Attackers load them into tools that try each pair on email providers, shops, banks and social networks. This is credential stuffing, and it works because many people use the same password in several places.

Reusing a password with a small change, such as Holiday2025 becoming Holiday2026, is not much better. Once attackers have one version, the variations are easy to try. A unique, unrelated password for every account means a breach at one site exposes that site only.

Use a password manager

Nobody can remember dozens of random passwords, and nobody should try. A password manager generates, stores and fills in your passwords, so you only need to remember one strong main password. Your saved passwords are stored encrypted.

  • Built-in managers come with Chrome, Edge, Firefox, Safari and Apple, Google and Microsoft accounts. They are free and easy to start with.
  • Dedicated password managers work across different browsers and devices and often add features such as secure sharing and breach alerts.

Whichever you choose, protect it properly:

  • Give it a long, unique main password or passphrase that you use nowhere else.
  • Turn on multifactor authentication for the password manager or the account it belongs to.
  • Set up its recovery method, because losing access to it means losing access to everything inside.
  • Use its sharing feature when someone else needs a password, instead of sending it by text message, chat or email.

The UK National Cyber Security Centre recommends password managers in its top tips for staying secure online.

Turn on multifactor authentication or passkeys

Multifactor authentication (MFA), also called two-step verification, asks for a second proof that it’s you after your password. If your password is stolen, the attacker still needs that second factor. Not every option is equally strong:

Second factorHow it worksNotes
Passkey or security keyYour device or a physical key confirms the sign-inDesigned to resist phishing
Authenticator appA code that changes every 30 seconds, or a prompt to approveA good choice for most accounts
Text message (SMS) codeA one-time code sent to your phone numberMuch better than nothing, but codes can be phished or intercepted

Start with your email account, because it can reset the passwords of almost everything else. Then add MFA to banking, shopping, social media and cloud storage. CISA’s guide to turning on MFA explains the options.

A passkey can also replace the password entirely. It is stored on your device or in your password manager and unlocked with your fingerprint, face or device PIN. Passkeys can’t be reused across sites or typed into a fake page, so they are worth turning on wherever they are offered.

Don’t hand your password to a fake page

No password is strong enough to survive being typed into a fake website. Phishing messages create urgency, such as a locked account, a failed delivery or an unpaid invoice, and link to a convincing copy of a real sign-in page. CISA’s guide to recognizing and reporting phishing lists the warning signs. A few habits help:

  • Go to important sites by typing the address or using a bookmark, not by following links in messages.
  • Treat it as a warning if your password manager doesn’t offer to fill in your password. Managers match the exact web address, so a lookalike domain gets nothing.
  • Never share a sign-in code with anyone who contacts you, even if they claim to be from the company.

What to do if a password is exposed

If a service tells you about a breach, your password manager shows an alert, or you notice activity you don’t recognize, act quickly:

  1. Change the password for that account to a new, randomly generated one.
  2. Change it anywhere else you used the same or a similar password.
  3. Turn on multifactor authentication if it wasn’t on already.
  4. Sign out of other sessions and review connected apps, forwarding rules and recovery details.

You can check whether your email address appears in known breaches at Have I Been Pwned.

Should you change passwords regularly?

Not on a fixed schedule. NIST’s Digital Identity Guidelines (SP 800-63B) tell services not to force periodic password changes, because people respond with small, predictable edits. Change a password when there’s a reason: a breach, suspicious activity, or after sharing it with someone. The same guidelines ask services to accept long passwords, allow pasting so password managers work, and reject passwords known to have been breached.

A simple plan for securing your accounts

You don’t have to fix every account at once. Work through them in order of importance:

  1. Choose a password manager and give it a strong, unique main password.
  2. Secure your main email account: a new random password and multifactor authentication.
  3. Do the same for banking, payment apps and your phone’s app store or cloud account.
  4. Replace any password you have used on more than one site, starting with the most important accounts.
  5. Check your email address on Have I Been Pwned and change any password that appears in a breach.
  6. Add new accounts to the password manager as you sign in to them over the following weeks.

Frequently asked questions

How do I create a strong password?

Decide whether you need to remember it. If not, generate 16 or more random characters with a tool such as our Password Generator or your browser, and save it in a password manager. If you do, roll dice to pick five or more random words and join them into a passphrase. Either way, use it for one account only.

How long should a password be?

At least 16 random characters for most accounts, and 20 or more for email, banking and anything you never type yourself. For a passphrase, use five or more random words. Use a shorter password only when a website won’t accept a longer one, and turn on two-step sign-in for that account.

Can I make a strong password from a word I like?

Not really. Attackers test dictionary words with the usual changes, such as a capital letter, swapped characters and a number on the end, before anything else. If you want something memorable, use several words chosen at random instead of one word you picked yourself.

Is a passphrase better than a random password?

It is easier to remember and type, not stronger. Five random words are about as strong as 10 random characters, so a passphrase needs more length to match a 16-character random password. Use passphrases for the few passwords you type and random characters for everything a password manager stores.

Is it safe to use a password suggested by my browser?

Yes. Suggestions from Chrome, Safari, Edge and Firefox are randomly generated and saved straight away, which is safer than inventing a password. Protect the account they are saved to with a strong password and two-step sign-in.

Can I use one of the example passwords on this page?

No. Any password published online should be treated as known to attackers, however random it looks. Use the examples to see what strong passwords look like, then generate your own.

What is the safest way to manage passwords?

Use a reputable password manager with a strong, unique main password and multifactor authentication turned on. It stores your passwords encrypted, fills them in only on the matching website, and lets you use a different random password everywhere without remembering any of them.

Why should I avoid reusing passwords?

When one website is breached, attackers try the leaked email and password on many other websites automatically. If you reused the password, those accounts are exposed too. A unique password limits the damage to the one site that was breached.

Are password managers safe to use?

Security agencies including the UK’s NCSC recommend them, because the alternative is usually reused or weak passwords. Passwords are stored encrypted, and a manager won’t fill them in on a lookalike phishing site. Protect the manager itself with a strong main password and multifactor authentication.

Is it safe to save passwords in my browser?

For most people, yes, provided your device has a screen lock, your browser account has multifactor authentication, and nobody else uses your browser profile. Built-in managers in Chrome, Safari, Edge and Firefox store passwords encrypted and can generate strong ones for you.

Can a strong password guarantee my account is safe?

No. A strong, unique password protects against guessing and reuse attacks, but not against phishing, malware or a breach at the service itself. Combine it with multifactor authentication and care about where you sign in.

How we checked this guide

  • Described the generator’s method from its source code and checked 5,000 generated passwords for look-alike characters and all four character types.
  • Entropy figures are calculated (length × log₂ of the pool size); length guidance is cited to CISA and NIST.

Last checked by QuickToolsWorld. How guides are made · Report a mistake

All articles