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.2k68.3k
Forks2.9k5k
Last analyzedOct 3, 2026Oct 3, 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 →

This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.

OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️