Password Generator — Create Strong Random Passwords Online

Build long, unpredictable passwords with a length slider, character options, and a live strength meter. Generation happens on your device — passwords are never uploaded or stored.

20 characters

Strength: —

Tip: save the password in a password manager right away — strong passwords are meant to be stored, not memorised. Never reuse one password across sites.

What is the Password Generator?

The password generator creates long, random passwords you can use for any account. You choose the length (8 to 64 characters) and which character types to include — uppercase letters, lowercase letters, digits, and symbols — and the tool builds a password from a cryptographically secure random source in your browser. A live strength meter shows the password's entropy in bits and rates it from Weak to Very strong.

Most hacked passwords are not cracked by guessing — they are stolen in bulk from breached websites and then tried on other sites. The real defence is using a different, unguessable password everywhere. This tool makes the "unguessable" part easy: a 20-character password drawn from all four character types has about 131 bits of entropy, meaning an attacker would need more guesses than there are atoms in the observable universe. Length beats cleverness — "P@ssw0rd!" tricks are far weaker than a boring 20-character random string.

Importantly, the generator uses crypto.getRandomValues(), the browser's built-in cryptographically secure random number generator — not the predictable Math.random() that weak generators rely on. Everything runs on your device: passwords are never sent to a server, logged, or stored. You still need somewhere safe to keep them, which is why the page nudges you toward a password manager.

How to use it (3 steps)

  1. Set length and character types. Drag the slider to your desired length (20 is a good default) and tick or untick the character sets. At least one set must stay on.
  2. Generate. Click "Generate password". The tool guarantees at least one character from each selected set appears, and the strength meter updates instantly.
  3. Copy and store. Click "Copy", then paste the password into the site's password field and save it in your password manager. Generate a fresh one for each account.

When you'll need it (use cases)

  • New accounts: create a unique strong password every time you sign up somewhere, instead of tweaking your usual one.
  • Replacing weak passwords: upgrade old short passwords on email, banking, and social accounts — the accounts attackers target first.
  • Wi-Fi passwords: generate a long random key for your router that guests cannot guess.
  • Shared team logins: make a strong password for a shared tool, then hand it over through a password manager — never by email.
  • Temporary credentials: create one-off passwords for test accounts, staging servers, or demo logins.

Tips for the best results

  • Go longer before going weirder. Adding 4 characters does more for security than adding another symbol set. When a site caps length, use the maximum it allows.
  • Untick symbols only if the site rejects them. Some older sites ban symbols; the generator still makes strong passwords from letters and digits at good lengths.
  • Watch the entropy number, not just the label. Aim for 80+ bits ("Very strong") for anything important. Below 60 bits ("Fair") is only fine for throwaway accounts.
  • Never reuse. One password per site. If one service is breached, reuse is what turns it into a breach of all your accounts.
  • Pair with a password manager and 2FA. Strong passwords plus a manager plus two-factor authentication is the realistic gold standard for personal security.

Frequently asked questions

How are the passwords generated?

Passwords are generated in your browser using crypto.getRandomValues, the browser's cryptographically secure random number generator. No predictable Math.random is used, and nothing is sent to a server.

What is password entropy?

Entropy is the amount of randomness in a password, measured in bits. It is calculated as length × log2(pool size). A 20-character password using all character types has about 131 bits of entropy — far beyond what can be brute-forced.

How long should my password be?

Use at least 16 characters for important accounts like email and banking, and 20 or more is even better when the site allows it. Length matters more than clever substitutions like replacing "a" with "@".

Are my generated passwords stored anywhere?

No. Generation happens entirely in your browser and nothing is uploaded or logged. For safety, still save passwords in a reputable password manager rather than reusing this page as storage.