Mammoth
Convert Word documents (.docx files) to HTML observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 96
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4658
- days_rel: n/a
- days_push: 24
- n_releases_24m: 0
Adoption not part of the score
1114 stars · 150 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Mammoth is a library and CLI tool that converts .docx Word documents (from Word, Google Docs, LibreOffice) into clean, semantic HTML by mapping document styles to HTML elements rather than copying visual formatting. It is available for JavaScript/Node.js, Python, Java, .NET, and WordPress, with a browser demo included.
Use cases
- convert docx to html
- extract clean html from word documents
- migrate word content to a cms or blog
- convert google docs exports to html
- programmatically parse docx files into semantic markup
- batch convert word documents to html from the command line
When to choose
- you want simple, semantic HTML instead of a pixel-perfect copy of Word styling
- your documents use styles (headings, lists, tables) to convey structure
- you need conversion across multiple platforms (Node, Python, JVM, .NET, browser)
When to avoid
- you need faithful reproduction of complex Word formatting and layout
- you must process untrusted documents without sanitizing the output, since Mammoth performs no sanitisation
- your documents rely heavily on text boxes, complex tables, or exotic styling
Facets
library · maturity active
parser pdf files web-development developer-tools python jvm dotnet browser cli cross-platform docx html-conversion word-documents document-conversion semantic-html nodejs
1 source
- readme: https://github.com/mwilliamson/python-mammoth · fetched 2026-08-28 · 1a4fcce486f2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mwilliamson/python-mammoth | main | 75 |
| mwilliamson/mammoth.js | sdk | 66 |
For agents
markdown · JSON · MCP: product_card(name="mwilliamson/python-mammoth")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem