Password Generator

Strong random passwords with optional prefix, suffix and character rules.

Your inputs are sent to our server to calculate the result and are not intentionally retained. See our privacy policy.

About this calculator

Reused and guessable passwords remain the most common break-in route. This generator creates passwords with a cryptographically secure random source on our server, with the options that matter: length up to 64 characters, symbols on or off (for systems that reject them), optional prefix/suffix for naming schemes, and a no-repeat mode. Nothing is stored or logged — each password exists only in your browser.

The formula

Entropy (bits) = Length × log₂(character-set size) 62-character set ≈ 5.95 bits/char; with symbols (88) ≈ 6.46 bits/char

Worked example

A 16-character password with symbols has ~103 bits of entropy — brute-forcing it at a trillion guesses per second would take longer than the age of the universe. A 8-character letters-only password falls in hours.

Common mistakes

  • Reusing one strong password everywhere — a single site breach then opens every account.
  • Meeting complexity rules with predictable substitutions (P@ssw0rd1) that crackers try first.
  • Storing generated passwords in a plain text file instead of a password manager.

Frequently asked questions

16+ characters for anything that matters; 12 is a reasonable floor. Length beats complexity — every added character multiplies the search space.

Generation uses PHP's cryptographically secure random_int(), the result is returned over HTTPS in production, and nothing is stored or logged. For the highest-stakes secrets, generate inside your password manager.

Some legacy systems, Wi-Fi setups and voice-entry situations reject or mangle symbols — a longer letters-and-numbers password compensates.

Assumptions & limitations

Entropy is computed on the random portion only — prefixes and suffixes add length but not randomness.

Sources & verification

All sources last accessed 24 July 2026.

Formula last verified: 24 July 2026
Maintained by: Steve Davis, Founder & Editor — see our editorial standards

Spotted an error or an out-of-date figure? Report it — corrections are prioritised over all other work (see our corrections policy).

Related calculators

Use this calculator on your website

Free embed for registered domains — takes two minutes to set up.
Get the embed code