markitdown
Skill by davila7
Converts PDFs, Office files, images, audio, HTML, EPUBs and YouTube URLs to Markdown. It suits developers and researchers who need LLM-friendly text from documents.
Install markitdown
Built from the published package, never by AI.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/markitdown ~/.claude/skills/markitdownRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/markitdown ~/.gemini/antigravity-cli/skills/markitdownAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Markitdown is a Python tool from Microsoft that converts files to Markdown. It handles PDF, DOCX, PPTX, XLSX, images, audio, HTML, CSV, JSON, XML, ZIP, EPUB and YouTube URLs. The source describes Markdown as token-efficient and well understood by language models.
It can be used from the command line or the Python API. Options include OCR for images, speech transcription for audio, AI image descriptions through OpenRouter, and Azure Document Intelligence for complex PDFs. Optional dependencies let users install only the formats they need. The skill suits developers and researchers who want to turn papers, slides, spreadsheets or recordings into text for LLM workflows.
Written from the project's SKILL.md and checked against it.
What it can do
- Document conversionConverts PDF, DOCX, PPTX and XLSX files to Markdown text and tables.
- Image OCRExtracts text from images and scanned documents using OCR.
- Audio transcriptionTranscribes WAV and MP3 audio files into text.
- YouTube transcriptsFetches transcriptions from YouTube video URLs.
- AI image descriptionsGenerates image descriptions through an LLM accessed via OpenRouter.
- Azure Document IntelligenceUses Microsoft Document Intelligence for enhanced PDF conversion.
- Batch conversionConverts all matching files in a folder in a single script run.
- Plugin supportLists and enables third-party plugins with the --use-plugins option.
What you need
- Python
- pip install markitdown with the formats you need
- Tesseract OCR for image text extraction
- OpenRouter API key for AI image descriptions
Try asking
- Convert this PDF research paper to Markdown for me.
- Turn this Excel file into Markdown tables I can read.
- Transcribe this YouTube video URL into a text transcript.
Good to know
- AI image descriptions require API calls and costs may apply.
- OCR processing is CPU-intensive.
- Audio transcription needs additional compute resources.
- Large PDFs may take time to convert.
Security check
B- Allowed to use Write, Edit, Bash without limitsIn
SKILL.md
Checked automatically: cli-tool/components/skills/scientific/markitdown/SKILL.md, cli-tool/components/skills/scientific/markitdown/scripts/batch_convert.py, cli-tool/components/skills/scientific/markitdown/scripts/convert_literature.py, cli-tool/components/skills/scientific/markitdown/scripts/convert_with_ai.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditBash
-
INSTALLATION_GUIDE.md7 KB -
LICENSE.txt1 KB -
OPENROUTER_INTEGRATION.md9 KB -
QUICK_REFERENCE.md7 KB -
README.md5 KB
Show all 13 files
-
SKILL.md12 KB -
SKILL_SUMMARY.md9 KB -
assets/example_usage.md10 KB -
references/api_reference.md9 KB -
references/file_formats.md9 KB -
scripts/batch_convert.py6 KB -
scripts/convert_literature.py9 KB -
scripts/convert_with_ai.py7 KB
Alternatives to markitdown
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
markitdown: common questions
Which file types does markitdown convert?
The source lists PDF, DOCX, PPTX, XLSX, images (JPEG, PNG, GIF, WebP), WAV and MP3 audio, HTML, CSV, JSON, XML, ZIP, EPUB and YouTube URLs.
Does markitdown need an API key?
The source uses an OpenRouter API key only for AI-enhanced image descriptions. The basic conversion examples do not show a key.
Who made markitdown and under what license?
The source says it is a Python tool developed by Microsoft and released under the MIT license.
How do I install markitdown?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is markitdown free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is markitdown safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit, bash without limits). Review the code before you install. How grades work.
What are alternatives to markitdown?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
