# Password generator

> Cryptographic passwords and passphrases, with an entropy strength meter.

Free strong password generator. Build a password with crypto.getRandomValues, choose the length and character sets, skip ambiguous characters, or make a passphrase. The strength meter shows the entropy in bits.

- Page: https://benchline.fabwaseem.com/t/password-generator
- Runs: in the browser. Input stays on the device.
- Price: free, no account
- Input: Length, character sets, an ambiguous-character switch, or passphrase word count and separator.
- Output: Passwords or passphrases, plus entropy bits and a strength label.
- Keywords: password generator, strong password generator, passphrase generator
- Updated: 2026-10-18
- Built by: Waseem Anjum (https://fabwaseem.com)

## How to use it

1. **Set the length and the character sets.** Turn lowercase, uppercase, digits, and symbols on or off. Ambiguous characters such as 0, O, 1, and l can be left out.
2. **Read the entropy.** The meter is the length times the log of the alphabet size. Add length or another set when you want more bits.
3. **Or switch to a passphrase.** Pick how many words, a separator, and whether to add a digit. Copy one or a short list.

## Use it from an AI agent

MCP tool name: `generate_password`
MCP endpoint: https://benchline.fabwaseem.com/mcp (Streamable HTTP, no key)
HTTP: POST https://benchline.fabwaseem.com/api/v1/tools/password-generator with the input as the JSON body
This call does not fetch anything. It runs on the arguments you send.

Generate cryptographic passwords or EFF-wordlist passphrases and report the entropy in bits. Randomness comes from the platform CSPRNG.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "style": {
      "default": "password",
      "type": "string",
      "enum": [
        "password",
        "passphrase"
      ]
    },
    "length": {
      "default": 20,
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "lowercase": {
      "default": true,
      "type": "boolean"
    },
    "uppercase": {
      "default": true,
      "type": "boolean"
    },
    "digits": {
      "default": true,
      "type": "boolean"
    },
    "symbols": {
      "default": false,
      "type": "boolean"
    },
    "excludeAmbiguous": {
      "default": true,
      "type": "boolean"
    },
    "words": {
      "default": 6,
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "separator": {
      "default": "-",
      "type": "string"
    },
    "capitalize": {
      "default": false,
      "type": "boolean"
    },
    "digit": {
      "default": false,
      "type": "boolean"
    },
    "count": {
      "default": 1,
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "style",
    "length",
    "lowercase",
    "uppercase",
    "digits",
    "symbols",
    "excludeAmbiguous",
    "words",
    "separator",
    "capitalize",
    "digit",
    "count"
  ],
  "additionalProperties": false
}
```

### Example tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "generate_password",
    "arguments": {
      "style": "password",
      "length": 20,
      "lowercase": true,
      "uppercase": true,
      "digits": true,
      "symbols": false,
      "excludeAmbiguous": true,
      "words": 6,
      "separator": "-",
      "capitalize": false,
      "digit": false,
      "count": 1
    }
  }
}
```

Setup for Claude, Cursor, and VS Code: https://benchline.fabwaseem.com/mcp/guide

## Questions

### Where does the randomness come from?

crypto.getRandomValues. Indexes are rejection-sampled so each character is equally likely. Math.random is not used.

### What does the strength meter measure?

Entropy from the length and the size of the alphabet, in bits. It is not a guess about a password you already use. 80 bits fills the meter. 64 bits or more is labeled Strong.

### What is the passphrase word list?

The EFF short wordlist, 1,296 words, which the Electronic Frontier Foundation dedicated to the public domain. Six words is about 62 bits before any extra digit.

### Is the password sent anywhere?

No. It is generated in the browser and stays on this page until you copy it or leave.

## Related tools

- [Hash generator](https://benchline.fabwaseem.com/t/hash-generator): MD5, SHA-1, SHA-256, and SHA-512 checksums for text or a file, with HMAC.
- [UUID generator](https://benchline.fabwaseem.com/t/uuid-generator): Generate UUID v4 or v7 in bulk, and read the time stored in a v7 id.
- [JWT decoder](https://benchline.fabwaseem.com/t/jwt-decoder): Paste a JSON Web Token, read the claims, and verify the signature in the browser.
- [URL encoder and parser](https://benchline.fabwaseem.com/t/url-codec): Encode or decode a URL, then break the query string into parameters.
