docx-to-md

Convert .docx files to Markdown and extract embedded images.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/dz07/goku-skills --skill docx-to-md-dz07
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx-to-md
Source: https://github.com/dz07/goku-skills/tree/main/skills/docx-to-md
Command: npx skills add https://github.com/dz07/goku-skills --skill docx-to-md-dz07

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx, and includes scripts (resource) components.

What problem does it solve?

将Word文档(.docx)转换为Markdown格式,并提取文档中的图片,简化内容发布与归档流程。

Core Features & Use Cases

  • Word to Markdown 转换,保留标题、列表和表格的结构。
  • 图片提取:提取嵌入的图片并保存到输出目录。
  • Use Case: 将大量.docx文档转换为可发布在知识库或静态站点的Markdown格式。

Quick Start

Run the script to convert a Word document to Markdown and extract images to an output directory.

Frequently Asked Questions about docx-to-md

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a Word document to Markdown and extract images?

To convert a Word document to Markdown and extract images, run the script to read .docx files, preserve headings, lists, and tables, and save embedded images to a designated output directory.

Does the Word to Markdown conversion preserve tables and lists?

Yes, Word to Markdown conversion preserves document structure. It reads .docx files and maintains headings, lists, and tables while extracting embedded images for content publishing workflows.

Can I use python-docx to automate Word to Markdown conversion for a knowledge base?

Yes, you can use python-docx to automate Word to Markdown conversion for a knowledge base. It transforms .docx documents into publishable Markdown formats and extracts images for archiving.

What is the best way to extract embedded images from a .docx file?

The best way to extract embedded images from a .docx file is using a conversion script that reads the Word document and saves all extracted images directly to a specified output directory.

Are there limitations when converting .docx files to Markdown?

When converting .docx files to Markdown, limitations depend on the python-docx library's ability to parse complex Word document formatting, though standard headings, lists, and tables are fully preserved.