docling vs markitdown

Two of the top projects in Data and scraping for AI, side by side: who leads on each score part and who each one suits, then setup, license, activity and what each review found.

22nd of 100 in Data and scraping for AI

docling

Python library that converts PDFs, Office files and more into structured text

#66th of 100 in Data and scraping for AI

markitdown

Python library and CLI that converts office files, PDFs and audio to Markdown

Verdict

docling ranks higher, 92 to 87. Of the 4 score parts we measure for both, docling leads on 1, markitdown on 2 and 1 is even.

  • Adoptionmarkitdown leads by 4 points, 99 to 95: close to even.
  • FreshnessEven at 100.
  • Maintenancemarkitdown leads by 8 points, 90 to 82.
  • Agent-readydocling leads by 85 points, 85 to 0: a wide gap.

Pick docling if you are

Engineers preparing documents for RAG and LLM pipelines

  • Handles a wide format list: PDF, Office, ODF, EPUB, email, calendar, audio and video
  • PDF layout, table structure, formula and reading-order extraction with OCR for scans

Pick markitdown if you are

Developers feeding documents into LLM and text-analysis pipelines

  • Covers many formats (PDF, DOCX, PPTX, XLSX, EPub, ZIP, YouTube) through one convert call
  • Built-in converters run offline; install only needed formats via extras like [pdf,docx,pptx]
docling vs markitdown: score parts and facts
What we comparedoclingmarkitdown
Score parts, out of 100
Adoption95, widely used99, widely used
Freshness100, active100, active
Maintenance82, healthy90, healthy
Agent-ready85, ready0, none
Facts from GitHub and the README
Stars71.2k199k
LicenseMIT (permissive)MIT (permissive)
Last commitNov 2026Nov 2026
Last releaseNov 2026Oct 2026
LanguagePythonPython
DockerYesYes
GPUOptionalNot needed
arm64 or Apple SiliconMentionedNot stated

docling

Docling parses PDF, DOCX, PPTX, XLSX, HTML, EPUB, images, audio and other formats into a unified DoclingDocument, then exports to Markdown, HTML or lossless JSON. PDF handling covers layout, reading order, tables, code and formulas, with OCR and VLM options such as GraniteDocling. It runs locally via a Python API or CLI, and also ships an MCP server and a docling-serve API server.

Who it is for: Engineers preparing documents for RAG and LLM pipelines

Strengths

  • Handles a wide format list: PDF, Office, ODF, EPUB, email, calendar, audio and video
  • PDF layout, table structure, formula and reading-order extraction with OCR for scans
  • Runs locally, usable in air-gapped setups; MIT licensed
  • Integrates with LangChain, LlamaIndex, CrewAI and Haystack; has MCP server and API server

Weaknesses

  • Model weights carry their own licenses, separate from the MIT code
  • Metadata extraction and chemistry understanding are listed as not yet available
  • Requires Python 3.10 or higher; Python 3.9 dropped in 2.70.0
  • GPU optional
  • Docker
  • Models: GraniteDocling, VLMs, ASR models, OCR engines

markitdown

MarkItDown converts PDF, Word, PowerPoint, Excel, images, audio, HTML, CSV/JSON/XML, ZIP, EPub and YouTube URLs into Markdown that keeps headings, lists, tables and links. It runs as a Python library or the `markitdown` CLI. It can optionally call an OpenAI-compatible LLM for image descriptions, or Azure Document Intelligence and Content Understanding for higher-quality extraction. Output targets LLM pipelines, not human-facing fidelity.

Who it is for: Developers feeding documents into LLM and text-analysis pipelines

Strengths

  • Covers many formats (PDF, DOCX, PPTX, XLSX, EPub, ZIP, YouTube) through one convert call
  • Built-in converters run offline; install only needed formats via extras like [pdf,docx,pptx]
  • Plugin system, plus a markitdown-ocr plugin that uses an LLM vision client for embedded images
  • Optional Azure Document Intelligence and Content Understanding backends with YAML front matter fields

Weaknesses

  • Not meant for high-fidelity conversion for human reading, per the README
  • Runs with the calling process's privileges; untrusted input must be sanitized by the caller
  • Azure backends are billable; Content Understanding is the only route for video
  • Repo accepts no web server, REST API or GUI; those must be separate projects
  • no GPU
  • Docker
  • Needs Python 3.10-3.14, Azure Document Intelligence (optional), Azure Content Understanding (optional), OpenAI-compatible client (optional)
  • Models: OpenAI-compatible vision models (gpt-4o in examples)

More in Data and scraping for AI

Building with these?

We help teams pick an open-source AI stack and run it in production. Client work never changes a rank.