Strong Password Generator API

Generate cryptographically secure passwords up to 128 characters. Custom character sets, ambiguous-character filter, strength meter. 100% client-side.

The Strong Password Generator is also available as a free REST API. Send a POST request with a JSON body to https://dot.tools/api/tools/pwd-gen — no authentication, no API key, CORS enabled. Successful calls return { "ok": true, "result": { … } }; failures return HTTP 400 or 422 with an error body.

Request body

FieldTypeRequiredDescription
lengthintegerrequiredPassword length (8–128 characters).
lowercasebooleanrequiredInclude lowercase letters (a–z).
uppercasebooleanrequiredInclude uppercase letters (A–Z).
digitsbooleanrequiredInclude digits (0–9).
symbolsbooleanrequiredInclude symbols (!@#$%^&*…).
excludeAmbiguousbooleanrequiredExclude ambiguous characters (I, l, 1, O, 0).
countintegerrequiredHow many passwords to generate (1–20).

Response

FieldTypeRequiredDescription
passwordsstring[]requiredThe generated passwords.
entropyBitsnumberrequiredEntropy in bits of each generated password given the chosen settings.

Example request

curl -X POST https://dot.tools/api/tools/pwd-gen \
  -H 'Content-Type: application/json' \
  -d '{
  "length": 20,
  "lowercase": true,
  "uppercase": true,
  "digits": true,
  "symbols": true,
  "excludeAmbiguous": false,
  "count": 6
}'

Sample response

{
  "ok": true,
  "result": {
    "passwords": [
      "?p[(W6@+TiRAo?86S<V4",
      "1fCKufJu)yu4-fa^adY1",
      "9H&@NnkTO4PSw=piUQ&O",
      "ew^2!iql{T&*FQ]=Hm0<",
      "+}>RXWNG49^*P#WfgTo6",
      "f%!U7vYt5pWO!N>I-&pK"
    ],
    "entropyBits": 127.5
  }
}

Use the free Strong Password Generator in your browser, read the Strong Password Generator guide, or import the full OpenAPI specification.