Formula and calculation method
Select each character uniformly using cryptographic random bytes and rejection sampling.
Generated locally, never stored. Save to a password manager. Character-class presence is not guaranteed.
How to use password generator
- Set Password length. The example below uses 20.
- Set Alphabet by choosing the option that matches your calculation.
- Select Calculate to update the result. Reset restores the illustrated inputs. Copy, print or download your own result if you need a record.
Worked example
This tool produces a fresh random result on each calculation. With the example settings below, every generated value follows the selected range or alphabet. No fixed example result is presented as your actual output.
- Password length
- 20
- Alphabet
- Letters, digits and symbols
Factors affecting your result
Generated locally, never stored. Save to a password manager. Character-class presence is not guaranteed.
Changing password length changes the scenario being evaluated. Adjust one input at a time when comparing results, keep a copy of the assumptions, and compare values using the same unit and period. A precise arithmetic result does not make an uncertain assumption precise.
Frequently asked questions
How does the password generator work?
Select each character uniformly using cryptographic random bytes and rejection sampling.
What inputs does Password Generator need?
Enter password length, alphabet. Choose values that correspond to the same situation and measurement convention.
How should I interpret the password generator result?
Generated locally, never stored. Save to a password manager. Character-class presence is not guaranteed.
Are my password generator inputs uploaded?
No. The calculation runs in this browser. Favorites, recent tool names, theme and formatting preferences may be saved locally, but calculation inputs are not sent to a calculation server or stored by this website. Shared links do not include entered values.
Maintained by Calculators.buzz Editorial Team. Implementation date: . No professional credentials or clinical review are claimed. Read our methodology policy.