Convert documents (PDF, Word, Excel, PowerPoint, HTML, etc.) to markdown using Microsoft's markitdown library, then read the markdown output instead of binary files
Ships in markitdown-converter. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Automatically convert documents to markdown before reading them. Supports PDFs, Word docs, Excel spreadsheets, PowerPoint presentations, HTML, and more.
Requires Python 3.10+ and the markitdown package.
pip install markitdown
Optional dependencies for specific formats:
pip install "markitdown[audio]" (requires ffmpeg)pip install "markitdown[youtube]"When any tool needs to inspect a binary document format (PDF, DOCX, XLSX, PPTX, HTML):
markitdown via the conversion script.md file alongside the originalUse scripts/convert.py to convert files:
# Convert to stdout
python3 scripts/convert.py path/to/document.pdf
# Convert to file (defaults to <name>.converted.md alongside source)
python3 scripts/convert.py path/to/document.docx -o output.md
# Convert with LLM-enhanced image descriptions (requires OPENAI_API_KEY)
python3 scripts/convert.py path/to/slides.pptx --use-llm
| Extension | Format | Engine |
|---|---|---|
.pdf | PDF documents | pdfminer.six |
.docx, .doc | Word documents | python-docx / LibreOffice |
.xlsx, .xls | Excel spreadsheets | openpyxl / xlrd |
.pptx, .ppt | PowerPoint slides | python-pptx / LibreOffice |
.html, .htm | Web pages | BeautifulSoup4 |
.csv, .tsv | Tabular data | pandas |
.json, .xml | Structured data | built-in parsers |
.zip | Archives | extracts and converts contents |
.mp3, .wav | Audio (speech-to-text) | speech_recognition |
--use-llm if image contents (diagrams, charts) are essential to the task.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/markitdown-converter:markitdown-converterfrom markitdown-converter
npx claudepluginhub dkritarth/skills-personal --plugin markitdown-converter