Secure password generator

Secure password generator: use password length, allowed characters. Review the formula, worked example and calculation steps.

Inputs

Use the units shown
RESULT
—

Enter your values and select Calculate.

Formula & explanation
Choose each character independently and uniformly from the selected alphabet

Variables & units

Password length
Numeric value · minimum 12, maximum 128
Allowed characters
Select an option

Worked example

A 20-character password drawn from 80 allowed symbols has about 126 bits of selection entropy.

Assumptions

No account is needed. Automatic history, in-app saving, input-sharing links and CSV export are disabled. Random selection does not guarantee every character class appears; use an appropriate password manager and follow the destination site’s rules.

Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.

Calculated on your device. Automatic history is disabled for these inputs.