Skip to content
Back to skills

Convert Docx Documents Into Clean Html For Publishing Workflows Mammoth

ASecurity

Use Mammoth when an agent needs to turn a .docx file into simple HTML that preserves semantic structure instead of Word-specific styling. This is for ingestion and publishing workflows, not for full document editing or perfect visual fidelity.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 8, 2026
ai-agentspythongojavanodegitsecuritydocumentation

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill convert-docx-documents-into-clean-html-for-publishing-workflows-mammoth --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Convert Docx Documents Into Clean Html For Publishing Workflows Mammoth?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Convert Docx Documents Into Clean Html For Publishing Workflows Mammoth
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-convert-docx-documents-into-clean-html-for-publish/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-convert-docx-documents-into-clean-html-for-publish)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Convert DOCX documents into clean HTML for publishing workflows with Mammoth"
slug: "convert-docx-documents-into-clean-html-for-publishing-workflows-mammoth"
description: "Use Mammoth when an agent needs to turn a .docx file into simple HTML that preserves semantic structure instead of Word-specific styling. This is for ingestion and publishing workflows, not for full document editing or perfect visual fidelity."
github_stars: 6167
verification: "security_reviewed"
source: "https://github.com/mwilliamson/mammoth.js"
author: "mwilliamson"
category: "Data Extraction & Transformation"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "mwilliamson/mammoth.js"
  github_stars: 6167
  npm_package: "mammoth"
  npm_weekly_downloads: 18347789
---

# Convert DOCX documents into clean HTML for publishing workflows with Mammoth

Use Mammoth when an agent needs to turn a .docx file into simple HTML that preserves semantic structure instead of Word-specific styling. This is for ingestion and publishing workflows, not for full document editing or perfect visual fidelity.

## Prerequisites

Node.js, DOCX files

## Installation

Use the upstream install or setup path that matches your environment:
- Run make setup
- npm install mammoth

Requirements and caveats from upstream:
- [Python](https://github.com/mwilliamson/python-mammoth).
- Available [on PyPI](https://pypi.python.org/pypi/mammoth).
- In node.js and the browser, mammoth can be required in the usual way:

Basic usage or getting-started notes:
- ## Other supported platforms
- [WordPress](https://wordpress.org/plugins/mammoth-docx-converter/).
- [Java/JVM](https://github.com/mwilliamson/java-mammoth).

- Source: https://github.com/mwilliamson/mammoth.js
- Extracted from upstream docs: https://raw.githubusercontent.com/mwilliamson/mammoth.js/HEAD/README.md

## Documentation

- https://mike.zwobble.org/projects/mammoth/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/convert-docx-documents-into-clean-html-for-publishing-workflows-mammoth/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.