Password Generator - Strong, Random & Secure

Free password generator that creates strong random passwords with your browser's Web Crypto API. Pick 8 to 64 characters and see entropy by length.

Why Use a Password Generator?

In an age of constant data breaches, using weak or reused passwords is a security risk. A strong password generator creates complex, random combinations of characters that are mathematically resistant to brute-force attacks.

The generator uses the browser Web Crypto API locally. The app does not store generated passwords or include them in analytics events.

Pro tip: Store generated passwords in a trusted password manager so you only need to remember one strong master password.

What does password entropy measure?

Entropy, measured in bits, describes how many equally likely passwords a generator could have produced. When every character is picked at random from a pool of N symbols, a password of length L has L × log2(N) bits of entropy. Each extra bit doubles the number of guesses an attacker needs to try every possibility.

Entropy describes the method, not the string. A random 12-character password and a pattern such as a name plus a year can use the same characters, but the pattern has far less entropy because attackers guess patterns first. The figures below apply only to passwords generated at random, like the ones this tool produces.

How much entropy do length and character set give?

Bits of entropy = length × log2(pool size), rounded to one decimal
Character setPool size8 chars12 chars16 chars20 chars
Digits only1026.639.953.266.4
Lowercase letters2637.656.475.294.0
Lowercase letters and digits3641.462.082.7103.4
Upper and lowercase letters5245.668.491.2114.0
Letters and digits6247.671.595.3119.1
All printable ASCII symbols9452.478.7104.9131.1

Length does more than variety. Going from 62 to 94 symbols adds about 0.6 bits per character, while each extra character adds the full 5.95 to 6.55 bits. That is why a 16-character password from letters and digits (95.3 bits) beats a 12-character password that uses every symbol (78.7 bits).

Guessing time depends on hardware and on how a site stores passwords, so any figure is an assumption. As an illustration only: at 10 billion guesses per second against a fast, unsalted hash, an attacker would need on average about 85 hours to find a random 8-character password from 94 symbols, and about 750,000 years for a 12-character one. Slow password hashes such as bcrypt, scrypt or Argon2, and login rate limits, cut the real guessing rate by many orders of magnitude.

How does this generator build a password?

  • Randomness comes from the browser's Web Crypto API, crypto.getRandomValues, which is designed for cryptographic use. Math.random is not used.
  • Each character index is drawn with rejection sampling, which avoids the small modulo bias of a plain remainder, and the finished characters are shuffled with a Fisher–Yates shuffle that uses the same source.
  • The pool is up to 88 characters: 26 uppercase letters, 26 lowercase letters, 10 digits and 26 symbols (!@#$%^&*()_+-=[]{}|;:,.<>?). With every set selected, 16 characters give a ceiling of about 103.4 bits and 20 characters about 129.2 bits.
  • At least one character comes from each set you select, so the result passes common site rules. That trims the possible passwords slightly below the ceiling.
  • Length runs from 8 to 64 characters. Everything happens on your device: the password is not sent to SavvyToolz, stored, or included in analytics, which record only that a password was generated or copied.
  • The strength meter is a quick heuristic based on length and character types, not a measurement of entropy.

Are passphrases better than random characters?

A passphrase strings together randomly chosen words. With the EFF long wordlist of 7,776 words, each word adds log2(7,776) ≈ 12.9 bits, so five words give about 64.6 bits and six words about 77.5 bits, close to a 12-character password from all 94 symbols. The words must be picked at random, for example with dice, not chosen by you.

Passphrases are easier to type and remember, which suits the few passwords you must recall, such as a password manager's master password or a device login. Random character strings pack more entropy into fewer characters and suit everything stored in a password manager. This tool generates random characters; it does not generate word passphrases.

How should I create and store passwords?

  • Use a different password for every account, so one breach cannot unlock the others.
  • Store generated passwords in a reputable password manager instead of a note or spreadsheet.
  • Prefer 16 or more random characters where a site allows it, and use the longest length it accepts for important accounts.
  • Turn on multi-factor authentication, preferably an authenticator app or security key, for email, banking and your password manager.
  • Change a password when a service reports a breach. NIST's Digital Identity Guidelines (SP 800-63B) advise against forced periodic changes and arbitrary composition rules, and favour length instead.

Frequently Asked Questions

Is this password generator safe?
Password generation uses the Web Crypto API in your browser. The app does not send generated passwords to SavvyToolz, store them, or include them in analytics events.
Do you store my generated passwords?
The app does not store, log, or transmit generated passwords. Copies you place on the clipboard or save elsewhere are controlled by your browser, operating system, and password manager.
How long should my password be?
Security experts recommend a minimum of 12 characters, but 16+ is ideal for high-security accounts. Our tool allows you to generate passwords up to 64 characters long.
Can I use these passwords for my bank?
Use a unique generated password if it meets the account provider's rules, then save it in a trusted password manager. No generator can guarantee an account will remain secure.

Related free tools

Browse developer tools