Technical utilities

Password Generator

Generate a password locally using the browser’s cryptographic random source. Include each selected character type at least once, then securely shuffle the generated characters.

  • Explicit formulas and worked examples
  • Generate a fresh password on demand
  • Data is calculated in this browser only

Check the stated input format, calculation convention and limits before using the result.

Your inputs

Local calculation

Check the example inputs, then calculate. Your values stay in this browser.

Length must be at least the number of selected character types, and at most 128.

Calculation notes

Understand the Password Generator

Choose the right record before calculating

Generate locally with the cryptographic random source and choose the length and character categories accepted by the target service. The ambiguous-character filter improves transcription by removing look-alikes. Keep every generated value secret; examples verify structure, never publish a reusable sample password.

Content and calculation reviewed:

Understand the calculation

How to use it and the math behind it

Read the complete explanation

Four steps to check your inputs and results

  1. Generate a password locally using the browser’s cryptographic random source. Include each selected character type at least once, then securely shuffle the generated characters.
  2. Enter Length, Uppercase letters, Lowercase letters, Digits, Symbols, Exclude look-alike characters (I, l, 1, O, 0, o) in the stated format. Baseline values are for reproduction.
  3. Check the output unit and convention: Read generated length with its stated unit and convention. The default example and the independent worked scenario use different inputs, so compare the assumptions before comparing the numbers.
  4. Change one input and compare the result. Length must be at least the number of selected character types, and at most 128. Use HTTPS or localhost. Store passwords in a password manager; no strength or breach-resistance guarantee is made. The optional look-alike exclusion removes I, l, 1, O, 0 and o; selected character types still appear at least once.

Password Generator: calculation relationships

For a length L and an unconstrained alphabet of N characters, there are Nᴸ strings. Requiring each chosen character type changes that model, so the tool does not claim a simple entropy score. It uses cryptographic randomness and rejection sampling for character selection. Generate a 24-character example and check length and selected types; its literal characters are deliberately not published as a reusable password. Optional look-alike exclusion removes I, l, 1, O, 0 and o before selecting characters. It improves transcription clarity, not a promised strength rating; CSPRNG selection and each-type inclusion remain unchanged.

random index = uniform integer in [0, pool length − 1]

The detailed guide adds variable definitions, a reproducible example, a practice question and model limitations.

Questions before you calculate

Does generation send my password to the server?

Generation is local; the value should not be included in analytics or support examples.

Does ambiguous-character exclusion add entropy?

No. It improves readability while reducing the alphabet.

Why must length cover all selected categories?

At least one position is needed for each required category.

Can the tool promise a crack time?

No precise time follows without attack, hashing and compromise assumptions.

Should a generated password be reused?

Use a distinct value for each service and store it securely.

Take the calculator with you

Embed this calculator

Formula sheet (English PDF)

Use the iframe for a fixed-height embed, or the JavaScript helper for automatic height. Calculations stay inside the frame; inputs and results are never sent to your site.

The optional Toolify source link uses nofollow. The calculator keeps working if you remove the link. No analytics or advertising scripts load in the widget. Use offline tools

From question to result

Continue with a related question

Explore all Technical utilities tools and guides