Password Generator

Generate a strong, random password. Uses your browser's cryptographically secure random number generator — the same kind used for encryption — not a predictable pseudo-random one. Nothing is sent to a server.

Why this uses crypto.getRandomValues

JavaScript's regular Math.random() isn't designed to be unpredictable in a security sense — in some engines its internal state can be inferred from enough output. Password generators should use a cryptographically secure source instead, which is what the Web Crypto API's getRandomValues() provides. That's what powers this tool.

About this tool

This tool generates strong, random passwords using your browser's cryptographically secure random number generator — useful for creating a unique password for a new account, replacing a weak or reused one, or generating something strong for a password manager to store.

How to use it

  1. Adjust the length slider to set how many characters you want.
  2. Check or uncheck uppercase, lowercase, numbers and symbols to control which character types are included.
  3. Click "Regenerate" for a new password, or "Copy" to copy the current one.

Frequently asked questions

Is this password actually random and secure?

Yes — it's generated using the Web Crypto API's getRandomValues(), a cryptographically secure source, rather than JavaScript's ordinary Math.random(), which isn't designed to be unpredictable.

Should I include symbols for a stronger password?

Yes, when the site allows it — including symbols alongside uppercase, lowercase and numbers significantly increases the number of possible combinations, making the password harder to guess or brute-force.

Is my generated password saved or sent anywhere?

No — the password is generated and displayed entirely in your browser; it's never transmitted to or stored on a server.