{
 "kind": "tool",
 "slug": "mammoth-npm",
 "path": "tools/mammoth-npm/",
 "name": "mammoth",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Files, images and media",
   "tools/files-media/"
  ]
 ],
 "lead": "Convert Word documents (.docx) to clean HTML and Markdown for content processing.",
 "chips": [
  {
   "label": "Files, images and media",
   "path": "tools/files-media/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install mammoth"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/mwilliamson/mammoth.js"
  },
  {
   "label": "Website",
   "href": "https://github.com/mwilliamson/mammoth.js#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "BSD-2-Clause",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/mwilliamson/mammoth.js"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Oct 16, 2026",
   "note": "Latest GitHub release Nov 13, 2016. ",
   "src": "https://github.com/mwilliamson/mammoth.js"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "51 projects",
   "status": "info",
   "sub": "#18 of 274 in its category",
   "note": "Dependency in 51 public GitHub projects set up for AI coding agents that we scanned (0.8%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What mammoth does",
   "parts": [
    {
     "t": "prose",
     "text": "Convert Word documents (.docx) to clean HTML and Markdown for content processing."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "mammoth popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "68",
       "of": "/ 100",
       "l": "Gid Score, #421 overall"
      },
      {
       "n": "16.2M",
       "l": "downloads a week, npm"
      },
      {
       "n": "6,345",
       "l": "GitHub stars"
      },
      {
       "n": "51",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How mammoth is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "mammoth is a dependency in 51 of the 6,253 public GitHub projects set up for AI coding agents that we scanned (1.0% of the 4,864 JavaScript/TypeScript ones), #18 of 274 in files, images and media.",
      "Counting the projects our scan samples by dependency (Solana 3,061, Ethereum and EVM 1,772, 3D and games 3,120, agent frameworks and SDKs 13,593), it appears in 244; those are left out of every share on this page.",
      "Projects that use it most often also use pdf-parse (64.7%), Lucide React (64.7%), React (82.4%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "35 projects, 1.1%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "22 projects, 0.9%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "18 projects, 0.6%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "6 projects, 1.3%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      },
      {
       "l": "5 projects, 1.5%",
       "v": "OpenCode",
       "path": "agents/opencode/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 64.7% of its projects",
       "v": "pdf-parse",
       "path": "tools/pdf-parse/"
      },
      {
       "l": "In 64.7% of its projects",
       "v": "Lucide React",
       "path": "tools/lucide-react/"
      },
      {
       "l": "In 82.4% of its projects",
       "v": "React",
       "path": "tools/react/"
      },
      {
       "l": "In 58.8% of its projects",
       "v": "Next.js",
       "path": "tools/next/"
      },
      {
       "l": "In 80.4% of its projects",
       "v": "ESLint",
       "path": "tools/eslint/"
      },
      {
       "l": "In 41.2% of its projects",
       "v": "OpenAI",
       "path": "tools/openai-npm/"
      },
      {
       "l": "In 72.5% of its projects",
       "v": "Tailwind CSS",
       "path": "tools/tailwindcss/"
      },
      {
       "l": "In 54.9% of its projects",
       "v": "Tailwind Merge",
       "path": "tools/tailwind-merge/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about mammoth",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Files, images and media",
       "path": "tools/files-media/",
       "items": [
        {
         "text": "Sharp",
         "path": "tools/sharp/"
        },
        {
         "text": "Pillow",
         "path": "tools/pillow/"
        },
        {
         "text": "Nodemailer",
         "path": "tools/nodemailer/"
        },
        {
         "text": "jsPDF",
         "path": "tools/jspdf/"
        },
        {
         "text": "SheetJS",
         "path": "tools/xlsx/"
        },
        {
         "text": "qrcode (JavaScript)",
         "path": "tools/qrcode-npm/"
        },
        {
         "text": "JSZip",
         "path": "tools/jszip/"
        },
        {
         "text": "PDF.js",
         "path": "tools/pdfjs-dist/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "mammoth",
       "me": true,
       "facts": [
        "BSD-2-Clause",
        "Gid 68",
        "16.2M/wk"
       ]
      }
     ],
     "more": "Compare mammoth with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install mammoth"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for mammoth yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm mammoth"
  ],
  [
   "Category",
   "Files, images and media"
  ],
  [
   "License",
   "BSD-2-Clause"
  ],
  [
   "Gid Score",
   "68.3"
  ],
  [
   "Rank in category",
   "#18 of 274"
  ],
  [
   "GitHub",
   "mwilliamson/mammoth.js"
  ],
  [
   "Last change",
   "Oct 16, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily."
}