Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

xmltodict

Parse XML to Python dictionaries and vice versa with JSON-like syntax.

Scraping, browsers and parsingPYPI

GitHubWebsite

1. License

License from PyPI license expression.

github.com/martinblech/xmltodict

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What xmltodict does

Parse XML to Python dictionaries and vice versa with JSON-like syntax.

xmltodict popularity

63 / 100
Gid Score, #826 overall
28M
downloads a week, pypi
5,759
GitHub stars
5
agent projects use it
xmltodict: downloads per weekPyPI, xmltodict 27,921,044
xmltodict: GitHub starsmartinblech/xmltodict 5,759

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How xmltodict is used

  • 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%).

Often used with

In 86.9% of its projects
In 78.7% of its projects
In 73.8% of its projects
In 70.5% of its projects
In 70.5% of its projects
In 68.9% of its projects
In 67.2% of its projects
In 67.2% of its projects

More about xmltodict

Funding
  • GitHub Sponsors: https://github.com/martinblech
  • 1 GitHub sponsors

See all

More in Scraping, browsers and parsing

Alternatives

xmltodict This page

MITGid 6328M/wk

Beautiful Soup

Python HTML/XML parsing and screen-scraping library for web data extraction.

MITGid 7876.1M/wk

html5lib

HTML parser based on WHATWG specification for parsing and processing HTML.

MITGid 566.9M/wk

Compare xmltodict with another tool

Get started

Install it.

pip install xmltodict

No step-by-step start for xmltodict yet: we have not written its hand-checked card.