AltUtils

Password Generator

Create strong, random passwords and passphrases with the Web Crypto API, check strength and entropy, and copy in one click.

CategoryDaily Life
Sheet38 / 42
ProcessingIn your browser
Generating…
StrengthVery strong
Entropy
103 bits
Crack time · fast hash
2 trillion years
Crack time · slow hash
about 10¹⁹ years

Average time to guess, assuming the attacker knows your settings: 100 billion guesses/s (about one modern GPU vs. a fast hash such as MD5) or 10,000 guesses/s (slow hash such as bcrypt).

Slider goes to 64; type up to 128 in the box.

Settings

Match the site's rules. Letters, digits and spaces are ignored.

Bulk generate

Create up to 500 passwords at once with the settings above.

What is the Strong Password Generator?

This password generator creates random passwords and passphrases entirely in your browser using the Web Crypto API (crypto.getRandomValues), a cryptographically secure random number generator seeded by your operating system. Characters and words are picked with rejection sampling, so every symbol in the pool is exactly equally likely — there is no modulo bias, and Math.random() is never used.

In Password mode you choose the length (4–128), which character types to use, which symbols are allowed, and characters to avoid, such as look-alikes (0/O, 1/l/I) or symbols a site rejects. When “at least one of each selected type” is on, the generator draws whole passwords uniformly and discards any that miss a type. The result is uniform among all passwords that meet the rule, with no fixed positions for digits or symbols, and the entropy shown is calculated exactly for that rule.

Passphrase mode joins words picked at random from a built-in list of 2,247 common English words (about 11.1 bits per word). You can choose the separator (including a random digit between words), the capitalization, and whether to add a digit to one random word. Six words give about 67 bits, about as strong as a 10–11-character password drawn from all 90 default characters, but much easier to remember and type.

The strength meter is based on entropy, which assumes the attacker knows exactly how the password was generated. Crack-time estimates are averages for offline attacks against a stolen password hash. Nothing you generate is sent to a server or stored by this page, and the bulk mode can produce up to 500 passwords at once for provisioning accounts or test data.

Frequently asked questions

How does this generator make sure passwords are truly random?
It uses crypto.getRandomValues(), a cryptographically secure random number generator seeded by your operating system. Random 32-bit numbers are turned into character choices with rejection sampling: values that would make some characters more likely than others are thrown away. A simple “random % length” would add a small bias.
What does entropy in bits mean?
Entropy is log2 of the number of equally likely passwords your settings can produce. Each extra bit doubles the work for an attacker. A 16-character password using all 90 default characters has about 104 bits. Six words from the 2,247-word list have about 67 bits. As a rough guide, under 40 bits is weak, 60 bits is fine when the site uses a slow hash, and 80 bits or more is strong against offline attacks.
How is the crack time estimated?
It is the average time to search half of all possible passwords at two rates: 100 billion guesses per second (roughly one modern GPU against a fast, unsalted hash such as MD5 or NTLM) and 10,000 guesses per second (a slow hash such as bcrypt). Real attacks vary. A reused or phished password is broken regardless of its length.
Is a passphrase as secure as a random password?
Only when it has the same entropy. Each random word adds about 11 bits, while each fully random character adds about 6.5 bits. A 6-word passphrase (≈67 bits) is about as strong as a 10–11-character random password. Use more words if you need more strength. The words must be chosen randomly by the generator, not by you.
How long should my password be?
For accounts stored in a password manager, use 16 or more random characters. For a master password you have to type, use a passphrase of 5–7 words. NIST's current guidelines (SP 800-63B) require at least 15 characters for passwords used on their own, and favor length over composition rules.
What are ambiguous characters and should I exclude them?
Characters like 0/O/o, 1/l/I and | look alike in many fonts. Excluding them helps when a password has to be read aloud, printed or typed from another screen, for example Wi-Fi keys. It shrinks the character pool slightly. The entropy display accounts for that, so add a character or two to make up for it.
Are my generated passwords sent or saved anywhere?
No. Passwords are generated in your browser's memory and are never sent to a server, logged or saved by this tool. Note that anything you copy goes to your system clipboard, and some clipboard managers keep a history.
Why does the password appear only after the page loads?
The page is pre-rendered without a password on purpose. The first password is created in your browser after the page loads, so a generated secret never appears in server HTML or caches.