Developer Tools

Password Generator

Quick answer

A strong password is long, random and unique to each account. Aim for at least 14 characters mixing letters, numbers and symbols, or longer if the site allows. This generator creates random passwords in your browser using your device's secure random number generator, and nothing is sent or saved.

Found this useful? WhatsApp X LinkedIn

How it works

Choose a length and which character types to include. The tool draws each character with the browser's cryptographically secure random generator (without bias) and shows an estimate of the password's strength in bits of entropy.

Entropy (bits) = length × log₂(number of possible characters)

Examples

Example16 characters, letters, numbers and symbolsAbout 100 bits of entropy, far beyond what can be guessed by brute force.
Example8 characters, lowercase onlyAbout 38 bits, which can be cracked quickly. Avoid it.

Want the full walkthrough? Read the step-by-step guide.

About the password generator

Weak and reused passwords are one of the most common causes of hacked accounts. This generator creates random passwords using your browser's cryptographically secure random number generator, picks characters without bias, guarantees at least one of each chosen type, and estimates strength in bits of entropy. Nothing is sent, logged or stored.

When to use it

  • Creating a new password for an account.
  • Generating a unique password for each site and saving it in a password manager.
  • Making a temporary password for a shared account.
  • Replacing an old or reused password after a breach.

Tips for accurate results

  • Length beats complexity. Aim for 14 characters or more, and longer for important accounts.
  • Use a password manager so you never have to remember or reuse passwords.
  • Turn on two-factor authentication wherever it is offered.
  • Avoid look-alike characters if you will type the password by hand.

Common mistakes to avoid

  • Reusing one strong password everywhere.
  • Adding a predictable number or symbol to a dictionary word.
  • Storing passwords in plain notes or unprotected spreadsheets.

Frequently asked questions

Is this password generator safe?

Passwords are generated entirely in your browser with crypto.getRandomValues and are never transmitted or stored. Still, store the result in a password manager.

How long should a password be?

At least 14 characters for ordinary accounts and 20 or more for important ones such as email and banking. Length matters more than complexity.

Should I reuse passwords?

No. Use a unique password per account and a password manager, and turn on two-factor authentication where possible.

Written by Jasveer Raj, software engineer · Last updated 3 Nov 2026

Esc