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.

doclingmarkitdown
LanguagePythonPython
LicenseMITMIT
Stars68.3k188k
Forks5k13.9k
Last analyzedOct 3, 2026Oct 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.
Read the docling analysis →

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.
Read the markitdown analysis →

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.