Password Generator: Strong Passwords, Passphrases & Usernames
Generate cryptographically secure passwords, memorable passphrases, and unique usernames — directly in your browser. Uses the Web Crypto API, not Math.random(), so output is genuinely unpredictable. See the estimated time-to-crack for every password, and set custom minimum numbers or symbols for sites with strict rules. Nothing is uploaded or stored.
Character Types
Custom Requirements
Guarantee a minimum count of each type - useful when a site enforces its own password rules.
Embed a Word or Name (Optional)
Generated Password
Recently Generated (this session)
What Is a Password Generator?
A password generator is a tool that creates long, random passwords using a cryptographically secure random number generator (CSPRNG), so the result has no pattern an attacker can predict. This one runs entirely in your browser — nothing you generate is sent to a server, logged, or stored.
The reason random beats "clever" is math. Security is measured in bits of entropy: every extra character multiplies the number of possible combinations. A 16-character password drawn from the full 94-character keyboard set has roughly 1031 possible values — about 105 bits of entropy. Even an attacker guessing billions of times per second against a stolen database would need longer than the age of the universe to work through that space.
Human-chosen passwords fail because they cluster around predictable patterns — a capital at the start, a year at the end, a "!" for the required symbol. Attackers know these patterns and test them first. A generator removes the human bias entirely, which is why every serious security guideline recommends generated passwords paired with a password manager.
Why Use This Generator Instead of One Built Into a Password Manager?
Password managers like 1Password, Bitwarden, and LastPass all include built-in generators. So why use a standalone one?
Privacy and trust. A standalone tool that runs entirely in your browser and doesn't have your account credentials is a different trust model than a generator inside a service that stores all your passwords. If you don't want to log into a password manager just to create a throwaway account password, a browser-based generator avoids that.
Length and character control. Most manager generators cap at 20–30 characters and don't expose the fine-grained controls you'll find here: minimum symbol counts, ambiguous character exclusion, embedding a specific word, or generating passphrases from a curated word list. When a sign-up form has unusual requirements, this tool adapts.
No install required. On a shared or temporary device where you don't want to install a password manager, this tool works from any browser in seconds. Generate, copy, use — nothing persists.
Where password managers are still the right choice: for actually storing the passwords you generate. A generator creates a strong password; a manager remembers it. They're complementary, not alternatives. Pair this tool with a manager for the ideal setup.
Three Ways to Generate a Credential
This tool covers the three credentials most sign-up forms actually ask for, switchable from the tabs above the generator:
Password
Maximum-entropy random characters. Best whenever a password manager will store and autofill the result for you.
Passphrase
Several random dictionary words strung together. Nearly as strong as a random password, but realistic to type from memory.
Username
A random word-based handle, or a unique "plus-addressed" email variant for tracking exactly who leaks or sells your address.
What Modern Security Guidance Actually Says (2026)
A lot of "password advice" online is out of date. Current guidance from the U.S. National Institute of Standards and Technology (NIST SP 800-63B) — the standard most security teams follow — has changed the rules in ways worth knowing:
Length matters more than complexity. A long password is stronger than a short one stuffed with symbols. NIST recommends supporting passwords up to at least 64 characters and treats length as the primary strength factor.
Forced periodic changes are discouraged. The old "change your password every 90 days" rule is no longer recommended, because it pushes people toward weak, incremental passwords (Summer2024 → Summer2025). You should change a password when there is a reason to — a breach, a shared device, a phishing scare — not on a calendar.
Uniqueness is non-negotiable. The biggest real-world risk today is credential stuffing: attackers take passwords leaked from one breached site and try them everywhere else. A unique generated password per account makes that attack impossible, even if one site is compromised.
Passphrase vs. Random Password: Which Should You Use?
Short answer: use a random password when a password manager will remember it for you, and a passphrase when you genuinely have to type or recall it yourself. Both can reach comparable security — the difference is memorability, not strength.
NIST SP 800-63B explicitly endorses passphrases as a valid, user-friendly way to hit a long minimum length without forcing people into unmemorable symbol soup. A random password packs the most entropy into the fewest characters, which is ideal when you'll never actually type it. A passphrase trades a few extra characters for something a human brain can hold onto — useful for a device PIN screen, a shared home Wi-Fi password, or your password manager's own master password, which is the one password you truly cannot store anywhere else.
How Secure Is This Passphrase Generator?
Each word in a generated passphrase is drawn independently from a curated list of 645 everyday English words — common nouns, adjectives, and verbs, filtered to exclude anything ambiguous, offensive, or awkward to spell. That gives each word position roughly log₂(645) ≈ 9.3 bits of entropy.
A default 5-word passphrase (with the optional trailing number enabled) therefore carries roughly 50 bits of entropy — comparable to an 8-character fully-random password, but built from words a person can actually remember and type without looking. Add a sixth or seventh word using the slider above if you want to push a passphrase toward "very strong" territory for a more critical account.
This is the same principle behind well-known passphrase examples like "correct horse battery staple": length in words, not visual complexity, is what drives real security — as long as the words themselves are chosen by a random process, not by you.
How This Generator Works
When you click generate, the tool builds a character pool from the options you enable — 26 lowercase letters, 26 uppercase, 10 digits, and a set of symbols — then uses your browser's built-in crypto.getRandomValues() CSPRNG to pick each character. That function is the same class of randomness used for encryption keys, not the ordinary Math.random() that can be predicted.
Every position is chosen with uniform probability, so no character or pattern is favored. If you set a custom requirement — say, "at least 3 numbers" — the generator checks the result afterward and swaps in extra digits only if the random draw happened to fall short, so your requirement is always met without weakening the rest of the password. The strength meter then estimates entropy from your length and character choices and maps it to both a categorical rating and the time-to-crack estimate explained below.
Because all of this happens locally in JavaScript, your password never leaves the page. Closing the tab is enough to erase it — there is nothing on our side to leak. The same applies to the session history panel above: it lives only in your browser's memory for this visit and disappears the moment you refresh or navigate away.
Understanding Your Password's Time-to-Crack Estimate
What it means: the "estimated time to crack" figure shown with every generated password is how long an offline attacker would take, on average, to guess it through brute force — assuming they already have a stolen copy of the password's hash and are testing candidates as fast as modern hardware allows.
Our methodology, stated plainly: we assume 10 billion guesses per second, a commonly cited benchmark for a modern GPU rig attacking a fast, unsalted hash, and we estimate the average case as half of the full keyspace (an attacker expects to find a match partway through an exhaustive search, not right at the end). This is a deliberately conservative, worst-case-for-you estimate — a properly salted, slow hash like bcrypt or Argon2 would take dramatically longer to crack than the number shown here. We'd rather under-promise on security than overstate it.
The practical takeaway holds regardless of the exact assumptions: each additional character multiplies the keyspace rather than just adding to it, which is why going from 8 to 16 characters doesn't double your security — it raises it by many orders of magnitude.
Custom Password Requirements: Minimum Numbers & Symbols
What this is for: some sign-up forms enforce their own rules — "must contain at least 2 numbers," "at least 1 special character." The Minimum Numbers and Minimum Symbols sliders let you guarantee those counts up front, so you're never stuck regenerating a password over and over hoping it happens to qualify.
The generator always keeps your requested minimums without shrinking the rest of the password's randomness — if a request would be mathematically impossible for the length you've chosen (for example, asking for more numbers and symbols combined than there are characters), it automatically gives numbers priority and fits as many symbols as the remaining space allows, rather than silently failing.
Should You Put Your Name in a Password?
Short answer: generally, no. Personal information — names, birthdates, pet names — is the very first thing an attacker's cracking dictionary tries, which is why our own password security guide lists it as a top mistake to avoid.
That said, there are legitimate, low-risk situations where embedding a recognizable word helps — labeling a shared team login with a project codename, or creating something you can recognize at a glance across a spreadsheet of test accounts. The "Embed a Word or Name" field above does exactly this: it drops your word into an otherwise fully random password at a random position. We show a visible warning whenever it's used, and the strength meter is deliberately marked down to reflect the real entropy loss — we'd rather be honest about the trade-off than let the feature look safer than it is. Never use it for email, banking, or your password manager's master password.
Free Username Generator
What it does: the Username tab creates either a random word-plus-number handle (for forums, gaming, or any account where you don't want to reuse the same username everywhere), or a "plus-addressed" version of your own email — appending a random tag before the @ symbol, like you+8kd3f1@example.com. Most major email providers (Gmail, Outlook, and others) deliver plus-addressed mail straight to your normal inbox while letting you filter or block by tag.
The practical use case for plus-addressing: give every service a slightly different address, and if you ever start receiving spam on one specific tag, you know exactly which company leaked or sold it — without needing a new inbox.
When Should You Change a Password?
Modern security guidance (NIST SP 800-63B) specifically discourages forced periodic changes — the "change every 90 days" rule creates more problems than it solves because it pushes users toward incremental variations that are easy to guess. Change a password when one of these specific events occurs:
After a data breach
If a service you use announces a breach, change that account's password immediately. Also change it on any other service where you reused the same password — which is one of the main reasons to never reuse them in the first place.
After a phishing scare
If you clicked a link in a suspicious email, entered credentials, or have any doubt about whether a login was legitimate, change the password immediately as a precaution.
After a device is lost or shared
If you logged into an account on a device that's now lost, sold, or used by someone you no longer trust, change that account's password from a device you control.
After sharing a password
If you ever gave a password to someone — a colleague, family member, support agent — change it as soon as the shared use is over. Shared passwords are the most common source of account compromise.
After a period of inactivity on a critical account
For high-value accounts (email, banking, cloud storage), a change once a year is a reasonable precaution — not because the password is likely compromised, but because the account is valuable enough to justify the cost of changing it.
Outside of these events, there's no security benefit to changing a strong, unique password. Save the effort for the accounts and moments that actually matter.
How to Use This Password Generator
Pick a mode
Choose Password for maximum entropy, Passphrase for something memorable, or Username for a handle or plus-addressed email — using the tabs at the top.
Set your length or word count
Use 16+ characters (or 6+ words for a passphrase) for important accounts, and at least 12 characters (or 4+ words) for everything else.
Add any custom requirements
If a site demands specific rules, set your minimum numbers and symbols so the result is guaranteed to qualify on the first try.
Generate, check the crack-time, and copy
Review the time-to-crack estimate for a sense of real-world strength, then copy the result straight into the signup form and save it in a password manager.
How Long Should Your Password Be?
High-value accounts
16–24 characters, all types. Email, banking, cloud storage, and your password manager's master password. These are the accounts that can reset every other login, so give them the most entropy.
Everyday logins
14–16 characters, mixed types. Social media, work SaaS tools, and shopping accounts. Strong and effortless when a password manager stores and fills them.
Low-risk or throwaway accounts
12 characters minimum. Forums, newsletters, one-off signups. Still generate a unique one — reused "junk" passwords are exactly what credential-stuffing attacks feed on.
Passwords you must type manually
16–18 characters, ambiguous excluded — or switch to Passphrase mode. Wi-Fi keys, smart-TV and game-console logins. An 18-character random password or a 5-word passphrase both work well here; pick whichever you'll actually type correctly on the first try.
Frequently Asked Questions
Is it safe to use an online password generator?
It's safe when generation happens locally in your browser, as it does here. This tool uses your device's built-in cryptographic randomness and never transmits or stores what it creates — the password exists only on your screen until you close the tab. Avoid any generator that shows your password on a server-side page or asks you to log in first.
What is a passphrase generator and how is it different from a regular password generator?
A passphrase generator strings together several random dictionary words (like "Otter-Canyon-Ember-Trumpet-42") instead of random individual characters. It's a different route to the same goal — high entropy — optimized for something a human can actually memorize and type, rather than the absolute maximum entropy per character that a random password achieves.
How many words should my passphrase have?
Five words is a solid everyday default, giving roughly 50 bits of entropy from our 645-word list. Use 4 words for lower-risk accounts, or 6–7 words for anything you'd treat as a high-value account, similar to how you'd size a random password's length.
Can I set a minimum number of digits or symbols in my password?
Yes — the Minimum Numbers and Minimum Symbols sliders in Password mode guarantee those counts appear in the result, which is useful when a specific site enforces its own character-type rules. The rest of the password stays fully random.
Is it safe to generate a password using my name?
Not for anything important. Names and other personal details are the first thing password-cracking dictionaries try. The optional "embed a word or name" field exists for low-risk, throwaway use cases where recognizability matters more than maximum security — we deliberately lower the displayed strength rating whenever it's used so you always see the honest trade-off.
How is the time-to-crack estimate calculated?
We calculate the password's entropy in bits from its length and character set, then estimate an offline attacker guessing at 10 billion attempts per second — a commonly cited rate for modern GPU hardware against a fast, unsalted hash — reaching the average case at roughly half the full keyspace. It's a conservative, worst-case estimate; a properly salted, slow hash (like bcrypt or Argon2) would take considerably longer in practice.
What is a good password length? Should I use 18 characters?
18 characters is a strong, comfortable choice — long enough to push almost any character combination well past "very strong," and short enough to type manually if a device doesn't support paste. Our general guidance: 12 characters as an absolute floor, 16+ for anything important, and 18–20+ for passwords you may occasionally need to type by hand, like a Wi-Fi key.
Does this tool generate usernames too?
Yes — switch to the Username tab for either a random word-and-number handle, or a plus-addressed variant of your own email (you+randomtag@yourdomain.com) that most inboxes deliver normally while letting you track or filter by tag.
Can I generate more than 5 passwords at once?
Yes — use the bulk-count slider next to the "Generate Multiple" button to choose anywhere from 2 to 20 passwords in one click, useful for setting up several accounts at once.
How long does it take to crack a strong password?
For a 16-character random password using all character types, an attacker guessing offline at billions of attempts per second would still need far longer than the age of the universe. Short passwords are the danger: an 8-character password with no complexity can fall in hours. Length is what pushes crack time from "seconds" to "effectively forever."
Do I really need to change my passwords every few months?
No. Current NIST guidance advises against forced periodic changes, because they tend to produce weaker, predictable variations. Change a password when there's a real reason — a data breach, a shared or lost device, or any sign of compromise — not on a fixed schedule. A unique password per site plus two-factor authentication matters far more.
Why does the tool let me exclude symbols or ambiguous characters?
Some systems reject certain symbols, and some passwords you have to read or type by hand. Excluding symbols keeps a password compatible with strict sites, while excluding ambiguous characters (0/O, 1/l/I) prevents misreads. When you trim the pool, just add a few characters of length to keep the same overall strength.
Related Tools
Last updated: September 30, 2026