← All tools

Everyday tools · On your device

Password generator

Generate a random password with your browser's cryptographic generator.

About this tool

A strong password is long, random, and unique to each account. Most people struggle with all three of those requirements simultaneously — which is why so many accounts end up protected by predictable patterns or reused passwords. This tool uses the Web Cryptography API built into your browser to generate passwords with genuine randomness sourced from the operating system's cryptographic random number generator, the same source trusted by security software.

You control the length (8 to 128 characters) and which character groups to include: uppercase letters, lowercase letters, digits, and symbols. The generator guarantees that at least one character from each selected group appears in the output, which satisfies the composition rules enforced by most websites. Random selection uses rejection sampling rather than a modulo operation, which eliminates the subtle bias that can emerge when a character pool size does not divide evenly into the random number range.

The generated password exists only in your browser tab. It is not sent to any server, not logged, and not stored anywhere by this tool. After you copy and use the password, it should be saved in a password manager rather than written down or memorised. If your browser's clipboard history feature is enabled, be aware that copied text can persist there; clear it after pasting the password into your account. Using a password manager to generate passwords directly is the most secure workflow — this tool is a practical alternative when you do not have one to hand.

How to use this tool

Choose 8–128 characters and at least one character group. Generate, then explicitly copy the password. Every selected group is included. Random selection uses rejection sampling rather than modulo bias. Passwords stay in this tab; clearing does not erase clipboard contents.

Inputs and outputs stay in this tab until you clear them or leave. Downloads happen only when you choose them. Clearing releases app references; it does not securely erase browser or operating-system memory.

Common uses

  • Creating a strong, unique password when signing up for a new online account
  • Generating a complex temporary password to share with a colleague for a shared system account
  • Producing a random passphrase or token for use as an API key, encryption key, or application secret
  • Replacing a weak or reused password on an existing account during a security review

Frequently asked questions

Is the generated password truly random?

Yes. The tool uses window.crypto.getRandomValues(), which is the browser's interface to the operating system's cryptographically secure random number generator. This is the same source used by security libraries and is suitable for generating passwords. It is not a pseudo-random number generator seeded with predictable values like the current time.

Should I use this instead of my password manager's built-in generator?

Your password manager's generator is the better first choice because it can save the password in the same step. Use this tool when you do not have your manager available, when you need a password in a format your manager cannot produce, or when you are setting up a new manager and need an initial master password.

Why does the password always contain at least one character from each group I select?

Many websites enforce composition requirements — 'must contain at least one number and one symbol'. The generator guarantees inclusion by placing one random character from each selected group into the output before randomly filling the remaining positions. The entire result is then shuffled so the guaranteed characters are not predictably at the start.