Free online tool

Password generator

Generate secure passwords at your desired length, with a strength meter and, if you like, without easily confused characters. Everything runs in your browser: no password leaves your device.

Copied ✓
Included characters

What makes a password strong

An attacker doesn't try passwords by hand but automatically, depending on the method billions per second. Only one thing helps against that: making the number of possibilities so large that trying them all becomes hopeless. That number is determined by two quantities, the character set and the length, and the two work very differently.

The character set multiplies: allowing uppercase letters, digits and special characters alongside lowercase grows the pool from 26 to around 90 possible characters per position. Length, however, raises to a power: every additional character multiplies the total once more by the full pool. That's why length beats complexity: a password of 20 lowercase letters has more possibilities than one of 12 characters with every special character included.

The strength meter above the generator calculates exactly that and expresses it in bits. One bit more means twice as many possibilities. The figure only applies to randomly generated passwords like the ones created here, though. A self-invented "P@ssw0rd2026!" reaches similar values on paper but is trivial to crack, because attackers try exactly such patterns first.

Where the randomness comes from

A password is only as unpredictable as the randomness it's built from. This generator therefore uses the browser's cryptographically secure source of randomness rather than the usual standard function for random numbers. The latter is designed for speed and its output may be predictable, which is fine for toys but not for passwords.

We also take care to translate the randomness into characters without bias. The obvious approach, dividing a random number by the pool size and taking the remainder, systematically favours the front characters of the pool whenever the size doesn't divide evenly. Instead, the generator discards such random values and draws again, so every character is exactly equally likely. And: if a character type is ticked, it is guaranteed to appear at least once in the result.

What a strong password cannot do

Even a perfect password doesn't protect against everything. If a provider stores it in plain text and gets hacked, it's exposed regardless of its length. Anyone who types it into a deceptively realistic fake login page hands it over voluntarily. And anyone who reuses the same password turns someone else's data breach into their own problem.

That's why a strong password comes with two habits: a separate one for every service, and two-factor authentication wherever available. It is the single most effective protection there is, because a stolen password alone is then no longer enough.

Frequently asked questions about passwords

Is it safe to have a password generated on someone else's website?
Only if the password never leaves your device, and that’s exactly the case here: generation runs entirely in your browser, nothing is sent to a server and nothing is stored. You can even disconnect from the network after copying; the tool keeps working. With generators that compute the password server-side, on the other hand, it travels over the wire and may end up in a log file. If you want to be completely sure, use the generator built into your own password manager.
How long should a password be?
Length beats complexity. For normal online accounts, 16 characters are a good starting point; for particularly sensitive access (your email account, password manager, online banking) more like 20 and up. A long password of only lower- and uppercase letters is stronger than a short one with lots of special characters: every additional character multiplies an attacker’s effort exponentially, while a larger character set only multiplies it linearly.
What does the bit figure in the strength meter mean?
It quantifies how much real randomness the password contains, calculated from its length and the size of the selected character set. Every additional bit doubles the number of possibilities an attacker would have to try. From about 70 bits, a randomly generated password is considered solid against today’s attacks; from 100 bits, very comfortable. We deliberately avoid claims like “X years to crack”: such figures depend entirely on how the service stores the password and lull you into false security.
Why should I exclude easily confused characters?
Because some characters are barely distinguishable depending on the typeface: the zero and the capital O, the one, the lowercase l and the capital I. As soon as a password is typed off, read aloud or passed on in print, these are the classic sources of error. If you only ever transfer it via clipboard into a password manager, you can safely skip the option; every excluded character shrinks the set a little.
Should I use a separate password for every service?
Absolutely. The most common route to a hijacked account is not guessing the password but its reuse: after a data breach at one provider, attackers automatically try the same combination at dozens of other services. A separate, random password per account limits the damage to exactly one service. A password manager makes this practical: then you only need to remember its master password.
Are the generated passwords stored?
No. The list below the generator keeps the most recently generated passwords only in this tab’s memory, so you don’t accidentally lose one before you’ve used it. It is stored neither in cookies nor in the browser’s storage, and it’s gone after reloading or closing the page.

More free tools

All our online tools run free of charge and without sign-up, right in your browser.

Browse all tools
HOMETOOLSPASSWORD-GENERATOR