# MarkItDown vs the alternatives

> MarkItDown against Docling and pymupdf4llm on the same PDFs and Office files, CPU only, with every output and the script. Other tools listed as untested.

Source: https://markitdown.dev/compare/ · Updated 2026-11-16·Upstream source ↗

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](https://markitdown.dev/data/comparison.csv), [comparison-office.csv](https://markitdown.dev/data/comparison-office.csv), [comparison-tools.csv](https://markitdown.dev/data/comparison-tools.csv), [t16\_compare.py](https://markitdown.dev/evidence/T16/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](https://markitdown.dev/ocr/)) |
| Excel where blank cells must not be `NaN` | Docling in our test; or clean up MarkItDown's output ([recipe](https://markitdown.dev/formats/excel/)) |

## 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/`.

The tools as installed for this test
| 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) |

*The tools as installed for this test Source: Test T16 · 2026-11-16 · comparison-tools.csv · Download CSV*

## Results

Seconds, output size, headings and tables found, per tool and file
| 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 |

*Seconds, output size, headings and tables found, per tool and file Source: Test T16 · markitdown 0.1.9 · Docling 2.150.1 · pymupdf4llm 2.1 · one run each · comparison.csv · Download CSV*

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](https://markitdown.dev/compare/docling/)).

## The same page through every tool

````markdown
# **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|

````

*pymupdf4llm__pdf-table-bordered.pdf.md · 361 bytes · first 12 of 15 lines shown*

````markdown
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
````

*markitdown__pdf-table-bordered.pdf.md · 332 bytes · first 12 of 27 lines shown*

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](https://markitdown.dev/ocr/)).

## One page per tool

- [MarkItDown vs Docling](https://markitdown.dev/compare/docling/): Tables, headings, scans and cost.
- [MarkItDown vs Marker](https://markitdown.dev/compare/marker/): Tables and scans on CPU.
- [MarkItDown vs Pandoc](https://markitdown.dev/compare/pandoc/): Which converts what.
- [MarkItDown vs MinerU](https://markitdown.dev/compare/mineru/): What happened when we tried.

## Tools we did not test

Marker ([tested](https://markitdown.dev/compare/marker/)), MinerU ([attempted, no result](https://markitdown.dev/compare/mineru/)), Pandoc ([tested](https://markitdown.dev/compare/pandoc/)), 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.

## Related

- [vs Docling](https://markitdown.dev/compare/docling/): MarkItDown against Docling in detail.
- [PDF to Markdown](https://markitdown.dev/formats/pdf/): How MarkItDown handles PDFs.
- [OCR and scanned files](https://markitdown.dev/ocr/): OCR routes for scanned files.
- [Supported formats](https://markitdown.dev/formats/): Every format MarkItDown converts.

---
Independent guide to the open-source MarkItDown library. Not affiliated with or endorsed by Microsoft. Official source: https://github.com/microsoft/markitdown
