# md-to-docx — AI Markdown to Word

> Turn AI drafts and Markdown into deliverable Word DOCX locally—presets for technical, business, and academic docs. No API keys.

md-to-docx — AI Markdown to Word is a free AI agent skill on Agensi by LIANG SUN. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [LIANG SUN](https://www.agensi.io/creators/liang-sun)
- Uses: 3
- Version: 1.0
- Last updated: 2026-10-16
- Security: scan passed (2026-10-16); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/md-to-docx-ai-markdown-to-word

## About this skill

### The problem

You write with ChatGPT, Claude, or Cursor. The draft is Markdown. Stakeholders still want Word. Copy-paste kills formatting.

### What you get

**md-to-docx** compiles Markdown into professional DOCX on your machine—headings, tables, code, callouts, optional TOC/numbering—using built-in presets.

**GitHub:** https://github.com/sunliangcode/md-to-docx

### How to use

1. Ask: Convert this report to Word with the technical preset.
2. Agent runs bin/convert with the right --preset.
3. You get a .docx beside the .md. Source is never modified.

### Presets

- technical (+ --toc --numbering): formal tech / design docs
- professional: everyday documents
- editorial: long-form
- academic: papers
- business: summaries
- report: generic reports

### Also included

- Reverse: Word to Markdown
- Diff: compare two versions
- Optional Mermaid (if mmdc installed)

### Requirements

Python 3.10+ and: pip install "markdown-it-py>=3" "mdit-py-plugins>=0.4" "python-docx>=1" "latex2mathml>=3" "lxml>=4.9"

## Requires

- Python 3.10+
- markdown-it-py
- mdit-py-plugins
- python-docx
- latex2mathml
- lxml
- Git

Install the packages with pip.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the md-to-docx — AI Markdown to Word skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does md-to-docx — AI Markdown to Word do?

Turn AI drafts and Markdown into deliverable Word DOCX locally—presets for technical, business, and academic docs. No API keys.

### Which AI agents support md-to-docx — AI Markdown to Word?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use md-to-docx — AI Markdown to Word?

Connect your AI agent to Agensi through MCP, then ask it to use md-to-docx — AI Markdown to Word on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
