Skip to content
Agents tracked: 492 Releases (7d): 545 Agent status: 1 with issuesSince last limit reset: Claude 9d · Codex 7d For AI agents: Markdown Updated Nov 20, 2026

lxml-html-clean

HTML cleaner for sanitizing and cleaning HTML content.

Scraping, browsers and parsingPYPI

GitHubWebsite

1. License

License from PyPI license field.

github.com/fedora-python/lxml_html_clean

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

What lxml-html-clean does

HTML cleaner for sanitizing and cleaning HTML content.

lxml-html-clean popularity

50 / 100
Gid Score, #1892 overall
5.7M
downloads a week, pypi
14
GitHub stars
2
agent projects use it
lxml-html-clean: downloads per weekPyPI, lxml-html-clean 5,614,428
lxml-html-clean: GitHub starsfedora-python/lxml_html_clean 14

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

How lxml-html-clean is used

  • lxml-html-clean is a dependency in 2 of the 6,254 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,063, Ethereum and EVM 1,777, 3D and games 3,120, agent frameworks and SDKs 13,629); counting those, it appears in 95 projects, and what it is used with below comes from all of them.
  • The most used alternative in our scan is Bleach (14 projects).
  • Projects that use it most often also use OpenAI Python Library (90.5%), python-dotenv (89.5%), Pydantic (85.3%).

Often used with

In 90.5% of its projects
In 89.5% of its projects
In 85.3% of its projects
In 81.1% of its projects
In 80.0% of its projects
In 77.9% of its projects
In 76.8% of its projects
In 76.8% of its projects

More about lxml-html-clean

More in Scraping, browsers and parsing

Alternatives

lxml-html-clean This page

BSD-3-ClauseGid 505.7M/wk

Bleach

Sanitizes HTML and prevents XSS attacks with a safelist-based approach.

Apache Software LicenseGid 6316.9M/wk

Compare lxml-html-clean with another tool

Get started

Install it.

pip install lxml-html-clean

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