Stavekit

Password generator

Create strong, random passwords with the length and characters you choose. They are generated on your device and never sent anywhere.

Advertisement

    Advertisement

    How the passwords are generated

    Passwords are created with the Web Crypto API (crypto.getRandomValues), the same cryptographically secure random source browsers use for encryption. Each character is chosen with equal probability from the sets you select, without the bias that simpler random functions can introduce, and at least one character from each selected set is included. The page does not send, log or store the passwords: you can even disconnect from the internet and it still works.

    What makes a password strong

    Strength comes mostly from length and from randomness. The meter estimates entropy in bits: length multiplied by the logarithm of the number of possible characters. Every extra bit doubles the number of guesses an attacker needs.

    • below 40 bits: weak, can be guessed quickly offline
    • 40 to 59 bits: fair, acceptable only for low-value accounts
    • 60 to 79 bits: strong
    • 80 bits or more: very strong

    A random 16-character password using all four character types has about 104 bits of entropy, far beyond what can be brute-forced. A human-made password like “Summer2026!” looks complex but is easy to guess, because attackers try common words and patterns first.

    Good habits

    • Use a different password for every account, so one breach does not unlock the others.
    • Store them in a password manager instead of a document or a sticky note.
    • Turn on two-factor authentication where it is offered.
    • Use “Avoid look-alike characters” when you have to read or type the password by hand.

    Some sites limit the length or the symbols allowed; adjust the options to match. “Generate 10” gives a list to choose from, for example when creating several accounts.

    How long would it take to crack?

    Entropy turns into time quickly. A random 12-character password using upper and lower case letters, digits and symbols has about 78 bits of entropy. Even an attacker testing a hundred billion guesses per second against a stolen, poorly protected password database would need, on average, tens of thousands of years to find it. An 8-character password from the same set has about 52 bits, and the same attacker could find it within hours. Each extra character multiplies the work, which is why length is the cheapest way to add strength.

    Passphrases as an alternative

    For a password you must type or remember, such as the master password of a password manager, a passphrase of several random words can be easier to handle. Five words chosen at random from a list of 7,776, the classic diceware method, give about 65 bits; six words give about 78. The words must be chosen randomly, not picked because they form a nice sentence, and song lyrics or famous quotes do not count, because attackers try them too.

    What to do after generating

    Save the new password in a password manager straight away, then change it on the site and confirm that you can log in. Turn on two-factor authentication wherever it is offered, preferably with an authenticator app or a security key rather than text messages. If a service reports a breach, change that password, and if you ever reused it elsewhere, change those accounts too. Checking your email on a breach notification service is a quick way to learn which old accounts are at risk.

    Frequently asked questions

    Is it safe to use an online password generator?

    This one creates passwords locally with the browser's cryptographic random generator. Nothing is transmitted or saved, and the page works offline once loaded.

    How long should my password be?

    At least 12 characters for ordinary accounts and 16 or more for email, banking and password-manager master passwords.

    Why avoid look-alike characters?

    Characters such as I, l, 1, O and 0 are easy to confuse when reading a password aloud or typing it from paper. Removing them slightly lowers entropy, so add a character or two.

    What does bits of entropy mean?

    It measures how unpredictable a password is. Each additional bit doubles the number of possible passwords an attacker would have to try.

    Should I change my passwords regularly?

    Current guidance from security bodies such as NIST is to change a password when there is a reason, such as a breach or suspected compromise, rather than on a fixed schedule. Forced frequent changes tend to produce weaker, predictable passwords.

    Can I generate several passwords at once?

    Yes. The "Generate 10" button creates a list of ten passwords with the current settings. This is handy when you are setting up several accounts or devices, and each one is generated independently.