{
 "kind": "tool",
 "slug": "xmldom-xmldom",
 "path": "tools/xmldom-xmldom/",
 "name": "xmldom",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Scraping, browsers and parsing",
   "tools/scraping-parsing/"
  ]
 ],
 "lead": "W3C-standard XML DOMParser and XMLSerializer in pure JavaScript.",
 "chips": [
  {
   "label": "Scraping, browsers and parsing",
   "path": "tools/scraping-parsing/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install @xmldom/xmldom"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/xmldom/xmldom"
  },
  {
   "label": "Website",
   "href": "https://github.com/xmldom/xmldom"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/xmldom/xmldom"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 21, 2026",
   "note": "Latest GitHub release Aug 21, 2026. ",
   "src": "https://github.com/xmldom/xmldom"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "5 projects",
   "status": "info",
   "sub": "#54 of 141 in its category",
   "note": "Dependency in 5 public GitHub projects set up for AI coding agents that we scanned (0.1%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What xmldom does",
   "parts": [
    {
     "t": "prose",
     "text": "W3C-standard XML DOMParser and XMLSerializer in pure JavaScript."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "xmldom popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "55",
       "of": "/ 100",
       "l": "Gid Score, #1438 overall"
      },
      {
       "n": "94M",
       "l": "downloads a week, npm"
      },
      {
       "n": "475",
       "l": "GitHub stars"
      },
      {
       "n": "5",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How xmldom is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "xmldom is a dependency in 5 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 31 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is fast-xml-parser (52 projects).",
      "Projects that use it most often also use Zod (83.9%), jsdom (61.3%), Lucide React (67.7%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "5 projects, 0.2%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 83.9% of its projects",
       "v": "Zod",
       "path": "tools/zod/"
      },
      {
       "l": "In 61.3% of its projects",
       "v": "jsdom",
       "path": "tools/jsdom/"
      },
      {
       "l": "In 67.7% of its projects",
       "v": "Lucide React",
       "path": "tools/lucide-react/"
      },
      {
       "l": "In 54.8% of its projects",
       "v": "AI SDK",
       "path": "tools/ai/"
      },
      {
       "l": "In 54.8% of its projects",
       "v": "react-markdown",
       "path": "tools/react-markdown/"
      },
      {
       "l": "In 51.6% of its projects",
       "v": "AWS SDK for JavaScript (S3)",
       "path": "tools/aws-sdk-client-s3/"
      },
      {
       "l": "In 51.6% of its projects",
       "v": "Biome",
       "path": "tools/biomejs/"
      },
      {
       "l": "In 51.6% of its projects",
       "v": "React Icons",
       "path": "tools/react-icons/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about xmldom",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Scraping, browsers and parsing",
       "path": "tools/scraping-parsing/",
       "items": [
        {
         "text": "Beautiful Soup",
         "path": "tools/beautifulsoup4/"
        },
        {
         "text": "Puppeteer",
         "path": "tools/puppeteer/"
        },
        {
         "text": "Playwright Core",
         "path": "tools/playwright-core/"
        },
        {
         "text": "lxml",
         "path": "tools/lxml/"
        },
        {
         "text": "Playwright (Python)",
         "path": "tools/playwright/"
        },
        {
         "text": "Cheerio",
         "path": "tools/cheerio/"
        },
        {
         "text": "jsonc-parser",
         "path": "tools/jsonc-parser/"
        },
        {
         "text": "Mozilla Readability",
         "path": "tools/mozilla-readability/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "xmldom",
       "me": true,
       "facts": [
        "MIT",
        "Gid 55",
        "94M/wk"
       ]
      },
      {
       "name": "fast-xml-parser",
       "why": "High-performance XML parser and builder without native dependencies.",
       "path": "tools/fast-xml-parser/",
       "facts": [
        "MIT",
        "Gid 67",
        "119M/wk"
       ]
      },
      {
       "name": "xml2js",
       "why": "XML to JavaScript object parser for handling XML data in applications.",
       "path": "tools/xml2js/",
       "facts": [
        "MIT",
        "Gid 66",
        "65.6M/wk"
       ]
      }
     ],
     "more": "Compare xmldom with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install @xmldom/xmldom"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for xmldom yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm @xmldom/xmldom"
  ],
  [
   "Category",
   "Scraping, browsers and parsing"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "55.1"
  ],
  [
   "Rank in category",
   "#54 of 141"
  ],
  [
   "GitHub",
   "xmldom/xmldom"
  ],
  [
   "Last change",
   "Nov 21, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/xmldom.png"
}