Online security

How to Create a Strong Random Password

Learn how password length, randomness, unique credentials, and secure storage work together to protect online accounts. This guide explains the reasoning, not just the keystrokes.

Reviewed by the NumUtility editorial team · Updated August 6, 2026 · 10 min read

What makes a password strong?

A strong password is long, unique, and difficult to predict. Length creates room for many possible combinations, while random selection prevents familiar language and personal habits from narrowing those possibilities. A password does not become strong merely because it contains a capital letter, a digit, and a symbol. If those characters follow a familiar pattern, an attacker can test that pattern early. Random generation removes the human tendency to choose names, dates, keyboard paths, and common substitutions.

Uniqueness is equally important. Even an excellent password becomes dangerous when it protects several accounts. If one service exposes it, attackers can automatically try the same email-and-password combination elsewhere. The safest practical system is therefore one independently generated password per account, stored in a password manager. That approach separates breaches: a problem at one company does not automatically unlock your email, banking, shopping, or work accounts.

Why length matters more than cleverness

Every additional randomly chosen character expands the number of combinations an attacker would need to consider. If a pool contains 70 eligible characters, a single added position multiplies the unconstrained search space by 70. This compounding effect is why a long random password is usually stronger than a short password decorated with predictable punctuation. A twenty-character generated value can be both easier to manage and substantially less guessable than a short phrase built from personal facts.

Choose the longest length the destination accepts without creating usability problems. Sixteen random characters is a practical baseline for ordinary accounts, while twenty or more offers additional margin for important accounts. Some older websites impose smaller limits or reject particular symbols. Follow the service's documented requirements rather than silently shortening one password for use everywhere. When a service allows passkeys, they may provide a stronger phishing-resistant sign-in option, but a unique stored password is still important wherever passwords remain in use.

Randomness and the character pool

A character pool is the set of letters, numbers, and symbols that may appear. A larger pool increases the number of possible strings at any fixed length, but length generally has the greater practical effect. Select every character type the service accepts. If a site prohibits symbols, compensate with additional length rather than adding a predictable symbol to a shorter word. The NumUtility generator also ensures that every selected group appears at least once, then shuffles the completed result.

The tool uses the browser's Web Crypto API, which is designed to provide cryptographically strong random values in compatible browsers. It also uses rejection sampling when mapping those values to character positions. Rejection sampling avoids modulo bias, a subtle imbalance that can occur when a random integer range does not divide evenly by the size of the character pool. These implementation details support unpredictable output, although the safety of an account still depends on storage, device security, and the service's own protections.

How to use the generator safely

Start by checking the password rules on the account you are creating or updating. Choose a length between 8 and 128 characters, enable the accepted character groups, and generate a fresh result. Keep the ambiguous-character option enabled when you expect to read or manually type the password. Characters such as O and 0 or I, l, and 1 can be confused in some fonts. Excluding them improves transcription without turning the password into a memorable pattern.

Copy the result directly into the destination's password field and save it in your password manager. Do not paste it into chat, email, an unencrypted note, or a shared document. Some operating systems and browsers keep clipboard history, so consider clearing sensitive clipboard entries on shared devices. Generate again for the next account instead of modifying the old result. Adding a website name to one reused base password remains predictable and allows related credentials to be inferred.

Password entropy in plain language

Entropy is a way to describe uncertainty. For an unconstrained random string, a useful approximation is length multiplied by the base-two logarithm of the character-pool size. The result is expressed in bits. It helps compare generation settings, but it is not a guarantee that an account will resist every attack. Required character categories, service-side rules, implementation details, and attacker knowledge can change the exact distribution. Treat the estimate as a model, not a security certificate.

Human-created passwords rarely achieve the entropy suggested by their visible character set because people do not select each position independently. A person may capitalize the first letter, put a year near the end, and finish with an exclamation mark. Attack tools test these patterns before attempting every theoretical combination. A securely generated password avoids that problem. Its strength comes from the generation process and sufficient length, not from looking complicated to a person.

Generated passwords versus passphrases

A random password is compact and well suited to storage in a password manager. A passphrase uses several words and can be easier to type or remember. A passphrase is strong only when its words are selected randomly from a sufficiently large list and the phrase is long enough. A favorite quotation, song title, or sentence about your life is not random merely because it contains spaces. Attackers can test common text and publicly available personal information.

Use generated passwords for accounts your manager can fill automatically. A properly generated multiword passphrase can be useful for a password-manager master password that you must remember and type, provided the manager's guidance is followed. Never use an example phrase from an article, and do not ask a public person or service to invent a memorable secret for you. The method must produce a private result that was not chosen from personal associations.

Store passwords in a password manager

A reputable password manager solves the central usability problem created by unique random passwords: people cannot reliably memorize dozens of independent strings. The manager stores them in an encrypted vault and can fill the matching credential on the correct site. Select a product with a clear security model, current software support, independent review where available, and a recovery process you understand. Keep the application and its browser extension updated.

Protect the manager itself with a strong, unique master credential and multi-factor authentication. Save recovery information according to the provider's instructions, ideally somewhere physically secure and separate from the device. Do not store the master password inside the vault it unlocks. Review security alerts and remove obsolete shared access. A manager reduces password reuse and phishing mistakes, but it still depends on careful setup, device security, and a protected recovery path.

Add multi-factor authentication or passkeys

A strong password is one layer. Multi-factor authentication adds another requirement, such as a hardware security key, authenticator-app code, or device confirmation. Prefer phishing-resistant methods such as passkeys or hardware keys when the service supports them. Text-message codes are generally better than password-only access but can be exposed through number-porting attacks, message interception, or convincing phishing pages. Use the strongest method practical for the account's importance.

Store recovery codes securely and never enter an authentication code in response to an unsolicited call or message. A legitimate support representative should not ask for your password, recovery code, or one-time sign-in code. If an unexpected approval prompt appears, deny it and investigate. Password generation cannot protect against every form of deception, so account security also requires attention to the site address, sign-in prompts, connected applications, and recovery settings.

Common mistakes to avoid

The most damaging mistake is reuse. Other common problems include making a password shorter so it can be memorized, following a predictable template, saving credentials in plain text, and sharing them through email or chat. Periodic forced changes can also lead people to make small predictable edits. Change a strong unique password when there is evidence of exposure, when a provider directs you to respond to a breach, or when access by another person should end.

Do not use an ordinary password generator as a substitute for a specified cryptographic key process. Encryption keys, cryptocurrency recovery seeds, API secrets, and regulated credentials may require particular formats, entropy sources, storage controls, and audit procedures. Follow the documentation of the system that will consume the secret. NumUtility's tool is intended for general account passwords and provides no recovery service if a generated value is lost.

A practical account-security checklist

For each account, generate a new password at the longest supported length, store it in your password manager, and enable the best available multi-factor method or a passkey. Confirm that the recovery email and phone number are current. Save recovery codes securely. Remove old devices and applications that no longer need access. For email, financial, cloud-storage, and administrator accounts, review recent sessions and alerts because those accounts can be used to reset many others.

Finally, keep browsers, operating systems, password managers, and security software updated. Avoid entering credentials on links opened from unexpected messages; navigate through a trusted bookmark or known address instead. If you suspect compromise, use a clean device, change the affected password, sign out other sessions, rotate any reused credentials, and contact the service through its official support channel. A strong password is valuable, but the strongest protection comes from several well-maintained layers working together.

Summary

Strong password practice is a system rather than a single clever string. Use a cryptographically secure generator, select sufficient length, create a unique value for every account, and store each credential in a reputable password manager. Add passkeys or multi-factor authentication wherever possible. These habits make both guessing and password-reuse attacks substantially harder while removing the pressure to memorize many complex credentials.

Use the related NumUtility generator below for general account passwords. The value is created locally in your compatible browser and is not stored by NumUtility. Treat the result as sensitive from the moment it appears: copy it only to the intended account and password manager. For encryption keys, recovery seeds, regulated systems, or organization-managed credentials, use the required purpose-built procedure and follow the responsible security team's policy.