mwilliamson/mammoth.js

Convert Word documents (.docx files) to HTML

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 25 minutes ago
Added to GitGenius on September 10th, 2026
Created on March 29th, 2013
Open Issues & Pull Requests: 64 (+0)
GitHub issues: Enabled
Number of forks: 668
Total Stargazers: 6,298 (+0)
Total Subscribers: 75 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 8.8 hours
Mean response time: 16.8 days
90th percentile: 20.4 days
Tracked items: 67

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 15% of issues opened in the past year have been closed. Three people close 78% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 25
New in 7 days: 1
Closed in 7 days: 3
Avg open age: 1,219 days
Stale 30+ days: 25
Stale 90+ days: 22

Recent activity

Opened in 7 days: 1
Closed in 7 days: 3
Comments in 7 days: 2
Events in 7 days: 4

Top labels

  • enhancement (14)
  • Need more info (1)

Detailed Description

Mammoth.js is a document converter that transforms Word documents in .docx format into HTML.

The tool addresses the need to extract content from Word files and present it in web-compatible format. It works by parsing the .docx file structure, which is fundamentally a zipped XML archive, and translating the document's elements into corresponding HTML markup. This approach allows developers to programmatically convert Word documents without requiring Word itself to be installed, making it suitable for server-side processing and automation workflows.

Mammoth.js is well-suited for projects that need to ingest Word documents as input and produce web content, such as content management systems, document publishing pipelines, or applications that accept user-uploaded Word files. It handles the core conversion task with a focus on extracting the semantic content of documents rather than attempting to preserve every visual detail. This makes it practical for workflows where the document's structure and text matter more than pixel-perfect formatting replication.

The project shows consistent maintenance with regular updates addressing issues and improving compatibility. Development activity demonstrates responsiveness to user-reported problems and a commitment to keeping the tool functional across changing JavaScript environments. The codebase receives ongoing refinement to handle edge cases in Word document structure and to ensure reliable conversion across diverse .docx files.