Password Generator

Choose options and select Generate.

Calculator inputs
?

Number of characters requested in the newly generated random password.

?

Enables or excludes the named character group from the password generator’s available alphabet.

?

Enables or excludes the named character group from the password generator’s available alphabet.

?

Enables or excludes the named character group from the password generator’s available alphabet.

?

Enables or excludes the named character group from the password generator’s available alphabet.

How to use the Password Generator

Generate a local cryptographically random password using your selected character groups.

  1. 1. Enter your inputs

    Start with Password length, Lowercase letters, Uppercase letters, Digits. Use the units shown beside each field.

  2. 2. Read the results

    Select Generate after choosing your inputs. Review length. Keep the entered units and settings consistent when comparing scenarios.

  3. 3. Check the calculation

    Uses Web Crypto with rejection sampling, requiring at least one character from every selected group. Generated locally; do not send real passwords to other people.

    See the worked example and method

Understanding the Password Generator: uses, inputs and results

The Password Generator creates a local random password from selected character groups so the requested length and alphabet are explicit.

What makes a generated password random rather than predictable?

The generator uses local cryptographic randomness to choose from the permitted character groups. Length controls how many characters are drawn; the selected groups define the available alphabet. A generated output is not derived from a name, phrase or a predictable sequence of earlier outputs.

Length and allowed characters are different controls

A service’s character restrictions can limit the alphabet independently of length. Choose options compatible with that service rather than modifying a public example into a pattern. Random generation does not itself store a password, verify account security or provide a complete authentication setup.

What do the Password Generator inputs mean?

Password length
Number of characters requested in the newly generated random password. Unit: characters.
Lowercase letters
Enables or excludes the named character group from the password generator’s available alphabet.
Uppercase letters
Enables or excludes the named character group from the password generator’s available alphabet.
Digits
Enables or excludes the named character group from the password generator’s available alphabet.
Symbols
Enables or excludes the named character group from the password generator’s available alphabet.

When is the Password Generator useful?

Create a new random string

Choose the length and character groups accepted by the account before selecting Generate.

Match character requirements

Adjust allowed groups when a service restricts symbols or other characters. Generate a new output rather than editing a predictable example.

Try the Password Generator·Read the subject guide·Explore a related calculator

Worked example: Password Generator

Password length. This fixed reference example shows one complete scenario; the interactive results above use your current inputs.

View the example inputs
Password length
16 characters
Lowercase letters
Include
Uppercase letters
Include
Digits
Include
Symbols
Include
Calculated results for the fixed example
Calculated quantityExample result
length16

Using technical conversions and generated data correctly

Confirm the representation before converting

Technical values need a defined format as well as a number. Bits and bytes differ by a factor of eight. Decimal storage prefixes and binary prefixes differ in their powers. Network prefixes, text encodings and percent-encoded URL components each have their own syntax and boundaries.

An encoding changes representation rather than making data secret. Unicode text needs a defined character encoding, and not every decoded byte sequence is valid text. A subnet calculation describes address ranges but does not establish a network’s live configuration.

Use the output for its documented purpose

Transfer-time estimates assume a usable throughput rather than a guaranteed line speed. Random generators use independent draws, so a repeated result can be valid. Generated passwords should be handled as secrets when you choose to use them.

Read the supported mode, size limits and error message before reformatting an input. The worked example illustrates the representation or arithmetic, and the current result updates from the actual values in the form.

Formula and calculation method

Uses Web Crypto with rejection sampling, requiring at least one character from every selected group. Generated locally; do not send real passwords to other people.

Reference Sources

Frequently asked questions

How does this calculator work?

Uses Web Crypto with rejection sampling, requiring at least one character from every selected group. Generated locally; do not send real passwords to other people.

What assumptions should I check?

Check the units and definitions shown beside each input. Results use the values you enter.

Can I save or print this calculation?

Use Download results after generating an output, or print the page. Random outputs are new draws when you select Generate again.