docling vs marker

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.

33rd 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

marker

Converts PDFs, Office files and images to markdown, JSON, HTML or chunks

Verdict

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

  • Adoptiondocling leads by 2 points, 95 to 93: close to even.
  • FreshnessEven at 100.
  • Maintenancemarker leads by 17 points, 98 to 81: a wide gap.
  • 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 marker if you are

Engineers turning PDFs and documents into clean text for LLM pipelines

  • Outputs markdown, JSON with block polygons, HTML or chunks from one pipeline
  • Fast mode and --disable_ocr allow CPU-only, text-layer extraction
docling vs marker: score parts and facts
What we comparedoclingmarker
Score parts, out of 100
Adoption95, widely used93, widely used
Freshness100, active100, active
Maintenance81, healthy98, healthy
Agent-ready85, ready0, none
Facts from GitHub and the README
Stars71.2k41.1k
LicenseMIT (permissive)Apache-2.0 (permissive)
Last commitNov 2026Nov 2026
Last releaseNov 2026Nov 2026
LanguagePythonPython
DockerYesNo
GPUOptionalOptional
arm64 or Apple SiliconMentionedMentioned

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

marker

Marker is a Python library and CLI that converts PDF, image, PPTX, DOCX, XLSX, HTML and EPUB files into markdown, JSON, HTML or chunks. It handles tables, equations, code blocks and image extraction, and strips headers and footers. OCR and layout run through a surya VLM served locally by vLLM or llama.cpp, with an optional LLM pass (Gemini, Claude, OpenAI-compatible, Ollama and others) for higher accuracy.

Who it is for: Engineers turning PDFs and documents into clean text for LLM pipelines

Strengths

  • Outputs markdown, JSON with block polygons, HTML or chunks from one pipeline
  • Fast mode and --disable_ocr allow CPU-only, text-layer extraction
  • Extensible processors, converters and block API for custom logic
  • Batch CLI with worker pool, multi-GPU and multi-node sharding options

Weaknesses

  • Model weights use a modified OpenRAIL-M license with revenue limits for commercial use
  • Needs Docker with NVIDIA Container Toolkit, or llama.cpp, for the VLM server
  • Non-PDF formats require the extra marker-pdf[full] install
  • README points to the paid hosted platform as more accurate than Marker
  • GPU optional
  • Needs PyTorch, Python 3.10+, vLLM via Docker (NVIDIA GPU), llama.cpp llama-server (CPU/Apple Silicon)
  • Models: surya VLM, Gemini, Claude, OpenAI-compatible, Azure

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.