docling vs markitdown
Document conversion tools for AI and text workflows
docling and markitdown both convert varied files into content for AI and text-processing workflows. docling emphasizes structured document representations, PDF layout extraction, and local processing, while markitdown focuses on producing readable Markdown with optional format integrations.

docling: Parse Documents for AI Workflows
Docling converts documents from formats such as PDF, Office files, images, and audio into structured representations and exports. It suits developers building document-processing and generative AI pipelines that need format coverage, OCR, or local execution.

markitdown: Convert Documents and Files to Markdown
MarkItDown converts documents and other files into Markdown for LLM and text-analysis workflows. It offers a Python library and command-line interface, with optional format-specific dependencies and plugins.
| docling | markitdown | |
|---|---|---|
| Language | Python | Python |
| License | MIT | MIT |
| Stars | 68.3k | 188k |
| Forks | 5k | 13.9k |
| Last analyzed | Oct 3, 2026 | Oct 4, 2026 |
Key differences
- docling supports formats such as video and email, while markitdown also handles ZIP files and YouTube URLs.
- docling can extract PDF layout, reading order, tables, code, and formulas into a unified representation; markitdown aims to preserve useful structure such as headings, lists, tables, and links in Markdown.
- docling offers exports including Markdown, HTML, WebVTT, and lossless JSON, while markitdown is centered on Markdown output.
- docling can run locally, including in air-gapped environments; markitdown also offers Azure integrations that use billable API calls.
- Both projects are Python-based and MIT-licensed. The provided figures list 68.3k stars and 5k forks for docling, and 188k stars and 13.9k forks for markitdown.
Choose docling if you…
- need structured output formats beyond Markdown, including lossless JSON or HTML.
- want PDF structure extraction or OCR as part of a document-processing pipeline.
- need local processing for sensitive or air-gapped environments.
Choose markitdown if you…
- want Markdown that retains useful headings, lists, tables, and links.
- prefer optional dependencies for installing support for selected formats.
- need Azure-based extraction integrations or conversion from ZIP files and YouTube URLs.
Compare the numbers side by side, or add more projects
This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.