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
| Field | Type | Required | Description |
|---|---|---|---|
length | integer | required | Password length (8–128 characters). |
lowercase | boolean | required | Include lowercase letters (a–z). |
uppercase | boolean | required | Include uppercase letters (A–Z). |
digits | boolean | required | Include digits (0–9). |
symbols | boolean | required | Include symbols (!@#$%^&*…). |
excludeAmbiguous | boolean | required | Exclude ambiguous characters (I, l, 1, O, 0). |
count | integer | required | How many passwords to generate (1–20). |
Response
| Field | Type | Required | Description |
|---|---|---|---|
passwords | string[] | required | The generated passwords. |
entropyBits | number | required | Entropy 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.