All Tools View Categories Blog About Contact Privacy
CompressPrivate
Compress Anything.
Images · PDF · Video · Audio · Docs
🔒 100% Private ⚡ Free Forever ☁️ No Uploads
Compress Free

Random Password Generator

Generate secure, parser-friendly random passwords with full control over classes and length.

Runs entirely in your browser — nothing is uploaded.

About Random Password Generator

A password for an env secret has to satisfy two masters: the .env parser that cannot handle certain characters, and the password policy you actually trust. The Random Password Generator walks that line with explicit control over character classes, length, and ambiguity.

It draws from crypto.getRandomValues, so the entropy is real rather than simulated. Options let you drop symbols, exclude look-alike characters, or request a batch of values in KEY= form for multiple services at once.

Everything runs in your browser — the generated password never travels anywhere.

Features

  • Four classes: lower, upper, digits, symbols, toggled.
  • Length control: 8 to 128 characters.
  • Avoid ambiguous: removes 0/O/1/l/I confusion.
  • Batch mode: several passwords at once.
  • KEY= output: ready for a .env file.
  • Secure source: crypto.getRandomValues.
  • Copy or download: export the batch.
  • Private: nothing is stored or uploaded.

How to Use

  1. Toggle the character classes you want included.
  2. Set length and how many to generate.
  3. Optionally enable “avoid ambiguous characters”.
  4. Click Generate and copy the values into your .env.

Examples

Example 1 — DB password for a new service. A 32-character password with all four classes is generated for a fresh Postgres role.

Example 2 — Parser-friendly symbols. An SMTP config rejects some symbol characters; the generator runs with digits+letters only to stay compatible.

Example 3 — Printed handover. Avoid-ambiguous mode produces a password safe to read over the phone.

Example 4 — Rotation batch. Five service passwords get rotated at once with the batch output, pasted straight into .env lines.

Example 5 — Demo account. A throwaway password is generated for a shared staging account, kept deliberately weak but unique.

Benefits

  • Real entropy: secure random source.
  • Policy control: classes and length exact.
  • Parser-aware: skip symbols when needed.
  • Human-safe: ambiguous characters optional.
  • Private: never leaves the page.
  • Free: unlimited generations.

Frequently Asked Questions

What makes this password generator secure?
Every character is chosen with crypto.getRandomValues, the browser's secure random source, not Math.random. That is the difference between a predictable and an unpredictable password.
Which character classes can I use?
Lowercase, uppercase, digits, and symbols are individually toggled. At least one class must stay enabled; a typical strong password uses all four.
What is the avoid-ambiguous option?
It removes characters that are easy to mix up — 0/O, 1/l/I, and such — producing passwords that survive being read aloud or typed from paper.
How long should a password be?
For an env secret, 24-48 characters is a comfortable range. The tool defaults to 32, balancing strength and usability.
Is the password stored anywhere?
No. Generation is in-browser; the output exists only on your screen until you copy it.

More Environment Variable tools

View All