Random Choice

Random Password Generator

Random Password Generator

Set a length and pick which character types to include, and this random password generator creates a strong, unpredictable password instantly using the browser's cryptographic randomness.

Character types

Password

Press generate to create a password.

Purpose

Quickly create a secure, unpredictable password for a new account or service.

How to use

  1. Set the password length with the slider.
  2. Choose which character types to include (lowercase, uppercase, numbers, symbols).
  3. Press generate password.
  4. Copy the result to use it.

It uses cryptographic randomness

With an ordinary pseudo-random generator, enough observed output lets someone reconstruct the internal state and predict what comes next. That is unacceptable for a value that must not be predictable.

This generator uses the browser's cryptographically secure source. It seeds from physical noise collected by the operating system, and the next value cannot be computed from previous ones.

Length matters more than character variety

Password strength comes from the number of possible combinations, which grows as the size of the character pool raised to the power of the length. Adding length therefore helps far more than adding another character type.

Twenty characters of just lowercase and digits beats twelve characters using every symbol. Since plenty of services still reject symbols, favouring length is the more practical strategy too.

What the strength reading measures

The strength shown is based on entropy calculated from the selected character types and the length. Entropy expresses the amount of randomness in bits: under 40 is weak, under 60 is fair, and under 80 is strong.

That figure does not account for human-introduced patterns. A randomly generated password has none, so the calculated value matches the real strength.

Every selected type appears at least once

If a selected character type never appears in the output, the password may be rejected by a service that requires symbols. This generator reserves one character from each selected type, fills the rest, and then reshuffles everything.

The reshuffle matters. Leaving the reserved characters at the front would make their positions predictable, so a Fisher-Yates shuffle removes that structure.

Generated passwords are never stored

Generation and copying both happen entirely inside your browser. Nothing is sent to a server or saved, so you can generate a password you actually intend to use.

Be aware that anything on the clipboard can be read by other programs. Paste it straight into a password manager, and avoid using shared computers for this.

Examples

  • Strong password for a new account
  • Wi-Fi password
  • Temporary password
  • Numbers-only or letters-only password

Notes

  • The generated password only exists on your screen and clipboard; it is never sent to a server.
  • Do not reuse the same password across multiple accounts.
  • Some older systems do not accept symbols, so adjust the character types if needed.

FAQ

Is the generated password secure?

Yes. It is generated using the browser's cryptographic randomness (crypto.getRandomValues), which is very hard to predict. Longer length and more character types make it stronger.

Is the password stored on a server?

No. Generation and copying both happen entirely in your browser.

Related tools

Related guides