Skip to main content
TOP free online tools Your Workbench
English

Password Generator

Generate strong, random passwords with customizable length and character sets. Uses crypto.getRandomValues.

Local browser processing — zero server uploads

How to Use

  1. Paste or type your options into the Password Generator input area above.
  2. Configure any format or mode options to generate the random password in real time.
  3. Click Copy to copy the formatted result to your clipboard, or Reset to clear the workbench.

What is Password Generator?

A password generator produces random, high-entropy strings suitable for use as account passwords. Users control the length and which character classes are included (lowercase, uppercase, digits, symbols). Strong passwords resist brute-force and dictionary attacks — entropy, measured in bits, grows with length and alphabet size. A 16-character password drawn from a 94-character set has roughly 105 bits of entropy, far exceeding the threshold for infeasible offline cracking.

How It Works

The generator uses the Web Crypto API's crypto.getRandomValues, which provides cryptographically secure randomness sourced from the operating system's CSPRNG. For each character position, a uniform random index into the selected alphabet is generated via rejection sampling to avoid modulo bias. The result is shuffled to prevent positional patterns. The output never leaves the browser and is not stored.

Common Use Cases

  • Creating new account passwords — generate a strong unique password for each service
  • Rotating compromised credentials — replace a leaked password with a fresh high-entropy one
  • Generating API keys or secrets — produce random tokens for service-to-service auth
  • Setting up database or admin passwords — use a long random string instead of a passphrase
Technical Details

Randomness: crypto.getRandomValues (CSPRNG, not Math.random). Selection uses rejection sampling to eliminate modulo bias. Default length: 16; alphabet combines a-z, A-Z, 0-9, and symbols (!@#$%^&*...) by default. Entropy = length × log2(alphabetSize). The output is not logged or transmitted. Avoid reusing generated passwords across accounts.

FAQ

Is this password generator secure?

Yes, it uses crypto.getRandomValues for cryptographically secure randomness.

Is any password uploaded or stored?

No. Passwords are generated entirely in your browser using the Web Crypto API. The output is never transmitted, logged, or stored. Close the tab and the password is gone — copy it to your password manager before navigating away.

What character types can I include?

You can include or exclude lowercase letters (a-z), uppercase letters (A-Z), digits (0-9), and symbols (!@#$%^&*...). For maximum entropy, enable all four types. Avoid symbols only if the target system does not accept them.