Security

Password Generator

Create strong, random passwords with custom rules.

Generator settings

Quick presets
16
4–128 characters
Character set
Requirements
Advanced
Formatter

Prefix and suffix reformat the current results instantly — no new values are generated. Everything runs in your browser with native crypto; passwords never leave your device.

Press Generate to create passwords — they appear here.

No results yet

Download:

Password strength & entropy

Generate a password to see its strength rating, entropy and estimated crack time here.

Password strength validator

Estimates assume about one billion guesses per second for an offline attack and a handful of guesses per second for online attacks. Real-world security also depends on the password never being reused or leaked.

Ctrl + Enter Generate · Ctrl + Shift + C Copy all · Ctrl + Shift + R Regenerate

Password security, explained

What Makes a Password Strong?

A strong password is one that a machine cannot guess in any reasonable time. That depends on two things: how many possible passwords exist given the rules you ask for, and whether the actual value looks anything like a word, date, or pattern an attacker would try first.

Length is the single largest lever. Every extra character multiplies the number of possibilities by the size of the character pool, so an 18-character password with uppercase, lowercase, numbers, and symbols has vastly more entropy than a 10-character one regardless of how "clever" the shorter one looks.

This tool lets you tune exactly that: pick a length, choose which character classes to include, optionally exclude look-alike characters, and toggle requirements such as 'must include an uppercase letter' for sites that mandate them.

Why Password Length Matters

Entropy grows additively with length but multiplicatively with pool size. Adding one character to a pool of 72 possibilities multiplies the attack space by 72; adding two characters multiplies it by over 5,000. That is why 16 characters beats 8 characters that are 'harder' to remember.

NIST's current guidance recommends long passphrases over mandatory complexity gymnastics — but it also reminds us that length only helps if the value is drawn randomly. 'Password1password1password1' is long and still terrible because it is predictable.

Password Entropy Explained

Entropy is the number of 'yes/no' questions needed to identify your password among every password an attacker is willing to try. It is measured in bits: each bit doubles the guessing effort. A 100-bit password requires 2^100 guesses at worst, and even a determined offline attacker with huge resources cannot do that.

This tool shows two kinds of numbers. For generated passwords it knows the exact character pool and reports entropy precisely. For pasted passwords it estimates the pool from the character classes actually used — a reminder that lowercase-only passwords lose most of their advantage, no matter how long.

As a floor for modern accounts, aim for at least 80 bits for low-value logins and 100 bits or more for anything holding money, credentials, or personal data.

Passphrases vs Passwords

A passphrase is a sequence of ordinary words, typically separated by dashes or spaces. Four random words drawn from a 5,000-word dictionary hold about 49 bits of entropy (20 bits each), which is a solid base — and humans can actually type and recall them.

The catch is that word lists are guessable in dictionary order, so the words must be selected randomly, not picked by taste. This tool samples from a curated word list and can add a number and capitalisation so the result dodges classic dictionary attacks.

Use passphrases where you must retype the secret often — Wi-Fi networks, shared vaults, or email accounts you log into from many devices. Use long random passwords when a password manager stores them for you.

How Password Managers Work

A password manager encrypts a vault of credentials with a single master password. Generate long, random, per-site passwords (this tool is built for exactly that) and let the manager autofill them, so you only ever memorise the master secret.

A manager solves the three biggest hygiene problems at once: no password reuse, no human-memorisation limit, and no phishing-by-typing, because the manager checks the domain before filling.

If you create a password with this tool and store it in a manager, keep the master password as a passphrase — easy to type, hard to guess; but never reuse the master anywhere else.

Common Password Mistakes

The classics still dominate breach databases: '123456', 'password', 'qwerty', and autumn + year combinations. Equally fragile are mutated dictionary words like 'P@ssw0rd!' — attackers shortcut them with rules engines that try every common substitution.

Reusing one password across sites is the most damaging habit: one phished or breached password instantly exposes every account. Rotation matters less than uniqueness — a strong unique password never needs to be changed just because a guessing attack could eventually try it.

Finally, truth-in-labels: answers to security questions are public facts masquerading as secrets. Treat them as second passwords and answer them with nonsense only you can reproduce.

How Attackers Crack Passwords

Two attack shapes matter. Online attacks target a live login endpoint and are slow by nature — a few guesses per second — which is why even a 40-bit password often survives. Offline attacks steal a password hash and try billions of predictions per second against it using GPUs and rainbow tables.

Against offline attacks, only entropy is your defense: the hash is compared against a candidate, and the only variable you control is how many candidates the attacker must generate. Bigger pool times longer length simply means more candidates (see the crack-time estimates in the strength panel).

Generated passwords defeat the smarter vector too: 'password-plus-common-substitutions' rule sets burn through human-style guesses in hours, but a truly random value appears nowhere in any wordlist.

Creating Secure API Keys

API secrets are passwords that machines type, so recall is irrelevant — every constraint that helps a human hurts nothing here. Generate dense random strings of 40+ characters using the full symbol set; the API Secret preset (48 characters, every class required, no consecutive duplicates) is a sensible starting point.

Store API keys as environment variables or in a vault, never in client-side code or committed config files. Give keys scopes and expiry, and rotate them on a schedule or on any suspicion of exposure.

Client-side secrets remain risky no matter how they are generated: anything shipped to a browser can be extracted. Use this tool for server-side secrets and device-side WiFi keys, and sign your browser traffic instead.

Frequently asked questions

How strong should a password be?

Aim for at least 80 bits of entropy for ordinary logins and 100 bits or more for anything protecting money, credentials, or personal data. With this tool that roughly means 14-16 random characters, or about 100 bits for a 20-character password using all four character classes.

Is a long password always stronger than a short one?

Yes — length multiplies the guessing space by the pool size for every added character, which quickly outpaces any cleverness a shorter password can add. But length only helps if the characters are drawn randomly; a long, predictable string is still weak.

What is password entropy?

Entropy measures how many guesses an attacker must try on average to hit your password, in bits. Each bit doubles the effort. The strength panel here computes exact entropy for generated passwords (it knows the pool) and estimates it for pasted ones from the character classes actually present.

Can you calculate the crack time for my password?

The strength panel and validator estimate offline and online crack times from your password's entropy. Offline estimates assume about one billion guesses per second (GPU cracking), online estimates allow only a handful per second. Real-world cracking also depends on hashing algorithm and throttling — treat figures as an order of magnitude, not a promise.

What is the difference between a password and a passphrase?

A password is a string of characters; a passphrase is several words joined by separators. Random 4-6 word passphrases offer comparable entropy and are far easier to type and remember — a great choice for Wi-Fi and shared vaults, while random strings suit password managers.

What makes a strong passphrase?

The words must be sampled randomly from a large dictionary — not chosen because they are memorable to you. Four random words from a 5,000-word list gives about 49 bits, and adding a number and capitalisation pushes it higher. This tool uses exactly that method for the passphrase type.

Which characters make a password hard to crack?

What matters is a large, varied pool, not specific symbols. Mixing uppercase, lowercase, digits, and symbols multiplies possible combinations. The Character set options let you combine those classes, and the entropy readout shows the effect immediately.

Should I avoid ambiguous characters like O, 0, l and I?

For passwords you retype by hand — Wi-Fi keys, shared accounts — excluding look-alikes prevents frustrating 'is it a zero or an O?' mistakes at a tiny entropy cost. For passwords a manager stores and pastes, ambiguity barely matters.

Can I generate many passwords at once?

Yes. Set Quantity to 10, 25, 50, or 100 and press Generate. The whole batch appears instantly in List, JSON, or CSV view, and you can copy everything, copy one (per-item copy button), or download a .txt, .json, or .csv file.

Are the generated passwords truly random?

Yes. Generation uses the browser's native crypto.getRandomValues, which draws on the operating system's cryptographically secure randomness source. Characters are picked with rejection sampling, so every value in the pool is equally likely with no bias.

Does this tool send my passwords to a server?

No. Everything — generation, validation, entropy analysis — runs locally in your browser. No password you generate or paste is transmitted, logged, or stored anywhere. You can verify this yourself: load the page, disconnect your network, and the tool keeps working.

Why does the validator rate my long password as weak?

It estimates entropy from the character classes actually present. A long lowercase-only or dictionary-based string scores far below its length alone would suggest. The recommendation list tells you exactly which classes to add to raise it.

What is a good Wi-Fi password?

The Wi-Fi preset is a strong starting point: 20 characters with uppercase, lowercase, and digits, no symbols, no look-alike characters, and no consecutive duplicates — easy to type on a TV remote and hard to guess. A random 6-word passphrase works even better for humans.

How should I generate an API key or secret?

Use the API Secret preset (48 characters across all classes with every class required) or a 32+ character random password, store it as an environment variable or in a vault, scope it tightly, set an expiry, and rotate it on any suspicion of exposure.

Should I change my passwords regularly?

Only if you know or suspect a breach, or a site forces it — forced periodic rotation push people into predictable patterns. A unique, strong password is safe to keep for years. The highest-impact habit is uniqueness plus length, not churn.

How does the strength meter work?

The meter converts entropy to a 0-100 score and labels six bands from Very Weak to Very Strong, using thresholds recommended for modern accounts. It reflects the three ingredients that matter: length, character pool, and whether the value is truly random.

What do the presets do?

Presets are tuned settings for common scenarios. Website Login (balanced 16-char password), Wi-Fi Password (no look-alikes or symbols), Database Password (24 chars, all classes), API Secret (48 chars for keys), High Security (32 chars with every constraint), and Memorable (word pattern for humans).

Is a PiN or generated PiN actually secure?

A random 6-digit PIN has about 20 bits of entropy — enough to fend off casual guessing, but far below password grade. Use the PIN type for device unlock codes or secondary checks, and rely on the random or passphrase types for anything a password usually protects.