Compare
MarkItDown vs the alternatives
No tool is best for every file. We ran MarkItDown, Docling and pymupdf4llm on the same twelve PDFs and three Office files on one machine, with default settings, and published every output. Other tools you may be considering are listed at the end as not tested by us.
Short answer
- Fastest and lightest: MarkItDown (15 seconds and 263 MB for a 184-page PDF), but it finds no headings and fewer tables in PDFs.
- Best structure in our PDF runs: Docling (headings, tables, scanned text), at 791 seconds and about 5.5 GB on four CPU cores.
- Fast with tables: pymupdf4llm (100 seconds for the same file) but see its licence note.
Tested with markitdown 0.1.9 · Python 3.13.18, 4 CPU cores, no GPU, Linux lab container; default settings; one run per file (T16) · 2026-11-16 · evidence: comparison.csv, comparison-office.csv, comparison-tools.csv, t16_compare.py
Which tool for which job
| If your documents are | Our results point to |
|---|---|
| Text PDFs and Office files, speed matters | MarkItDown |
| PDFs with tables and headings that you need | Docling or pymupdf4llm |
| Scans | Docling (other OCR routes) |
Excel where blank cells must not be NaN | Docling in our test; or clean up MarkItDown's output (recipe) |
The benchmark: what we ran
Twelve PDFs: ten generated by us with known content (a bordered and a borderless table, merged cells, a 12-column table, two text columns, headers and footers, bullets, CJK text and a scanned page) and two real public documents. Three Office samples. One process per tool, default settings, CPU only, one run each. The script is t16_compare.py in the evidence folder and every output is in evidence/T16/outputs/.
| Tool | Version | Licence | Python | Models | Formats |
|---|---|---|---|---|---|
| MarkItDown | 0.1.9 | MIT | >=3.10,<3.15 | None (rule-based; optional OCR plugin and vision model) | PDF, Word, Excel, PowerPoint, HTML, CSV, EPUB, ZIP and more |
| Docling | 2.150.1 | MIT | >=3.10 | About 506 MB of models downloaded on first use (Hugging Face cache); PyTorch in the environment | PDF, Word, Excel, PowerPoint, HTML, images and more |
| pymupdf4llm | 2.1 | Package metadata has no licence field; depends on PyMuPDF (AGPL-3.0 or commercial) | >=3.11 | None downloaded by us; OCR on scans came from an engine already installed in our environment | PDF (and a few document types through PyMuPDF) |
Results
| Tool | File | Pages | Seconds | Characters | Headings | Tables | Table rows |
|---|---|---|---|---|---|---|---|
| markitdown | pdf-text.pdf | 1 | 0.04 | 926 | 0 | 0 | 0 |
| markitdown | pdf-table-bordered.pdf | 1 | 0.02 | 332 | 0 | 0 | 0 |
| markitdown | pdf-table-borderless.pdf | 1 | 0.01 | 452 | 0 | 1 | 4 |
| markitdown | pdf-table-merged-cells.pdf | 1 | 0.01 | 33 | 0 | 0 | 0 |
| markitdown | pdf-wide-12-column-table.pdf | 1 | 0.02 | 770 | 0 | 1 | 9 |
| markitdown | pdf-two-column.pdf | 1 | 0.15 | 3529 | 0 | 0 | 0 |
| markitdown | pdf-header-footer.pdf | 3 | 0.04 | 959 | 0 | 0 | 0 |
| markitdown | pdf-bullets-numbered.pdf | 1 | 0.01 | 111 | 0 | 0 | 0 |
| markitdown | pdf-cjk.pdf | 1 | 0.07 | 66 | 0 | 0 | 0 |
| markitdown | pdf-scanned-300dpi.pdf | 1 | 0.01 | 0 | 0 | 0 | 0 |
| markitdown | real-pdf-cfr-21-sec-1-1.pdf | 1 | 0.14 | 4715 | 0 | 0 | 0 |
| markitdown | real-pdf-budget-fy2024.pdf | 184 | 15.06 | 580166 | 0 | 70 | 149 |
| docling | pdf-text.pdf | 1 | 14.19 | 908 | 3 | 0 | 0 |
| docling | pdf-table-bordered.pdf | 1 | 1.86 | 486 | 1 | 1 | 4 |
| docling | pdf-table-borderless.pdf | 1 | 1.84 | 488 | 1 | 1 | 4 |
| docling | pdf-table-merged-cells.pdf | 1 | 1.47 | 151 | 0 | 1 | 3 |
| docling | pdf-wide-12-column-table.pdf | 1 | 0.8 | 548 | 1 | 0 | 0 |
| docling | pdf-two-column.pdf | 1 | 0.82 | 3527 | 0 | 0 | 0 |
| docling | pdf-header-footer.pdf | 3 | 2.58 | 826 | 3 | 0 | 0 |
| docling | pdf-bullets-numbered.pdf | 1 | 0.79 | 89 | 1 | 0 | 0 |
| docling | pdf-cjk.pdf | 1 | 0.91 | 66 | 1 | 0 | 0 |
| docling | pdf-scanned-300dpi.pdf | 1 | 2.1 | 127 | 1 | 0 | 0 |
| docling | real-pdf-cfr-21-sec-1-1.pdf | 1 | 0.9 | 4137 | 4 | 0 | 0 |
| docling | real-pdf-budget-fy2024.pdf | 184 | 791.34 | 789587 | 130 | 41 | 1104 |
| pymupdf4llm | pdf-text.pdf | 1 | 0.72 | 938 | 4 | 0 | 0 |
| pymupdf4llm | pdf-table-bordered.pdf | 1 | 0.21 | 361 | 1 | 1 | 4 |
| pymupdf4llm | pdf-table-borderless.pdf | 1 | 0.19 | 363 | 1 | 1 | 4 |
| pymupdf4llm | pdf-table-merged-cells.pdf | 1 | 0.17 | 50 | 0 | 1 | 3 |
| pymupdf4llm | pdf-wide-12-column-table.pdf | 1 | 0.18 | 555 | 1 | 0 | 0 |
| pymupdf4llm | pdf-two-column.pdf | 1 | 0.21 | 3532 | 0 | 0 | 0 |
| pymupdf4llm | pdf-header-footer.pdf | 3 | 0.31 | 990 | 3 | 0 | 0 |
| pymupdf4llm | pdf-bullets-numbered.pdf | 1 | 0.12 | 104 | 1 | 0 | 0 |
| pymupdf4llm | pdf-cjk.pdf | 1 | 0.11 | 69 | 1 | 0 | 0 |
| pymupdf4llm | pdf-scanned-300dpi.pdf | 1 | 1.6 | 130 | 1 | 0 | 0 |
| pymupdf4llm | real-pdf-cfr-21-sec-1-1.pdf | 1 | 0.3 | 4370 | 4 | 0 | 0 |
| pymupdf4llm | real-pdf-budget-fy2024.pdf | 184 | 100.5 | 556742 | 158 | 37 | 898 |
We counted structure (headings, tables), not text accuracy, and we judged some outputs by eye. The structure counts do not say whether a table's cells are right: look at the outputs for the cases you care about (the Docling page shows several).
The same page through every tool
# **Measurements (bordered table)**
Rainfall across the three stations rose steadily through the spring. Sensors reported every ten minutes and the readings were averaged per day.
|Station|Rainfall (mm)|Uptime|Notes|
|---|---|---|---|
|Alpha|412.5|99.2%|Battery low|
|Bravo|388.0|97.8%|OK stable|
|Charlie|451.3|99.9%|New sensor|
Measurements (bordered table)
Rainfall across the three stations rose steadily through the spring. Sensors reported every ten minutes and the readings were averaged per day.
| Station | Rainfall (mm) | Uptime | Notes |
|---|---|---|---|
| Alpha | 412.5 | 99.2% | Battery low |
| Bravo | 388.0 | 97.8% | OK stable |
| Charlie | 451.3 | 99.9% | New sensor |
Measurements (bordered table)
Rainfall across the three stations rose steadily through the spring. Sensors reported every ten
minutes and the readings were averaged per day.
Station Rainfall (mm) Uptime Notes
Alpha
412.5
99.2% Battery low
Measurements (bordered table) Rainfall across the three stations rose steadily through the spring. Sensors reported every ten minutes and the readings were averaged per day.
Station Rainfall (mm) Uptime Notes
Alpha
412.5
99.2% Battery low
pymupdf4llm and Docling both produced a Markdown table with the right cells; MarkItDown printed the cells one per line.
A licence note
pymupdf4llm's own package metadata has no licence field. It depends on PyMuPDF, whose package metadata says "Dual Licensed - GNU AFFERO GPL 3.0 or Artifex Commercial License": check this before using it in a commercial product. The same dependency comes with MarkItDown's OCR plugin (OCR page).
One page per tool
Tools we did not test
Marker (tested), MinerU (attempted, no result), Pandoc (tested), markdownify, Unstructured and others are common alternatives. We did not test markdownify or Unstructured and give no results for them.
Is MarkItDown good? Our assessment
On our files it is a fast, light converter that gets text out reliably and structure out only sometimes. That matches what its design promises: text for language models, not a faithful rendering. If your PDFs have tables you need, or are scans, plan for another step or another tool.