
Doc To Markdown
Converts DOCX, PDF, and PPTX files to clean markdown using Pandoc as the extraction engine, then automatically fixes eight common conversion issues including broken grid tables, nested image paths, and CJK bold spacing problems that break rendering. The Quick mode is fast and good enough for drafts. Heavy mode runs multiple tools in parallel and intelligently merges the best segments from each, which matters when you have complex layouts or need tables to survive intact. Benchmarked at 7.6/10 against four other converters. Includes validation scripts that measure text and table retention rates, so you know immediately if the conversion actually worked.
- skills.sh installs
- 914
- GitHub stars
- 1.5K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add daymade/claude-code-skills --skill doc-to-markdown --agent claude-codeInstalls into .claude/skills of the current project.
Files
Doc to Markdown
Convert documents to high-quality markdown with intelligent multi-tool orchestration and automatic DOCX post-processing.
Quick Start
# DOCX → Markdown
uv run --with pymupdf --with pymupdf4llm --with "markitdown[pdf]" scripts/convert.py document.docx -o output.md --assets-dir ./media
# PDF → Markdown
uv run --with pymupdf --with pymupdf4llm --with "markitdown[pdf]" scripts/convert.py document.pdf -o output.md
# Saved HTML → Markdown (Pandoc required; no remote fetching)
uv run scripts/convert.py page.html -o page.md
# Run tests
uv run --with pytest pytest scripts/test_convert.py -v
Conversion Modes
| Mode | Speed | Selection | Use Case |
|---|---|---|---|
| Quick (default) | Fast | Single converter | Drafts, simple documents |
| Heavy | Slower | Compares converter candidates | Complex layouts needing source review |
Tool Selection
Sponsors
Details
- Repository
- github.com/daymade/claude-code-skills
- Categories
- Documentation, Code Review & Quality, Office & Documents
- First seen
- Jun 3, 2026
More from daymade/claude-code-skills
All 53- Product Analysis909
- Windows Remote Desktop Connection Doctor843
- Scrapling Skill827
- Skill Creator805
- Fixing Claude Export Conversations796
- Douban Skill784
- Terraform Skill746
- Marketplace Dev731
- Gangtise Copilot730
- Tunnel Doctor713
- Debugging Network Issues710
- Competitors Analysis694
- Slides Creator686
- Continue Claude Work631
- Markdown Tools169
- Twitter Reader3.3K
- I18n Expert2.7K
- Prompt Optimizer2.1K
- Qa Expert2K
- Ppt Creator2K
- Transcript Fixer1.9K
- Macos Cleaner1.9K
- Deep Research1.8K
- Asr Transcribe To Text1.7K