Password Generator

Generate a random password with the character sets and length you choose.

Equation used
Each character sampled uniformly at random from the selected character sets, using the browser's CSPRNG

Frequently Asked Questions

How random is this password generator?

Characters are sampled using crypto.getRandomValues(), the browser's cryptographically secure random number generator — not Math.random() — so each character is chosen uniformly at random from your selected character sets.

How is the entropy (bits) calculated?

Entropy = password length × log2(size of the character pool). A longer password, or one drawing from more character sets (uppercase, lowercase, numbers, symbols), produces a larger pool and therefore higher entropy.

Is my generated password sent anywhere or stored?

No — the password is generated and held entirely in your browser; nothing is sent to a server. Copying it uses your browser's clipboard API, and nothing is saved once you leave or regenerate the page.