{
  "slug": "html-validate",
  "name": "gizza-ai/html-validate",
  "version": "0.1.0",
  "title": "HTML Validator — Find Unclosed Tags & Nesting Errors — gizza.ai",
  "description": "Validate an HTML document or snippet and get every syntax error, unclosed tag, and nesting issue with line and column — runs locally in your browser.",
  "tags": [
    "html validator",
    "validate html",
    "html syntax checker",
    "unclosed tag finder",
    "html nesting checker",
    "check html online",
    "html error checker",
    "html lint"
  ],
  "category": "data",
  "urls": {
    "page": "https://gizza.ai/tools/html-validate/",
    "markdown": "https://gizza.ai/tools/html-validate/index.md",
    "descriptor": "https://gizza.ai/tools/html-validate/tool.json",
    "deep_link_example": "https://gizza.ai/tools/html-validate/?html=%3Cdiv%3E%3Cp%3EHello%3Cspan%3Eworld%3C%2Fdiv%3E%3C%2Fp%3E&format=report"
  },
  "cli": "gizza tool html-validate \"<div><p>Hello<span>world</div></p>\"",
  "tool": {
    "description": "Validate an HTML document or snippet and report every syntax error, unclosed tag, and nesting issue, each with a 1-based line and column. Detects unterminated tags and comments, tags with no name, elements opened but never closed, overlapping/misnested tags (e.g. <b><i></b>), and stray closing tags with no matching open. Understands void elements (br, img, hr, …), self-closing tags, quoted attributes, and the raw contents of <script>/<style>/<textarea>/<pre>. Set format='report' (default, human-readable) or 'json' (a machine-readable {valid, errors, warnings, elements, issues} summary). Runs entirely locally — nothing is uploaded.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "format": {
          "default": "report",
          "description": "Output: 'report' (human-readable list of issues with line:column, default) or 'json' (a machine-readable {valid, errors, warnings, elements, issues[]} object).",
          "enum": [
            "report",
            "json"
          ],
          "type": "string"
        },
        "html": {
          "description": "The HTML document or snippet to validate. Paste the full markup; a `<`/`>` inside <script>, <style> or a quoted attribute is handled correctly.",
          "type": "string"
        }
      },
      "required": [
        "html"
      ],
      "type": "object"
    }
  }
}