# htmldocx — card for AI agents

Convert HTML to DOCX format for generating Word documents programmatically.

Category: Files, images and media · PyPI package `htmldocx` · latest version 0.0.6 (checked 2026-11-01)
Install: `pip install htmldocx`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 34.8 (#3568 of all tools, 238 of 274 in its category)
- Used in 1 public projects set up for AI coding agents (0.0%)
- Downloads last week: 171,780 (as of 2026-11-17), -6.6% over 4 weeks
- GitHub stars: 89 (as of 2026-11-17)
- Last push: 2024-07-09

## Often used with
LangChain 100.0%, Markdown 100.0%, Pydantic 100.0%, aiofiles 98.7%, arxiv 98.7%, Beautiful Soup 98.7%

## Checked alternatives (same job)
- python-docx: https://agentgid.com/tools/python-docx/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/htmldocx/
- Homepage: https://github.com/pqzx/html2docx
- Repository: https://github.com/pqzx/html2docx

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
