MFAYSAL.DEV

Strong Password Generator

Choose a length and character types, or a passphrase. Generated locally, never sent or stored. Free, private and runs in your browser.

Your details

Type

Result

How this password generator works

Passwords are made in your browser with the Web Crypto API (crypto.getRandomValues), a cryptographically secure random number generator, rather than Math.random. It uses rejection sampling so that every character is equally likely. Nothing is sent over the internet, logged or saved: close the tab and the password exists only where you put it.

What makes a password strong?

Strength depends on length and on how many possible characters there are. It is measured in bits of entropy: length × log₂(pool size). A 16-character password using upper and lower case letters, numbers and symbols has about 105 bits, far beyond what can be brute-forced. Length matters more than complexity: adding characters raises strength faster than adding symbol types.

Three random words (NCSC advice)

The UK's National Cyber Security Centre recommends three random words for passwords you need to remember, such as your email password. They are long, easy to type and much harder to guess than "P@ssw0rd1". The passphrase mode joins three randomly chosen words with hyphens and adds a number. Don't pick the words yourself from things about you (pets, teams, children's names), because those are easy to guess.

Good password habits

This page needs no account and no API key, and sends no data, because it runs entirely as static code. More free tools: word counter, age calculator.

Frequently asked questions

Is this password generator safe?

Yes. Passwords are created in your browser with the secure Web Crypto API and are never sent or stored.

How long should a password be?

At least 12 to 16 random characters, or three random words, as the NCSC suggests.

What is a good passphrase?

Three or more truly random words, for example Copper-Puffin-Lantern42, not words linked to you.

cryptosecure randomness
0data sent
Unbiaseduniform draws
Freeno sign-up

How to use the Strong Password Generator

  1. Enter your list, range or options.
  2. Set how many results you want.
  3. Press the button to draw.
  4. Draw again or copy the results.

Why use this Strong Password Generator

100% in your browser

Nothing you enter is uploaded or stored.

Instant results

Updates as you type, no waiting.

Mobile friendly

Works on phones, tablets and desktops.

Light & dark mode

Follows your mfaysal.com theme.

Free, no account

No sign-up, no limits, no watermark.

Explained

Formulas, tables and sources on the page.

Strong Password Generator: chart and reference data

Password entropy by length – bits = length × log₂(character set)
039.3378.66118157812162024Length (characters)

Entropy (bits): a–z only (26) a–z, A–Z, 0–9 (62) + 32 symbols (94)

Source: exact formula for randomly generated passwords

Entropy of random passwords
Length62-character set94-character set
848 bits52 bits
1271 bits79 bits
1695 bits105 bits
20119 bits131 bits
24143 bits157 bits

Strong Password Generator compared with the alternatives

How this free tool compares
MethodFairnessSpeedProof
This toolUniform (crypto RNG)InstantScreenshot
Names in a hatFair if mixed wellSlowWitnesses
Math.random() scriptsNot cryptographicInstantNone

Who uses it in the UK

  • Classroom name picks and team splits
  • Giveaways and office raffles
  • Creating secure passwords and IDs
  • Games, quizzes and decisions

More questions

Is the result truly random?

The tool uses the browser's cryptographic random number generator (crypto.getRandomValues), which is suitable for fair draws and security uses. Every option has the same chance.

Can I use it for a raffle or giveaway?

Yes for informal draws. For UK prize draws and lotteries, check the Gambling Commission rules and keep a record (screenshot) of the draw.

Why did the same result come up twice?

Random does not mean evenly spread. With replacement, repeats happen naturally – see the birthday chart above.

Are my lists saved?

No. Names and lists stay in your browser tab and are gone when you close it.

✨ New: Remove the background from any image free – private, in your browser, transparent PNG.

Related free tools

Browse all 102 free tools →

Sources

Note: This free tool runs entirely in your browser. No data is sent or stored. Results are for information only.