---
title: "Strong Password Generator | ToolSugar"
description: "Make a random password with the length and character sets you choose, and see its entropy in bits. Generated on your device only."
canonical: https://toolsugar.com/tools/password-generator
image: https://toolsugar.com/og.png
---

# Password Generator

This password generator builds a random password of the length you choose from the character sets you switch on, then shows an entropy estimate in bits. It uses your browser's secure random generator with rejection sampling to avoid bias. The password is made on your device and is never sent or stored.

Runs on your device

## How it works

1. Set the Length between 4 and 128.
2. Switch on the character sets you want: lowercase, uppercase, digits, symbols.
3. Press Generate for a new password.
4. Press Copy and read the entropy line to judge the strength.

## Key facts

- **Length**: 4 to 128 characters
- **Randomness**: crypto.getRandomValues with rejection sampling, so no modulo bias
- **Entropy**: Length times log2 of the pool size, an upper-bound estimate
- **Where it runs**: In your browser, with no upload or storage

## Common uses

- Create a unique password for a new account.
- Generate a long key for a service that accepts symbols.
- Produce digits-only codes by switching off the other sets.

## Questions

### How are the passwords generated?

Each character is chosen with the browser's secure random generator. Values that would skew the odds are thrown away and redrawn, so every character in the pool is equally likely.

### What do the bits of entropy mean?

Each extra bit doubles the guesses an attacker needs. The number assumes every character was picked at random from the pool, so it is an estimate and not a guarantee for a password you modify by hand.

### Does ToolSugar see or save my password?

No. It is created in your browser tab and exists only on the page until you leave or generate another.

[Read the Password Generator guide](https://toolsugar.com/blog/how-to-make-a-strong-password)

## Related tools

- [UUID Generator](https://toolsugar.com/tools/uuid-generator)
- [Base64 Encoder and Decoder](https://toolsugar.com/tools/base64-encoder)
- [AI Token Counter](https://toolsugar.com/tools/token-counter)
