# Md to DOCX

> Md to DOCX is an open-source agent skill for files and documents. Convert Markdown files to professionally formatted Word (.docx) documents with embedded PNG images — pure JavaScript, no external tools requ. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/github/awesome-copilot/tree/main/skills/md-to-docx
- **Repository:** https://github.com/github/awesome-copilot
- **GitHub stars:** 41,254
- **License:** MIT
- **Skill name:** md-to-docx
- **Collection:** https://github.com/github/awesome-copilot
- **Categories:** files and documents
- **Listing updated:** 2026-11-17

## About

Convert Markdown files to professionally formatted Word (.docx) documents with embedded PNG images — pure JavaScript, no external tools required

## When your agent uses it

> Convert Markdown files to professionally formatted Word (.docx) documents with embedded PNG images — pure JavaScript, no external tools required

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs JavaScript scripts](https://github.com/github/awesome-copilot/tree/HEAD/skills/md-to-docx)
- [No network calls found in its scripts](https://github.com/github/awesome-copilot/tree/HEAD/skills/md-to-docx)
- [License: MIT](https://github.com/github/awesome-copilot/tree/HEAD/skills/md-to-docx)

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/md-to-docx` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/md-to-docx &&
cp -R "$tmp/skills/md-to-docx" ~/.claude/skills/md-to-docx &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/md-to-docx` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/md-to-docx` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/md-to-docx &&
cp -R "$tmp/skills/md-to-docx" ~/.agents/skills/md-to-docx &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/md-to-docx` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/md-to-docx` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/md-to-docx &&
cp -R "$tmp/skills/md-to-docx" ~/.cursor/skills/md-to-docx &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/md-to-docx` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/github/awesome-copilot.git --path skills/md-to-docx
```

Or copy the folder to `~/.gemini/skills/md-to-docx` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/md-to-docx`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/md-to-docx &&
cp -R "$tmp/skills/md-to-docx" ~/.copilot/skills/md-to-docx &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/md-to-docx` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/github/awesome-copilot.git
```

Then copy `awesome-copilot/skills/md-to-docx` into your agent's skills folder as `md-to-docx`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Md to DOCX in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/md-to-docx to use it in all your projects, or to .claude/skills/md-to-docx in one project.

### Does Md to DOCX run scripts?

Yes. It runs JavaScript scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Md to DOCX?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Md to DOCX?

The closest alternatives to Md to DOCX are XLSX, PDF, DOCX, Convert word to md and Update markdown file index.

## Alternatives

- [XLSX](https://ai-powered.com/skills/xlsx): XLSX is an agent skill for files and documents.
- [PDF](https://ai-powered.com/skills/pdf-anthropics): PDF is an agent skill for files and documents.
- [DOCX](https://ai-powered.com/skills/docx-anthropics): DOCX is an agent skill for files and documents.
- [Convert word to md](https://ai-powered.com/skills/convert-word-to-md): Convert word to md is an open-source agent skill for files and documents.
- [Update markdown file index](https://ai-powered.com/skills/update-markdown-file-index): Update markdown file index is an open-source agent skill for files and documents.
- [Drawio](https://ai-powered.com/skills/drawio): Drawio is an open-source agent skill for files and documents.
- [Setup my iq](https://ai-powered.com/skills/setup-my-iq): Setup my iq is an open-source agent skill for files and documents.
- [Pdftk server](https://ai-powered.com/skills/pdftk-server): Pdftk server is an open-source agent skill for files and documents.

---
Source: https://ai-powered.com/skills/md-to-docx
