{
 "kind": "tool",
 "slug": "xmltodict",
 "path": "tools/xmltodict/",
 "name": "xmltodict",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Scraping, browsers and parsing",
   "tools/scraping-parsing/"
  ]
 ],
 "lead": "Parse XML to Python dictionaries and vice versa with JSON-like syntax.",
 "chips": [
  {
   "label": "Scraping, browsers and parsing",
   "path": "tools/scraping-parsing/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install xmltodict"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/martinblech/xmltodict"
  },
  {
   "label": "Website",
   "href": "https://github.com/martinblech/xmltodict"
  }
 ],
 "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 PyPI license expression.",
   "src": "https://github.com/martinblech/xmltodict"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Aug 19, 2026",
   "note": "Latest GitHub release Feb 22, 2026. ",
   "src": "https://github.com/martinblech/xmltodict"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "5 projects",
   "status": "info",
   "sub": "#53 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 xmltodict does",
   "parts": [
    {
     "t": "prose",
     "text": "Parse XML to Python dictionaries and vice versa with JSON-like syntax."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "xmltodict popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "63",
       "of": "/ 100",
       "l": "Gid Score, #826 overall"
      },
      {
       "n": "28M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "5,759",
       "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 xmltodict is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "xmltodict 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 61 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is Beautiful Soup (133 projects).",
      "Projects that use it most often also use Requests (86.9%), NumPy (78.7%), tqdm (73.8%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 86.9% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 78.7% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 73.8% of its projects",
       "v": "tqdm",
       "path": "tools/tqdm/"
      },
      {
       "l": "In 70.5% of its projects",
       "v": "pandas",
       "path": "tools/pandas/"
      },
      {
       "l": "In 70.5% of its projects",
       "v": "Pillow",
       "path": "tools/pillow/"
      },
      {
       "l": "In 68.9% of its projects",
       "v": "PyYAML",
       "path": "tools/pyyaml/"
      },
      {
       "l": "In 67.2% of its projects",
       "v": "attrs",
       "path": "tools/attrs/"
      },
      {
       "l": "In 67.2% of its projects",
       "v": "Click",
       "path": "tools/click-py/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about xmltodict",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/martinblech",
        "1 GitHub sponsors"
       ]
      },
      {
       "title": "More in Scraping, browsers and parsing",
       "path": "tools/scraping-parsing/",
       "items": [
        {
         "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": "fast-xml-parser",
         "path": "tools/fast-xml-parser/"
        },
        {
         "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": "xmltodict",
       "me": true,
       "facts": [
        "MIT",
        "Gid 63",
        "28M/wk"
       ]
      },
      {
       "name": "Beautiful Soup",
       "why": "Python HTML/XML parsing and screen-scraping library for web data extraction.",
       "path": "tools/beautifulsoup4/",
       "facts": [
        "MIT",
        "Gid 78",
        "76.1M/wk"
       ]
      },
      {
       "name": "html5lib",
       "why": "HTML parser based on WHATWG specification for parsing and processing HTML.",
       "path": "tools/html5lib/",
       "facts": [
        "MIT",
        "Gid 56",
        "6.9M/wk"
       ]
      }
     ],
     "more": "Compare xmltodict with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install xmltodict"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for xmltodict yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi xmltodict"
  ],
  [
   "Category",
   "Scraping, browsers and parsing"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "62.6"
  ],
  [
   "Rank in category",
   "#53 of 141"
  ],
  [
   "GitHub",
   "martinblech/xmltodict"
  ],
  [
   "Last change",
   "Aug 19, 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/martinblech.png"
}