{
    "slug": "password-passphrase-and-pin-generator",
    "name": "Password, Passphrase and PIN Generator",
    "url": "https://directory.milunir.com/developer-tools/passwords-and-hashes/password-passphrase-and-pin-generator/",
    "description": "Make random passwords, word passphrases, pronounceable strings or numeric PINs, in batches of up to 50, each with its entropy in bits.",
    "inputs": {
        "type": "object",
        "properties": {
            "mode": {
                "type": "string",
                "enum": [
                    "password",
                    "passphrase",
                    "pronounceable",
                    "pin"
                ],
                "description": "Mode",
                "default": "password"
            },
            "length": {
                "type": "number",
                "minimum": 6,
                "maximum": 64,
                "description": "Length",
                "default": 16
            },
            "upper": {
                "type": "boolean",
                "description": "Uppercase (A–Z)",
                "default": true
            },
            "digits": {
                "type": "boolean",
                "description": "Digits (0–9)",
                "default": true
            },
            "symbols": {
                "type": "boolean",
                "description": "Symbols (!@#…)",
                "default": true
            },
            "no_ambiguous": {
                "type": "boolean",
                "description": "Skip look-alikes (I l 1 O 0 o)",
                "default": false
            },
            "words": {
                "type": "integer",
                "minimum": 3,
                "maximum": 12,
                "description": "Words",
                "default": 7
            },
            "separator": {
                "type": "string",
                "enum": [
                    "hyphen",
                    "space",
                    "dot",
                    "none"
                ],
                "description": "Between words",
                "default": "hyphen"
            },
            "capitalize": {
                "type": "boolean",
                "description": "Capitalize each word",
                "default": false
            },
            "say_length": {
                "type": "number",
                "minimum": 6,
                "maximum": 40,
                "description": "Letters",
                "default": 12
            },
            "pin_length": {
                "type": "integer",
                "minimum": 3,
                "maximum": 12,
                "description": "Digits",
                "default": 4
            },
            "count": {
                "type": "integer",
                "minimum": 1,
                "maximum": 50,
                "description": "How many. Make a batch, for example to hand out to a team.",
                "default": 5
            }
        },
        "additionalProperties": false
    },
    "outputs": [
        {
            "key": "primary",
            "label": "Your new secret"
        },
        {
            "key": "entropy",
            "label": "Entropy (bits)"
        },
        {
            "key": "strength",
            "label": "Strength"
        }
    ],
    "modes": [
        {
            "id": "password",
            "label": "Password",
            "inputs": [
                "length",
                "upper",
                "digits",
                "symbols",
                "no_ambiguous",
                "count"
            ]
        },
        {
            "id": "passphrase",
            "label": "Passphrase",
            "inputs": [
                "words",
                "separator",
                "capitalize",
                "count"
            ]
        },
        {
            "id": "pronounceable",
            "label": "Pronounceable",
            "inputs": [
                "say_length",
                "count"
            ]
        },
        {
            "id": "pin",
            "label": "PIN",
            "inputs": [
                "pin_length",
                "count"
            ]
        }
    ],
    "feed": null,
    "endpoint": "https://api.tools-directory.workers.dev/v1/tools/password-passphrase-and-pin-generator",
    "mcp_tool": "password_passphrase_and_pin_generator",
    "example": {
        "inputs": {
            "mode": "password",
            "length": 20,
            "upper": true,
            "digits": true,
            "symbols": true,
            "count": 5
        },
        "output": "Your new secret: KNlfnIH$Av0Q5.Q/9q/y\nEntropy (bits): 128.5\nStrength: Very strong"
    }
}