Free • Secure • Client-side

Generate Strong,
Random Passwords

Create secure passwords, passphrases, PINs and random strings instantly. 100% in your browser — nothing is stored or sent anywhere.

Password generator

Generating…
Strength: — Entropy: ~0 bits
4 – 128
Choose between 4 and 128 characters
Character types
  • Instant & FreeNo signup, no limits
  • Privacy FirstRuns entirely in your browser
  • Developer FriendlyTokens, hex strings & custom sets
  • All-in-One ToolkitPasswords, PINs, passphrases & more
Why PasswordGen

Why choose PasswordGen?

A password generator should be trustworthy by design. PasswordGen is built so that it never needs to see your passwords at all.

Cryptographically secure

Randomness comes from the Web Crypto API, the same source browsers use for encryption keys — never Math.random().

Nothing leaves your device

Every value is generated locally. Passwords are never transmitted, stored, logged or shared with anyone.

Unbiased by design

Rejection sampling removes modulo bias, so each character in the pool has exactly the same probability.

Fully customizable

Choose a length from 4 to 128 and any mix of uppercase, lowercase, numbers and symbols, with optional exclusions.

Honest strength scores

See real entropy in bits, calculated from the exact rules you chose — not a vague colour bar.

Fast, free and lightweight

No sign-up, no ads, no trackers and no heavy frameworks. The page loads quickly on any device.

How it works

Strong passwords in three steps

Everything below happens inside your browser tab, in a few milliseconds.

  1. Choose your rules

    Set the length and character types. Turn on exclusions if the password must be typed by hand or pasted into a picky form.

  2. Secure random selection

    Your browser’s cryptographic random number generator picks each character uniformly from the allowed pool using rejection sampling.

  3. Check, copy and store

    Review the entropy and strength score, copy with one click, and save the password in a password manager — not in a note or spreadsheet.

Read the technical details
Best practice

What makes a password strong?

Attackers do not guess passwords one character at a time. They try leaked password lists, dictionary words, names, dates and common substitutions such as P@ssw0rd first. A password is strong when it is long, random and unique.

  • Length beats complexity. Each extra random character multiplies the search space by the pool size — about 94 times for the full character set.
  • Randomness beats cleverness. Patterns that feel unpredictable to people are exactly what cracking tools are tuned for.
  • Never reuse passwords. When one site is breached, attackers try the same email and password everywhere else (credential stuffing).
  • Use a password manager to store generated passwords, and turn on two-factor authentication where it is offered.

Need something you can remember, like the master password for your password manager? Use the passphrase generator. Want to test an existing password? Try the password strength checker.

FAQ

Frequently asked questions

Straight answers about how PasswordGen works and how to use strong passwords.

Is PasswordGen really free?

Yes. Every tool is free to use with no sign-up, no limits and no premium tier. There are no ads and no tracking scripts on the site.

Are the passwords I generate stored or sent anywhere?

No. Passwords are created by JavaScript running in your own browser tab. They are never sent to a server, never written to cookies or localStorage, and never logged. When you close or reload the page they are gone. The only thing the site remembers is your light/dark theme choice.

How random are the generated passwords?

PasswordGen uses the browser’s Web Crypto API (crypto.getRandomValues()), a cryptographically secure random number generator seeded by your operating system. Characters are picked with rejection sampling, so every allowed character is exactly equally likely. Math.random() is never used.

How long should my password be?

Use at least 16 characters for everyday accounts and 20 or more for important ones such as email, banking and your password manager. A random 16-character password using all four character types has roughly 104 bits of entropy, which is far beyond what can be brute-forced.

What does “entropy in bits” mean?

Entropy measures how many guesses an attacker would need. Each extra bit doubles the number of possibilities. For a random password it equals length × log2(pool size). Around 60 bits is strong for most online accounts; 80+ bits is very strong. Learn how entropy is calculated.

What do “exclude similar” and “exclude ambiguous” do?

Exclude similar removes characters that look alike in many fonts (O, 0, o, I, l, 1 and |), which helps when you need to read or type a password by hand. Exclude ambiguous removes brackets, quotes, slashes and punctuation such as { } [ ] ( ) / \ ' " ` ~ , ; : . < > that some systems reject or that need escaping. Excluding characters slightly reduces entropy, which the strength meter reflects.

Does every password include each character type I select?

Yes. If a password would be missing one of the selected types, it is discarded and a fresh one is generated. Discarding whole candidates keeps the result uniformly random among all passwords that satisfy your rules, and the entropy shown accounts for this.

Can I use PasswordGen offline?

Once a page has loaded, generating passwords needs no network connection — all of the work happens in your browser. You can even disconnect from the internet and keep generating.

Need a PIN, passphrase or API token?

The same secure, client-side engine powers every tool in the PasswordGen toolkit.