Productivity

Password generator

Generate a password or passphrase, choose its character or word count, and copy the result. Generated secrets stay in this browser and are not saved.

Works locally in your browser

How this tool works

Generate a fresh secret when a password manager or account setup needs one. Production randomness comes only from the browser Web Crypto API.

Inputs and definitions

Choose password or passphrase mode, set the length or word count, generate, then copy the result. Clear it from the page and clipboard after saving it securely.

Methodology

Password mode samples enabled character sets with rejection sampling to avoid modulo bias and guarantees every selected set appears. Passphrase mode samples a fixed local word list.

Assumptions

The entropy estimate assumes independent uniform choices from the displayed generator space and does not measure how a service stores or protects a password.

Worked examples

Worked example

A 20-character password using all four sets contains at least one lowercase letter, uppercase letter, digit, and symbol.

  1. Enter and review

    Choose password or passphrase mode, set the length or word count, generate, then copy the result. Clear it from the page and clipboard after saving it securely.

  2. Process locally

    Password mode samples enabled character sets with rejection sampling to avoid modulo bias and guarantees every selected set appears. Passphrase mode samples a fixed local word list.

A 20-character password using all four sets contains at least one lowercase letter, uppercase letter, digit, and symbol.

Validation example

The same workflow is repeated with a second valid input to confirm password generator behavior.

  1. Enter and review

    Choose password or passphrase mode, set the length or word count, generate, then copy the result. Clear it from the page and clipboard after saving it securely.

  2. Process locally

    Password mode samples enabled character sets with rejection sampling to avoid modulo bias and guarantees every selected set appears. Passphrase mode samples a fixed local word list.

The output remains local and follows the documented validation and limitation rules.

Limitations and common mistakes

A generated password is only one part of account security. Store unique credentials in a reputable password manager and enable multi-factor authentication where available.

Frequently asked questions

Are generated passwords sent anywhere?

No. Generation and copying happen locally.

Does the tool use Math.random?

No. It uses cryptographically secure Web Crypto bytes.

Should I reuse a generated password?

No. Use a unique password for every account.

Sources

Method and content record

The method, examples and limitations describe how this tool works. Recorded checks do not establish independent professional review.

Record attribution, date and versions

Record attribution: ToolsOrigin calculation review; introduction guidance checked by Codex.

Record date: .

Content version 1.0.1. Engine version 1.0.0.