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.
docling
Python library that converts PDFs, Office files and more into structured text
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
| What we compare | docling | marker |
|---|---|---|
| Score parts, out of 100 | ||
| Adoption | 95, widely used | 93, widely used |
| Freshness | 100, active | 100, active |
| Maintenance | 81, healthy | 98, healthy |
| Agent-ready | 85, ready | 0, none |
| Facts from GitHub and the README | ||
| Stars | 71.2k | 41.1k |
| License | MIT (permissive) | Apache-2.0 (permissive) |
| Last commit | Nov 2026 | Nov 2026 |
| Last release | Nov 2026 | Nov 2026 |
| Language | Python | Python |
| Docker | Yes | No |
| GPU | Optional | Optional |
| arm64 or Apple Silicon | Mentioned | Mentioned |
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.
AI app development →Send a project brief (opens in a new tab)