Skip to content

A CLEARER WAY TO WORK IT OUT

Password Generator

A new password should not have to come from a memorable word or a pattern you have used before. This generator creates a random string from the character groups allowed by the site you plan to use it on.

A new password should not have to come from a memorable word or a pattern you have used before. This generator creates a random string from the character groups allowed by the site you plan to use it on.

Your result will appear here.

Your calculation runs in this browser. After changing a value, select Calculate to update the answer.

Your inputs stay in this browser. Change a value, then calculate again to update the result.

How to use the password generator

Length and the allowed character groups describe the password you want. A site that rejects symbols needs a different selection from one that requires them. Generating again produces another string rather than a small variation of the previous one.

Set the options to match the receiving service before generating a password. Length and permitted characters are separate constraints: a long result containing a prohibited symbol will still be rejected. Generate a fresh password for each account, then store it in a password manager rather than reusing a sample from an article. The browser performs the generation, and the calculator does not decide which authentication methods a service should require.

What the result tells you

The generated password includes at least one character from each selected group. Another generation produces a new random password, so the displayed text is not a reusable example password.

A calculation you can check

A 20-character password can include uppercase, lowercase, digits and symbols. A site that bans symbols needs that group excluded before generating a new password.

Try it in the calculator ↑

Formula and calculation method

For each selected group, draw a character with rejection sampling. Fill remaining positions from the combined alphabet, then shuffle with unbiased bounded random indices.

Check the assumptions

Check the receiving site’s length and symbol rules before using it. Keep passwords in a password manager and use a different one for each account. Do not use the example length as a guarantee of suitability for every service.

Lengths of 4–256, at least one group, and enough positions for every selected group. Cryptographic browser randomness is required. Password contents are not stored by this tool. Use a password manager and avoid reusing passwords. Generated passwords may not match a particular site’s restrictions.

Frequently asked questions

Why does a website reject a generated password?

Check its maximum length and allowed symbols. Exclude unsupported groups or adjust the length, then generate a new result rather than manually shortening a password you have already saved.

Is the example a password I should use?

No. The example describes settings, not a shared credential. Use a newly generated result for your own account and keep it private.

Something looks wrong? Send the calculator name and a non-sensitive example so the issue can be checked.