Password Generator

Strong random passwords and easy-to-type passphrases, made in your browser with its cryptographic random generator. Nothing you generate is sent to a server or saved.

20
Include
Your password
-

Entropy
-
Possible values
-
Online attack
-
1,000 guesses a second
Offline, fast hash
-
100 billion a second

More options

Click one to copy it.

    What the numbers mean

    Password strength is measured in bits of entropy: the number of guesses an attacker needs, written as a power of two. A random password drawn from C possible characters with length L has L × log₂(C) bits. With all four character types this generator uses 90 characters (it leaves out quotes, backslashes and spaces, which some sites reject), so each character adds 6.5 bits. Every extra bit doubles the work. The times shown are for guessing half the possibilities, the average case, and they only apply to randomly generated passwords. A human-chosen password such as Summer2026! has far less real entropy than its length suggests, because attackers try common words and patterns first.

    Random passwordBitsOffline, fast hashOffline, slow hash
    8 characters, all types51.96.0 hours6.8 thousand years
    12 characters, all types77.945 thousand yearslonger than the age of the universe
    12 lowercase letters56.45.5 days151 thousand years
    16 characters, all types103.9longer than the age of the universelonger than the age of the universe
    20 characters, all types129.8longer than the age of the universelonger than the age of the universe
    4-word passphrase51.75.1 hours5.8 thousand years
    6-word passphrase77.535 thousand yearslonger than the age of the universe
    6-digit PIN19.9instantly50 seconds

    "Fast hash" assumes a well-equipped attacker trying 100 billion guesses a second against a leaked database of fast hashes such as MD5. "Slow hash" assumes 10,000 a second against a properly stored password (bcrypt, scrypt or Argon2).

    Passphrases

    A passphrase strings together random words, such as Tulip-Canopy-Absurd-Gravel-Mango-Swift. Each word is picked from the EFF's 7,776-word list, which adds 12.9 bits per word, so six words give about 77.5 bits: stronger than a random 11-character password (71.4 bits) and much easier to type on a phone or remember. The words must be chosen by the generator, not by you, or the strength calculation no longer holds.

    Good password habits

    Current US government guidance (NIST SP 800-63B, revision 4) favours length over complexity rules, recommends at least 15 characters for a password used on its own, and says passwords should not be changed on a schedule, only when there is a sign they were exposed. In practice: use a different password for every account, keep them in a password manager, and turn on two-factor authentication or passkeys for email, banking and anything holding money. Reused passwords are the main way accounts are taken over after another site is breached.

    Questions people ask

    Is it safe to generate a password on a website?

    This page generates passwords entirely in your browser with crypto.getRandomValues(). Nothing is sent over the network or stored; you can load the page, disconnect from the internet and it still works. Even so, for your most important accounts a password manager's built-in generator is the most convenient choice.

    How long should my password be?

    For random passwords, 16 characters or more is comfortably out of reach of brute force. For passphrases, 5 or 6 words. Length matters more than adding symbols.

    Why avoid look-alike characters?

    I, l and 1, or O and 0, are easy to misread when a password has to be typed from paper or read aloud. Leaving them out costs a little entropy, which the length more than makes up for.

    Passphrase words from the EFF large wordlist, licensed CC BY 3.0 US.