Tools,

Docling vs Marker vs MinerU on the same PDFs

234 of 234

table cells right: Docling, alone of the three

Get the compare script

No tool won every test

Defaults on 2 born-digital PDFs
Tool Two-column words in order, of 644 Table cells right, of 234
Docling 2.150.1 554 234
Marker 2.2.0 643 216
MinerU 4.2.3 643 216
MarkItDown 0.1.9 432 99

We made both PDFs, so every word is known: a two-column paper with 2 tables and 4 formulas, and a report with 3 tables.

Docling read 3 paragraphs from the top of the right column before the introduction:

Here c is the number of right words and n is ...
<!-- formula-not-decoded -->
...
## 1 Introduction

Marker and MinerU broke table headers

Cells right per table (Docling got all)
Table Marker MinerU
Full width, 3 rules 27 of 30 12 of 30
Ruled, in one column 17 of 20 20 of 20
No lines 29 of 32 32 of 32
33 rows across a page break 128 of 132 132 of 132
Wrapped cells 15 of 20 20 of 20

MinerU cut the wide header mid-word:

| Field Nort | h Street Mi | ll Lane Harb | or Road All Sh | are (%) |

Marker joined header cells and split wrapped cells into extra rows. With --mode balanced it got 231 of 234, in 47 s instead of 27 s for 20 pages.

Formulas: MinerU by default, Docling if asked

4 numbered formulas, 2-page paper
Tool LaTeX right Time
MinerU (server running) 4 5.8 s
Docling, --enrich-formula 4 362 s
Marker, --mode balanced 2 27 s
Marker 1 10 s
Docling 0 19 s

By default Docling writes <!-- formula-not-decoded -->. Its formula model ran on the CPU here.

Marker left 3 of the 4 formulas as text and turned 2 fractions upside down: A = c/n came out as 𝐴 = 𝑛 𝑐 (1).

All three flattened the headings

Docling and Marker wrote all 15 headings as ##, title and subsections alike. MinerU did too, but put the title and author line in one # heading.

Marker also made the author line a heading. Docling and Marker dropped the running heads and page numbers. MinerU kept both as body text.

20 pages: Marker 27 s, Docling 92 s

Both PDFs 5 times, Mac with Apple M5 Max
Tool 20 pages Peak memory
Marker 27 s 1.2 GB
MinerU (server running) 30 s 5.4 GB
Marker, --mode balanced 47 s 4.3 GB
Docling 92 s 1.6 GB
MarkItDown 3.1 s 0.1 GB

Each tool picked the Mac GPU or not by itself. MinerU runs a background server that holds about 4 GB with its models loaded. The others load theirs on each run.

Licenses: read Marker's weights terms

From each repo and model card, Nov 17
Tool Code Business limit
Docling MIT None stated
Marker Apache-2.0 Weights: over $5M revenue or funding
MinerU Own license Over 100M monthly users or $20M a month
MarkItDown MIT None, no models

Marker's weights use a modified OpenRAIL-M license. MinerU's license is Apache 2.0 plus terms: an online service must say it uses MinerU.

Which one to pick

Compare them on your own PDF

Two test files are not your files. This script runs all three on one PDF and times each.

Download compare.sh

sh compare.sh file.pdf
Show the script (24 lines)
# compare.sh: turn one PDF into Markdown with Docling, Marker and MinerU, to compare them on your own files.
# Brasspage, Nov 2026. Free to use, no warranty.
#
# One time (Python 3.12, about 7 GB with the models):
#   python3.12 -m venv v-docling && v-docling/bin/pip install docling
#   python3.12 -m venv v-marker && v-marker/bin/pip install marker-pdf
#   python3.12 -m venv v-mineru && v-mineru/bin/pip install mineru
#   v-mineru/bin/mineru-kit models download --tier standard
#
# Run: sh compare.sh file.pdf    Writes out/docling/, out/marker/ and out/mineru.md
set -e
f="$1"
mkdir -p out
time v-docling/bin/docling "$f" --to md --output out/docling
time v-marker/bin/marker_single "$f" --output_dir out/marker

export MINERU_TELEMETRY_DISABLED=1 # MinerU sends usage data unless this is set
m=v-mineru/bin/mineru
$m server start
$m config set parse_server.local.mode managed
$m server restart
until $m server status | grep -q "Local  │ yes"; do sleep 2; done # models load in about 20 s
time $m parse "$f" --pages all --no-marker --force --tier standard -o out/mineru.md
$m server stop # it keeps a copy of each PDF and result in ./blobs/

It writes out/docling/, out/marker/ and out/mineru.md. We ran it as printed on our paper.

How we tested
  • Both PDFs made by us with Typst, all text made up, so the true text is known. Paper: 2 pages, two columns, a full-width table, a ruled table, 4 numbered formulas, a footnote, a running head. Report: 2 pages, 3 tables, lists, a running head.
  • Words in order: true body words found in order, tables and formulas left out. A table cell counts when the right text sits in the right row and column. Formulas judged by reading each one.
  • Each tool's own command line with its defaults, one run at a time, after one warm-up run. MinerU used its local server at tier standard.
  • Python 3.12, macOS 26.6. Scripts, outputs and scores: research/bench/docling-vs-marker-2026-11-17/ in our repo.
Sources

Digital pages free, scans $0.006

No install. Our Apify Actor turns PDFs into Markdown. Pages with their own text have no page fee. Its code got 234 of 234 cells here.

Try the Actor

Or send us the scan. Tack, our AI, does the job for $29, up to 50 pages. First page free.

Get one page free

Two columns trip it up: it read 498 of 644 words in order and kept the running heads.

Questions people ask

Is Docling better than Marker?

For tables, yes: on our 2 PDFs Docling got 234 of 234 table cells and Marker 216. Marker kept the two-column reading order (643 of 644 words, Docling 554) and was faster.

Does Docling extract formulas as LaTeX?

Not by default. It writes a formula-not-decoded comment. With --enrich-formula it wrote all 4 of our formulas as LaTeX, but the 2-page paper took 362 seconds instead of 19.

Is Marker free for commercial use?

The code is Apache-2.0. The model weights are not free for a company with over $5M in revenue last year or over $5M raised, or one that competes with Datalab. Personal and research use are exempt from the $5M limits.

Is MinerU free for commercial use?

Yes, below 100 million monthly active users and USD 20 million monthly revenue. An online service built on it must say that it uses MinerU.

Docling or MarkItDown?

MarkItDown runs no models, so it read 20 pages in 3.1 seconds. It wrote no headings, got 99 of 234 table cells and 432 of 644 words in order on two columns. Docling got 234 and 554.