Random Password Generator

Generate a password locally using browser cryptography and your chosen character alphabet.

Length
20
Unique allowed characters
62
Uniform-model entropy (bits)
119.0839262

Calculation and assumptions

N=Aᴸ; H=log₂(N)=L·log₂(A).

Each position is sampled uniformly from the unique allowed characters using crypto.getRandomValues and rejection sampling. Repeated input characters are deduplicated; selected character classes are not guaranteed to appear. Settings changes clear the previous password. Nothing is sent or saved by this tool. Entropy assumes independent uniform generation and is not a crack-time prediction or a guarantee of account security. A browser with cryptographic randomness is required; no weak fallback is used.

Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Frequently asked questions

How is the result calculated?

N=Aᴸ; H=log₂(N)=L·log₂(A).

What assumptions apply?

Each position is sampled uniformly from the unique allowed characters using crypto.getRandomValues and rejection sampling. Repeated input characters are deduplicated; selected character classes are not guaranteed to appear. Settings changes clear the previous password. Nothing is sent or saved by this tool. Entropy assumes independent uniform generation and is not a crack-time prediction or a guarantee of account security. A browser with cryptographic randomness is required; no weak fallback is used.

How precise are the results?

Results show up to ten significant digits. Display precision does not improve the accuracy of the measurements or model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Also try:

Back to category →