ToolHub.

Password Generator

Generate strong random passwords with custom length and character sets, using cryptographic randomness — never sent anywhere.

Include

How to use the Password Generator

  1. Pick a length with the slider (12+ recommended, 16+ for important accounts).
  2. Choose which character sets to include: lowercase, uppercase, digits, symbols.
  3. Click Generate for a fresh password — the strength meter rates it instantly.
  4. Click Copy and paste it straight into your password manager.

About this tool

Human-invented passwords are predictable — pet names, birth years, keyboard walks — and attackers know every pattern. A randomly generated password drawn uniformly from a large character set has no pattern to exploit, making brute force the only attack left.

This generator uses the browser’s cryptographically secure random source (crypto.getRandomValues), not the predictable Math.random(). Rejection sampling ensures every character is chosen with exactly equal probability, with at least one character from each selected set.

A 16-character password over all four character sets has roughly 10³¹ possibilities. At a trillion guesses per second, exhausting that space would take longer than the age of the universe — which is why length is the single best security upgrade you can make.

Frequently asked questions

Is it safe to generate passwords on a website?
On this one, yes: generation uses your browser’s crypto.getRandomValues and never touches a network. We could not see your password even if we wanted to.
How long should a password be?
At least 12 characters for everyday accounts and 16+ for email, banking and anything with payment details. Length beats complexity.
Why include symbols and digits?
Each additional character set multiplies the search space per character, and many sites require them. But adding length helps far more than adding sets.
Should I reuse a strong password?
Never. One breached site exposes every account sharing that password. Use a password manager and a unique password everywhere.

Related tools