Docling vs Alternatives

No universal winner — only the right fit for your documents, hardware, license and RAG stack. TL;DR below, proof in the matrix.

Verified with Docling v2.129.0 · Last checked 2026-09-22 · Independent, no paid placement.

TL;DR

Mixed PDFs for local RAG → Docling. Papers, math & CJK on GPU → MinerU. Multi-format enterprise ETL → Unstructured. Millions of clean digital PDFs at max speed → PyMuPDF (+ pdfplumber for grid tables). Books and scanned prose → Marker. Zero-infra managed parsing → LlamaParse. Honest trade-offs below.

1
Verdicts

Who should pick what?

DoclingOur focus

Document understanding with TableFormer, pluggable OCR, DoclingDocument JSON and local-first MIT licensing. Slower than raw extractors, heavier install (~500 MB models). Install →

Unstructured

Broadest format coverage (60+) with partition + chunk_by_title and a paid cloud API. hi_res quality costs setup and GPU; best features drift to commercial tiers.

PyMuPDF / pdfplumber

Fastest text extraction (~0.01 s/page) and precise grid tables. No layout model, no OCR, AGPL terms on PyMuPDF — silent empty output on scans.

Marker

Beautiful Markdown for books and papers with Surya 2 + LaTeX math. Marker 2 runs CPU-ok in fast mode and best on GPU; Apache-2.0 code with a weight cap — weak on borderless business tables.

MinerU

Layout SOTA with DocLayout-YOLO, UniMERNet LaTeX formulas and best-in-class CJK. GPU needed, heavy install, Apache-based license with commercial thresholds — the pick for papers and math.

2
Finder

Three questions, one starting point

Answer three questions — get a starting recommendation. Then confirm it in the matrix.

Pick above — your reasoned recommendation appears here.
3
Matrix

The full comparison matrix

Grouped by what buyers actually ask. Hover the ? for definitions; every tool name links to its official docs. Filter and differences toggle cut the noise.

CapabilityDoclingUnstructuredPyMuPDF / pdfplumberMarkerMinerU
Document understandingWhether the tool reconstructs reading order, layout and tables — or just dumps text.
Layout & reading order ?YesPartial (hi_res)NoYesYes (DocLayout-YOLO)
Table structure ?Yes (TableFormer)Partial / paid tiersBasic gridYesYes (TableMaster + merge)
Formulas & math ?Enrichment passPartialNoYes (Surya 2)Best (UniMERNet LaTeX)
Multi-column handling ?YesPartialNoBest-in-classYes
Header / footer removal ?YesYesManualPartialYes (auto)
Text extraction & OCRDigital PDFs need fast extraction; scans need OCR. No single engine wins both.
Native text speed ?Medium (~0.3–3 s/pg)Fast / hi_res mediumFastest (~0.01 s/pg)Fast (CPU ok)Slow (GPU-bound)
Scanned-document OCR ?Yes (pluggable)YesNo (needs Tesseract)Yes (Surya 2)Yes (PaddleOCR)
OCR engine choice ?6+ enginesTesseract / PaddleExternal onlyBuilt-in (Surya 2)Built-in (PP-OCRv6)
CJK & complex scripts ?GoodGoodBasicGoodBest-in-class
Inputs & outputsWhat goes in (formats) and what comes out for LLMs (Markdown, JSON, chunks).
Input formats ?20+ formats60+ formatsPDF-centricPDF + booksPDF + Office + EPUB
Markdown output ?YesYesVia pymupdf4llmYesYes
Structured JSON ?Yes (DoclingDocument)Yes (Elements)NoPartialYes (content list)
Chunk-ready structure ?YesYes (chunk_by_title)NoYes (--output chunks)Partial
Deploy & operationsWhere it runs, what hardware it needs, and what it costs to operate.
Local / offline execution ?YesPartial (API push)YesYesYes
Hardware needs ?CPU ok, GPU fasterCPU ok, GPU for hi_resCPU onlyCPU ok, GPU for bestGPU needed (4–8 GB)
Install weight ?~500 MB modelsHeavy (Detectron2)Light (~20 MB)Medium–heavyHeavy
License ?MITApache 2.0 + commercialPyMuPDF: AGPL / pdfplumber: MITApache-2.0 + weight capApache-based + thresholds
AI / RAG fitFramework connectors, agents and multimodal inputs for production RAG.
RAG integrations ?YesYesNoPartialPartial
Agent / MCP server ?YesNoNoNoNo
Audio / video (ASR) ?YesNoNoNoNo
Cloud API option ?Self-hostYes (paid)NoYes (Datalab API)No (opt-in remote)
Cost & trustPrice per page, governance and how to verify claims yourself.
Self-host cost ?Free (MIT)Free OSS / paid APIFree / licence terms applyFree within weight capFree within thresholds
Governance ?Linux Foundation AIUnstructured.ioMuPDF / communityDatalabOpenDataLab / SAI Lab
Best for ?Accurate local RAGMulti-format ETLFast text extractBooks & papersPapers, math & CJK

Orientation, not a benchmark. Accuracy figures come from independent 200–500 PDF studies — see Method. Always re-verify against official docs; versions move fast.

4
Head-to-heads

Honest one-on-ones

Where Docling wins, where it loses, and the exact moment to switch.

Docling vs Unstructured

Official docs

Rule of thumb: Local RAG from PDFs → Docling. Heterogeneous enterprise ETL (SharePoint, S3, 60+ formats) → Unstructured.

Strengths (Unstructured)

  • 60+ input formats and cloud connectors
  • chunk_by_title for structure-aware chunking
  • Managed API with orchestration

Limits

  • hi_res needs Detectron2/GPU and setup
  • Best features drift to paid tiers
  • Local OSS trails the cloud API

Verdict: PDF-first RAG in your own hands? Docling. Format zoo with managed ops? Unstructured — budget for the API.

Docling vs PyMuPDF / pdfplumber

Official docs

Rule of thumb: Known-clean digital PDFs at volume → PyMuPDF. Everything else → put Docling in front.

Strengths (PyMuPDF)

  • ~0.01 s/page — 10–50× faster than ML pipelines
  • Minimal install, runs anywhere
  • pdfplumber shines on grid tables

Limits

  • No layout model, no reading order
  • No OCR — silent empty output on scans
  • Watch PyMuPDF AGPL terms

Verdict: Speed is everything and PDFs are clean? PyMuPDF. As soon as tables, columns or scans appear, Docling earns its keep.

Docling vs Marker

Official repo

Rule of thumb: Business tables on local CPU → Docling. Books and scanned prose, CPU-ok or GPU → Marker 2.

Strengths (Marker)

  • Best reading order in multi-column layouts
  • Surya 2 OCR + LaTeX math
  • Clean Markdown for books; fast mode runs on CPU

Limits

  • Best quality still wants a GPU (balanced mode)
  • Medium–heavy install
  • Apache-2.0 code but weights capped (~$5M); weak on borderless tables

Verdict: Independent 200-PDF benchmarks put Docling ahead on tables (TEDS ~0.89 vs ~0.81) and Marker ahead on reading order. Your use case decides.

Docling vs MinerU

Official repo

Rule of thumb: Business tables on local CPU → Docling. Papers, math and CJK on GPU → MinerU.

Strengths (MinerU)

  • Layout SOTA (97.5 mAP claimed) with DocLayout-YOLO
  • UniMERNet LaTeX formulas; cross-page table merge
  • Best-in-class CJK support

Limits

  • GPU needed (4–8 GB VRAM); slow pipeline per page
  • Heavy install; tables emit as HTML
  • Apache-based license with commercial thresholds + attribution duties

Verdict: MinerU leads on layout and formulas, Docling on the typed document model, CPU-friendliness and license simplicity. Route by corpus: papers to MinerU, business docs to Docling.

Docling vs MarkItDown

Official repo

Rule of thumb: Simple digital PDFs + Office mix in constrained envs → MarkItDown. Structure, tables or OCR → Docling.

Strengths (MarkItDown)

  • MIT, ~80 MB, sub-second per document
  • Huge format tail (Office, HTML, audio, EPUB)
  • Optional Azure Document Intelligence OCR backend

Limits

  • pdfminer core: no layout model, tables break
  • Columns interleave; no OCR by default
  • OCR paths need an LLM plugin or paid Azure pages

Verdict: Keep MarkItDown around for the Office/fast path — it is a converter, not a document-understanding replacement.

Docling vs LlamaParse

Official docs

Rule of thumb: LlamaIndex stack, non-sensitive docs, modest volume → LlamaParse. Confidential, offline or high-volume → self-host Docling.

Strengths (LlamaParse)

  • Tiered modes (Fast to Agentic Plus) with version pinning
  • Strong messy-layout accuracy; generous free tier
  • Zero infra; native LlamaIndex integration

Limits

  • Per-page bill (~$0.003–0.01); scales linearly
  • Data leaves the building; closed source
  • SDK migration in progress; no public bench transparency

Verdict: Pay for convenience, not exclusivity — 2026 benchmarks show small open VLM parsers matching hosted quality on a single GPU. Mistral OCR, Reducto, Extend and hyperscaler APIs (Azure, Textract, Google) play the same managed lane: compare per-page cost, egress and lock-in.

5
Code

Same job, four tools

PDF → Markdown in each tool. Copy, run, feel the setup and output difference.

Docling (CLI)
docling convert report.pdf --to md --ocr-engine rapidocr

Local pipeline with layout + tables + OCR in one command.

Unstructured (Python)
from unstructured.partition.pdf import partition_pdf
elements = partition_pdf('report.pdf', strategy='hi_res')

hi_res needs layout models; the fast strategy scores far lower.

PyMuPDF (Python)
import fitz
doc = fitz.open('report.pdf')
text = '\n'.join(p.get_text() for p in doc)

Blazing fast — but silent empty output on scanned pages.

Marker (CLI)
marker_single report.pdf --output_dir out/

Marker 2 fast mode runs CPU-ok; best quality on GPU.

MinerU (CLI)
mineru -p report.pdf -o ./out

Needs a GPU; tables land as HTML, formulas as LaTeX.

MarkItDown (CLI)
markitdown report.pdf -o report.md

Sub-second and tiny — but no layout model and no OCR by default.

6
Method

How this page is built

Sources: official docs (Docling, Unstructured, PyMuPDF, Marker repo) plus independent benchmarks — a 200-PDF comparison (table TEDS, reading order) and a 500-PDF enterprise study (tables, columns, OCR, speed). Key findings: Docling leads on tables (~97.9% / TEDS ~0.89), Marker on reading order and GPU speed, PyMuPDF on raw speed.

Honesty rules: no paid placement, rival strengths named, version (Docling v2.129.0, Last checked 2026-09-22) shown at the top. Licenses re-checked in 2026: Marker 2 code is Apache-2.0 (weights capped), MinerU moved to an Apache-based license with commercial thresholds. Corrections via GitHub — re-checked against official sources.

For OCR-engine choices specifically, see the OCR explorer.

7
FAQ

Frequently asked questions

Which tool is fastest?
PyMuPDF at ~0.01 s/page on digital PDFs — 10–50× faster than ML pipelines. Only for clean text layers; scans need OCR.
Which is most accurate on tables?
Docling (TableFormer, ~97.9% in studies) for business tables; paid cloud APIs sometimes score higher — for running cost and data egress.
Can I work fully offline?
Yes: Docling, PyMuPDF/pdfplumber and Marker all run locally. Unstructured's best features live in its cloud API.
Which license is SaaS-safe?
Docling (MIT) is the simplest. PyMuPDF (AGPL) and Marker (GPL v3) need legal review; Unstructured mixes Apache 2.0 with commercial.
What about scanned PDFs?
Docling with pluggable OCR (e.g. RapidOCR on CPU) or Marker/Surya on GPU. PyMuPDF alone returns empty strings.
Should I combine tools?
Yes, it's common: PyMuPDF for fast digital pages, Docling for table pages, cloud only for hard cases. Routing by page quality beats one-tool thinking.
Where do MinerU and LlamaParse fit?
MinerU for formula- and CJK-heavy papers on a GPU; LlamaParse for managed LlamaIndex parsing when per-page cost beats operating models. Both lose to Docling on CPU-friendliness and license simplicity.
Will this still hold tomorrow?
Versions move fast (see state at top). Before architecture decisions, re-check official docs and release notes.