Comparison · open source
Docling vs MinerU: Two Open-Source Parsers, Two Different Documents
Both projects exist because academic PDFs are hostile to extraction, and both are good. They diverge on what they optimise: MinerU is formula- and CJK-first, Docling is schema- and table-first. Your corpus decides this, not a leaderboard. If you are comparing a MinerU alternative, start with how each handles a scanned page, because that is where the two diverge most.
Updated 2026-10-26 · 3 min read
The short version
- –MinerU grew out of the scientific-PDF problem: double columns, inline formulas, Chinese and Japanese papers.
- –Docling grew into a general document model: many input formats, typed output (DoclingDocument, DocTags), pluggable OCR, cell-level tables.
- –Licensing is a real differentiator — Docling is MIT; MinerU has historically shipped under AGPL-3.0, which constrains closed hosted services. Verify for the version you deploy.
- –Both need real compute; both are painful to install on a laptop with no GPU.
- –If your documents are financial tables, compare cell fidelity. If they are papers, compare formulas.
Where each one comes from
MinerU is an OpenDataLab project that absorbed and extended the PDF-Extract-Kit lineage: layout detection, formula recognition, OCR and a Markdown assembler tuned for scientific literature. Its natural output is a paper, faithfully flattened.
Docling comes at documents from the model side: a typed document representation (DoclingDocument) with items, provenance and structure, plus pipelines — standard, VLM, ASR — that fill it in. Its natural output is a data structure you can query.
That origin shows in everything downstream: default outputs, table handling, which formats are first-class, and what breaks first.
Side by side
| Docling | MinerU | |
|---|---|---|
| Primary audience | General business and technical documents | Scientific papers, formulas, CJK literature |
| License | MIT | Historically AGPL-3.0 — verify your version |
| Input formats | PDF, DOCX, PPTX, XLSX, HTML, Markdown, CSV, EPUB, images, more | Mainly PDF and images |
| Table handling | TableFormer: cells, spans, header rows, per-cell bbox | Table structure recognition tuned for paper tables |
| Formula handling | Formula enrichment in the pipeline | Formula recognition is a core strength |
| Output | Markdown, JSON (DoclingDocument), DocTags, HTML, LaTeX, chunks, DCLX | Markdown plus a structured intermediate JSON |
| OCR | Pluggable: RapidOCR, EasyOCR, Tesseract, ocrmac, Nemotron, KServe | Built-in OCR stage (PaddleOCR-family) |
| Serving | docling-serve REST API + UI, MCP server | CLI and service wrappers, community ecosystem |
| Hardware | CPU viable; GPU accelerates | GPU effectively expected for comfortable throughput |
Formulas: MinerU's home ground
If your corpus is arXiv papers and you care that \mathcal{L} survives, MinerU's formula pipeline is the more direct path. Formula recognition is not a side feature there; it is one of the reasons the project exists.
Docling does handle formulas — the pipeline includes enrichment, and it can emit LaTeX — but the emphasis is different: a formula is one item type among many, and the priority is that the surrounding document structure stays intact.
Tables: Docling's home ground
TableFormer predicts a cell grid with spans, which is what a spreadsheet needs. MinerU can output Markdown tables, and on clean paper tables that is fine; on a 12-column financial statement with two header rows and merged cells it is less equipped by design.
The test is simple: take your worst table, parse it with both, and try to build a spreadsheet from the output without re-reading the page. One of them will make you retype things.
CJK and mixed scripts
MinerU has a strong reputation on Chinese and Japanese documents, and its defaults reflect that. Docling can do it well too, but it depends on your engine and language settings — RapidOCR's defaults lean Chinese, Tesseract needs the right language pack, and EasyOCR needs to be told.
This is not a gap in capability so much as a difference in defaults. On a CJK corpus, MinerU is likely to work before you configure anything; Docling will work after setting the languages deliberately.
Licensing, which people forget until launch
Docling is MIT: embed it, modify it, sell a service built on it. MinerU has historically been AGPL-3.0, which carries obligations when you offer the software as a network service. If your plan is a hosted product, read the license for the exact version you deploy before you build a business on it.
This is the kind of issue that is free to check now and expensive to discover after a launch.
How to choose
- Scientific papers, heavy formulas, CJK, and you can live with AGPL → MinerU.
- Business documents: statements, invoices, filings, contracts, multi-format ingestion → Docling.
- You need a spreadsheet with verifiable cells → Docling.
- You need a REST service and an agent interface out of the box → Docling (
docling-serve,docling-mcp). - You need to ship a closed-source product → check licenses first; MIT is the simpler path.
- You need the document converted today → neither, use the browser.
Both projects are worth trying on 30 of your own pages. The install cost is the reason people skip that step, and skipping it is why the wrong tool ends up in production.
Frequently asked questions
Is MinerU better than Docling?+
It is better on formula-dense scientific PDFs and often better out of the box on Chinese documents. Docling is better on business documents and tables where you need cell-level structure. Choose by corpus.
What license is MinerU under?+
MinerU has historically been released under AGPL-3.0. Confirm the license of the specific version you deploy — AGPL has real implications for hosted services.
Can Docling handle Chinese and Japanese PDFs?+
Yes, given the right OCR engine and language settings. RapidOCR defaults toward Chinese, Tesseract needs the matching language pack, and ocrmac inherits macOS Vision. It is configuration, not a missing capability.
Which is faster?+
Depends on hardware and pipeline settings. Docling with CPU RapidOCR is competitive on ordinary documents; MinerU typically assumes a GPU. Measure pages per minute on your own machine.
Can I use both?+
Yes, and routing by document class is a legitimate architecture: papers to MinerU, financial tables to Docling. Keep the verification layer parser-independent so the two outputs are comparable.
Try it online
Run the same pipeline in the browser — no install, no uploads stored.
Try it in the browserKeep reading
- Docling vs LlamaParse
Self-hosted vs managed
- Docling vs Unstructured
Elements vs document model
- Docling vs Marker
Another open-source rival
- OCR languages
CJK configuration
- Papers to Markdown
The workflow both target
- All alternatives
The wider set