{
  "slug": "luhn-checkdigit",
  "name": "gizza-ai/luhn-checkdigit",
  "version": "0.1.0",
  "title": "Luhn Check Digit Calculator — Generate the Check Digit — gizza.ai",
  "description": "Compute the Luhn (mod-10) check digit for a partial number and get the completed, valid number — instantly, in your browser. Nothing is uploaded, free.",
  "tags": [
    "luhn check digit",
    "check digit calculator",
    "mod 10",
    "checksum generator",
    "credit card check digit",
    "imei check digit"
  ],
  "category": "security",
  "urls": {
    "page": "https://gizza.ai/tools/luhn-checkdigit/",
    "markdown": "https://gizza.ai/tools/luhn-checkdigit/index.md",
    "descriptor": "https://gizza.ai/tools/luhn-checkdigit/tool.json",
    "deep_link_example": "https://gizza.ai/tools/luhn-checkdigit/?number=424242424242424"
  },
  "cli": "gizza tool luhn-checkdigit \"424242424242424\"",
  "tool": {
    "description": "Compute the Luhn (mod-10) check digit for a partial number — the payload WITHOUT its check digit — and return the completed, valid number. Every input digit is treated as payload (unlike validation, which treats the last digit as the check digit). Used to generate valid credit/debit card, IMEI, and ID numbers. Spaces and dashes are ignored. Returns the single check digit (0-9), the cleaned payload, and the full number.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "number": {
          "description": "The partial number WITHOUT its check digit (the payload). Spaces and dashes are ignored.",
          "type": "string"
        }
      },
      "required": [
        "number"
      ],
      "type": "object"
    }
  }
}