marker vs docling

Document conversion tools for structured AI workflows

marker and docling convert documents into structured content for search and downstream applications, and both can run locally. marker focuses on document conversion with configurable outputs and processing, while docling covers a wider range of input formats and offers a unified document representation.

markerdocling
LanguagePythonPython
LicenseApache-2.0MIT
Stars40.2k69.8k
Forks2.9k5.2k
Last analyzedOct 3, 2026Oct 29, 2026

Key differences

  • marker converts PDFs and, with additional dependencies, image, Office, HTML, and EPUB files; docling also lists audio, video, and email formats.
  • marker outputs Markdown, JSON, HTML, or chunks; docling also exports WebVTT, DocTags, and DocLang, and uses a unified DoclingDocument format.
  • marker uses Surya for OCR and layout processing through a local inference server, with balanced and fast modes; docling capabilities and parsing behavior vary by format and pipeline.
  • marker is Apache-2.0 licensed, while docling is MIT licensed; both note that model licenses can be separate from the code license.
  • marker includes a small-scale local API server; docling offers a CLI, Python API, MCP server, and API server.
  • marker reports 40.2k stars and 2.9k forks; docling reports 68.3k stars and 5k forks.

Choose marker if you…

  • need configurable conversion outputs, including chunked content, for a self-hosted workflow.
  • want Python integration or a small local API server for document conversion.
  • can run its local inference backend and have checked the separate model terms.
Read the marker analysis →

Choose docling if you…

  • need to parse a wider range of formats, including audio, video, or email.
  • want a unified document representation and integrations with AI frameworks such as LangChain or LlamaIndex.
  • need options including an MCP server or local execution for sensitive or air-gapped workflows.
Read the docling 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.