Toolstia / Password generator
Generate a strong password
A good password is long, random and used on only one site. Humans are poor at producing randomness, so this tool does it for you: choose a length between 8 and 64, pick which kinds of characters to allow, and a fresh password appears immediately, ready to copy into your password manager or a sign-up form.
Below the password you see a plain-language rating and an approximate number of bits of randomness, so you can compare settings instead of guessing. The password is created in your browser and is not saved, but you should still store it somewhere safe before you leave the page. Use a new password for every account and keep them in a password manager rather than in a notes file.
Passwords are created in your browser with its secure random generator and are never sent or stored.
How it works
- Set the length with the slider.
- Choose which character types to include.
- Copy the password, or generate a new one.
How long should it be?
Length matters most. For important accounts use at least 16 characters. Every extra character multiplies the work needed to guess the password.
The strength figure
The tool shows the bits of randomness, which is the length times the log of the character pool size. 80 bits or more is very strong against guessing. It does not protect against a password being reused or stolen by malware.
Look-alike characters
Turn on the look-alike option if you will read the password aloud or type it by hand. It avoids O, 0, l, 1 and I.
Use a password manager
Random passwords are hard to remember. Store them in a password manager and use a different one for every site.
What the bits figure means, with numbers
The estimate is the password length multiplied by the base-2 logarithm of the pool of possible characters. The full pool with lowercase, uppercase, digits and symbols has 86 characters, so each character adds about 6.43 bits. At 12 characters that is about 77 bits, at 16 characters about 103 bits, and at 24 characters about 154 bits.
The labels follow fixed bands: under 40 bits is Weak, 40 to 59 is Fair, 60 to 79 is Strong, and 80 or more is Very strong. A 16-digit number made only of digits scores about 53 bits, Fair, while a 12-character password using all four sets already reaches the Strong band and 13 characters tips it into Very strong.
Length beats complexity
Compare two settings. Eight characters from all four sets give about 51 bits. Sixteen characters from lowercase letters alone give about 75 bits. Longer and simpler wins, because every added character multiplies the number of possibilities by the pool size, while adding a character type only enlarges the pool a little.
That is why the slider goes to 64. For accounts that protect money or email, 16 or more is a sensible floor. A password manager removes any need to remember it, so there is little reason to keep it short.
Understanding the scale of 80 bits
Eighty bits means about 1.2 times 10 to the 24th possible passwords. Even an attacker trying a trillion guesses every second would need on the order of tens of thousands of years to go through all of them, and the expected time to hit the right one is half of that. This only applies to guessing against a stolen list of password hashes, and it assumes the password was truly random.
It says nothing about phishing, reuse, or malware that records what you type. The most dangerous password is a strong one used in two places, because one site's breach exposes the other.
How the character rules work
The symbol set is !@#$%^&*()-_=+[]{};:,.?/ with 24 characters. For every type you tick, at least one character of that type is placed in the password, and the rest are drawn from the combined pool before the whole result is shuffled. Choosing the look-alike option removes O, 0, l, 1 and I and also lowercase o and the vertical bar, leaving a pool of 80 characters.
Because one character per type is guaranteed, the real number of possibilities is very slightly lower than the displayed estimate. The difference is small at normal lengths and does not change the practical advice.
When a site refuses your password
Some sites cap the length at 16 or 20 characters, ban certain symbols, or insist on a symbol when you removed them. The workaround is to match the site's rules rather than weaken the password: untick symbols and raise the length, which keeps the strength high. For a Wi-Fi key you will type on a TV or console, choose letters and digits only with the look-alike option on.
This generator creates random character strings, not word-based passphrases. If you need something you can memorize, such as a master password, a passphrase of several random words is a better fit and should be built with a method that picks words randomly.
Questions
Is the password stored or sent anywhere?
No. It is generated in your browser and disappears when you close or refresh the page.
Is it really random?
It uses the browser secure random generator (crypto.getRandomValues), not Math.random, and avoids bias when picking characters.
Does it include at least one of each type?
Yes. Each type you tick appears at least once, then the order is shuffled.
Why do some sites reject symbols?
A few sites limit which symbols are allowed. Untick symbols and use a longer password.
Should I regenerate until I get one I like?
Yes, that is fine. Every password is generated independently, so choosing one that looks easier to type costs you almost nothing, as long as you use it exactly as shown and do not edit it by hand.
Is it safe to change a few characters by hand?
It is better not to. Replacing characters with ones you can remember or following a pattern lowers the randomness, which the strength figure no longer describes.
Why is there no option to exclude specific characters?
The tool offers type toggles and a look-alike filter only. If one symbol breaks a site, untick symbols and add length instead.
What is the minimum number of characters it will produce?
The slider runs from 8 to 64 characters. For anything that matters, stay at 16 or above.
How often should I change a password?
A strong unique password does not need regular changes. Change it when a site reports a breach, when you suspect someone else knows it, or when you shared it with someone who should no longer have it.