Utility Tools

Password Generator — Custom Length with Weak/Medium/Strong Label

Generate random passwords free from 4–128 characters with uppercase, lowercase, numbers & symbols. Math.random, length-only strength label — create one now.

TL;DR: Slide password length from 4 to 128, toggle four character-set checkboxes (uppercase, lowercase, numbers, symbols), click Generate Password, and copy the result — strength shows Weak, Medium, or Strong based on length only, using Math.random not crypto.

Reviewed by FYN Tools Editorial · Guides ·

Privacy & processing: 100% client-side browser processing — passwords are built character by character with Math.random. The Weak/Medium/Strong label reflects length only, not entropy analysis, and this is a generator not a strength checker for existing passwords.

Password Generator

Generate random passwords free from 4–128 characters with uppercase, lowercase, numbers & symbols. Math.random, length-only strength label — create one now.

Inputs
Length slider (4–128) and four checkboxes: uppercase, lowercase, numbers, symbols
Outputs
A single random password string with a length-based Weak/Medium/Strong label
Processing
Client-side (browser Math.random)
Limits
At least one character type must be selected; uses Math.random (not crypto.getRandomValues); strength label is length-only (<6 Weak, <10 Medium, else Strong)

Quick steps

  1. Drag the Password Length slider between 4 and 128.
  2. Check or uncheck Uppercase, Lowercase, Numbers, and Symbols.
  3. Click Generate Password.
  4. Read the Weak, Medium, or Strong label (based on length only).
  5. Click Copy on the generated password.
  6. Click Generate again for a new password with the same settings.
  • Length range 4–128
  • Uppercase, lowercase, numbers, symbols checkboxes
  • Math.random character selection
  • Length-based Weak/Medium/Strong label
  • Copy button on result

Data input / output

Supported inputs, outputs, formats, limits, and where processing runs for Password Generator
InputsLength slider (4–128) and four checkboxes: uppercase, lowercase, numbers, symbols
OutputsA single random password string with a length-based Weak/Medium/Strong label
FormatsPlain text password (copyable)
LimitsAt least one character type must be selected; uses Math.random (not crypto.getRandomValues); strength label is length-only (<6 Weak, <10 Medium, else Strong)
ProcessingClient-side (browser Math.random)

How to Use the Password Generator

  1. Drag the Password Length slider between 4 and 128.
  2. Check or uncheck Uppercase, Lowercase, Numbers, and Symbols.
  3. Click Generate Password.
  4. Read the Weak, Medium, or Strong label (based on length only).
  5. Click Copy on the generated password.
  6. Click Generate again for a new password with the same settings.

What is a Password Generator?

Adjust the length slider from 4 to 128 characters and choose which character sets to include: uppercase A–Z, lowercase a–z, numbers 0–9, and symbols like !@#$%. Each click of Generate Password picks random characters from the combined pool using Math.random.

A shield icon shows Weak (under 6 characters), Medium (6–9), or Strong (10+) — that label depends only on length, not on how many character types you enabled. This tool creates new passwords; it does not score or audit passwords you already have.

The generator concatenates enabled character pools, then loops length times picking Math.floor(Math.random() * pool.length) for each position. If no checkbox is selected, a toast blocks generation. The result appears with a copy button and the length-based strength text.

How it works

Password Generator reads your input from the panel above, applies length range 4–128, and shows a result you can copy or download. Options stay visible so you can iterate without reloading the page.

Hash passwords with our Hash Generator.

Common Use Cases & Examples

  • Test account signup: Generate a 16-character password with all four character types for a staging environment login.
  • API key placeholder: Create a 32+ character random string for local development credentials.
  • Teaching password length: Show how moving the slider past 10 characters changes the label from Medium to Strong.

Input / Output Examples

Input

12 chars, symbols

Output

X7#mK9@qL2p!

Frequently Asked Questions

How secure are the generated passwords?+

Our password generator uses cryptographically secure random number generation to create passwords. The passwords are generated locally in your browser and are not stored anywhere.

What makes a strong password?+

A strong password should be at least 12 characters long, contain a mix of uppercase and lowercase letters, numbers, and special characters, and avoid common words or patterns.

Should I use different passwords for different accounts?+

Yes, absolutely! Using unique passwords for each account ensures that if one password is compromised, your other accounts remain secure.

How often should I change my passwords?+

It's recommended to change passwords every 3-6 months, or immediately if you suspect a security breach. Use a password manager to keep track of multiple passwords.

Key Features

  • Length range 4–128
  • Uppercase, lowercase, numbers, symbols checkboxes
  • Math.random character selection
  • Length-based Weak/Medium/Strong label
  • Copy button on result

Benefits

Create passwords without memorizing random characters yourself.

Tune length and character types for site-specific rules.

No server sees the generated password.

When to Use Password Generator

  • Creating a disposable password for a test account
  • Generating a long random string when length matters more than audit scoring
  • Quickly producing a password with specific character types enabled
  • Demonstrating how length affects the simple Weak/Medium/Strong label

Advantages

  • Length slider from 4 to 128
  • Four independent character-set toggles
  • One-click copy of the generated password
  • Instant client-side generation

Tips

  • Enable all four character types for a wider symbol pool on each generation.
  • Use 12+ characters for the Strong label — remember it is length-only, not a real audit.
  • Do not reuse Math.random passwords for high-value production accounts without a crypto-grade generator.
  • Copy immediately — the password is not stored between page refreshes.

Common Mistakes

Expecting the strength label to analyze character diversity — only password length matters.

Unchecking every character type and wondering why generation fails.

Using this as a password strength checker for an existing password — it only generates new ones.

Assuming Math.random output is cryptographically secure.

Summary

Set length and character types, generate a Math.random password, and copy it — the Weak/Medium/Strong badge reflects length only, not a full strength audit.

About this page

Password Generator is maintained by FYN Tools Editorial. See our about and contact pages for ownership, editorial standards, and support.

· Published

Prefer browser-side tools when handling sensitive drafts. Do not paste production secrets, customer PII, or live API keys into online forms.