Password Generator

Generate strong, random passwords with secure browser crypto. Choose length and character types, exclude ambiguous characters, and copy instantly.

Runs in your browser
Loading Password Generator...

How to use

  1. 1

    Set the length (8-128).

  2. 2

    Tick the character types you want.

  3. 3

    Optionally exclude ambiguous characters.

  4. 4

    Generate, read the strength meter, and copy.

How it works

Each character is drawn uniformly at random from the chosen character set using rejection sampling on crypto.getRandomValues output. At least one character from every selected type is guaranteed, then the set is shuffled securely.

Frequently asked questions

Is the password sent anywhere?

Never. Passwords are generated and displayed only in your browser.

What does "exclude ambiguous" do?

Removes characters that look alike, like uppercase I, lowercase l and the digit 1, so passwords are easier to retype.

Why is Math.random not used?

Math.random is not cryptographically secure. crypto.getRandomValues provides the security guarantees password generation needs.

Related tools