| type | skill |
| lifecycle | stable |
| name | docx-to-md |
| description | Convert Word documents (.docx) to clean Markdown with image extraction and pandoc cleanup |
| tier | extended |
| inheritance | inheritable |
| applyTo | **/*.docx,**/*word*,**/*docx* |
| muscle | .github/muscles/docx-to-md.cjs |
| currency | 2026-04-22T00:00:00.000Z |
Word to Markdown Conversion
Ingest Word documents into your Markdown workflow — clean, linted, version-control ready
Staleness Watch: See EXTERNAL-API-REGISTRY.md for source URLs and recheck cadence
Convert .docx files into clean, linted Markdown with extracted images, normalized headings, and cleaned table formatting. The reverse converter for ingesting external documents into a Markdown-based workflow.
When to Use
- Importing Word documents from stakeholders into a Markdown-based workflow
- Converting legacy documentation to Markdown for version control
- Extracting content from .docx for further processing (presentations, email, web)
- Onboarding external resources (SOWs, RFPs, specs) into project repositories
- Migrating from Word-based documentation to docs-as-code
- Preparing content for static site generators (VitePress, Docusaurus, etc.)
Supported Content
| Content Type | Status | Notes |
|---|
| Headings | ✅ | Hierarchy normalized to start at H1 |
| Bold/Italic | ✅ | Converted to Markdown syntax |
| Links | ✅ | Preserved as Markdown links |
| Images | ✅ | Extracted to images/ folder |
| Tables | ✅ | Cleaned and aligned |
| Lists | ✅ | Ordered, unordered, nested |
| Code blocks | ⚠️ | Detected if styled as code |
| Footnotes | ✅ | Converted to Markdown footnotes |
| Comments | ⚠️ | Stripped with --strip-comments |
| Track changes | ❌ | Accept/reject before converting |
| Embedded objects | ❌ | Extract manually |