Doc To Markdown
Converts DOCX, PDF, PPTX, and saved HTML to Markdown with post-processing for tables, images, and OCR noise.
- CCM score
- 66 of 100
- skills.sh installs
- 952
- GitHub stars
- 1.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers DOCX, PDF, PPTX, and saved HTML/HTM conversion with Quick and Heavy modes that compare converter candidates
- Fixes pandoc grid and simple tables, image path nesting, CJK bold spacing, attribute noise, and code blocks
- Strips OCR garbage blocks, repeated headers, footers, and watermarks, and rewrites absolute image paths for PDFs
- Designed for document-to-Markdown workflows using
scripts/convert.py, with PDF acceptance and validation procedures
Install
$ npx -y skills add daymade/claude-code-skills --skill doc-to-markdown -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/daymade/claude-code-skills
- Categories
- Office Files & Slides, Technical Documentation
- First seen
- Jun 3, 2026
Questions
What does the doc-to-markdown skill convert, and what does it fix?
The doc-to-markdown skill converts DOCX, PDF, PPTX and saved HTML files into Markdown. It cleans up pandoc grid and simple tables, image paths, CJK bold spacing, attribute noise and code blocks, and for PDFs it removes OCR garbage and repeated headers, footers and watermarks.
How do I install the doc-to-markdown skill?
Run npx -y skills add daymade/claude-code-skills --skill doc-to-markdown -y in a project. Once installed, it lets the agent turn Word, PDF and PowerPoint documents into clean Markdown files.
Does doc-to-markdown work with Word files and PDFs?
Yes, it converts DOCX and PDF files, and also PPTX and saved HTML. DOCX conversion runs automatic post-processing that fixes tables and image paths, and PDF conversion removes repeated headers, footers and watermarks.
Which skills lead the Office Files & Slides category, and where does doc-to-markdown stand?
Within Office Files & Slides, doc-to-markdown is listed alongside slideshow and several lark skills such as lark-doc, lark-drive and lark-sheets. It focuses on turning existing Word, PDF and PowerPoint files into Markdown rather than creating slides or sheets.
More from daymade/claude-code-skills
All 50- Repomix Unmixer951
- Product Analysis946
- Windows Remote Desktop Connection Doctor883
- Scrapling Skill863
- Fixing Claude Export Conversations832
- Douban Skill823
- Skill Creator805
- Terraform Skill782
- Marketplace Dev766
- Gangtise Copilot765
- Tunnel Doctor748
- Debugging Network Issues747
- Competitors Analysis731
- Slides Creator722
- Twitter Reader3.4K
- I18n Expert2.8K
- Transcript Fixer2.7K
- Asr Transcribe To Text2.5K
- Prompt Optimizer2.2K
- Qa Expert2.1K
- Ppt Creator2.1K
- Macos Cleaner2K
- Deep Research1.9K
- Ui Designer1.7K
Similar to Doc To Markdown
More Office Files & Slidespdf-generatorjwynia/agent-skills932 installsCreate and manipulate PDF files programmatically. Use when the user needs to generate PDFs, fill PDF forms, extract PDF content, add watermarks/overlays, or mer
pdftfriedel/claude-office-skills926 installsComprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to
pptxdavila7/claude-code-templates894 installsUse this skill any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; rea
ppt-agentsunbigfly/ppt-agent-skills889 installsppt agent
pdf-to-markdownpspdfkit-labs/nutrient-skills876 installsExtract text from a PDF as structured Markdown for analysis, RAG, or LLM context. Parse each PDF ONCE to a file (do not re-parse to search; don't read the PDF a
huashu-slidesalchaincyf/huashu-skills853 installs从内容到成品PPTX的端到端演示文稿制作,含AI插画生成和18种设计风格。当用户提到"做PPT"、"做幻灯片"、"演示文稿"、"Keynote"、"slides"时使用。