微软 MarkItDown

Microsoft's open-source Python tool — convert PDF/Word/PPT/audio/YouTube to clean Markdown

★ 187,737 stars, verified 2026-09-30Category: Translation / Doc Parsing / OCRGitHub repository ↗

Microsoft's open-source Python tool that converts PDF/Word/PPT/audio/YouTube into clean Markdown with one command — a RAG data-preprocessing essential.

Translate documents, parse PDFs, and extract text with OCR.

Key features

Good for

Stack & tags

Pythonmarkdowndocument-conversionllm-preprocessingpdfocrclipython-library

Quick start

pip install 'markitdown[all]'
markitdown path-to-file.pdf > document.md

From the project README on GitHub.

Similar open-source projects

DeepSeek-OCR

★ 23,926

DeepSeek's novel OCR document model — "contextual optical compression"

Translation / Doc Parsing / OCRGitHub ↗

olmOCR

★ 19,683

AI2's open-source OCR — high-quality PDF-to-text at 1/32 the cost of GPT-4o API

Translation / Doc Parsing / OCRGitHub ↗