Compare

MarkItDown vs the alternatives

Updated 2026-11-16·Upstream source ↗
Markdown view

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 areOur results point to
Text PDFs and Office files, speed mattersMarkItDown
PDFs with tables and headings that you needDocling or pymupdf4llm
ScansDocling (other OCR routes)
Excel where blank cells must not be NaNDocling 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/.

The tools as installed for this test
ToolVersionLicencePythonModelsFormats
MarkItDown0.1.9MIT>=3.10,<3.15None (rule-based; optional OCR plugin and vision model)PDF, Word, Excel, PowerPoint, HTML, CSV, EPUB, ZIP and more
Docling2.150.1MIT>=3.10About 506 MB of models downloaded on first use (Hugging Face cache); PyTorch in the environmentPDF, Word, Excel, PowerPoint, HTML, images and more
pymupdf4llm2.1Package metadata has no licence field; depends on PyMuPDF (AGPL-3.0 or commercial)>=3.11None downloaded by us; OCR on scans came from an engine already installed in our environmentPDF (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
ToolFilePagesSecondsCharactersHeadingsTablesTable rows
markitdownpdf-text.pdf10.04926000
markitdownpdf-table-bordered.pdf10.02332000
markitdownpdf-table-borderless.pdf10.01452014
markitdownpdf-table-merged-cells.pdf10.0133000
markitdownpdf-wide-12-column-table.pdf10.02770019
markitdownpdf-two-column.pdf10.153529000
markitdownpdf-header-footer.pdf30.04959000
markitdownpdf-bullets-numbered.pdf10.01111000
markitdownpdf-cjk.pdf10.0766000
markitdownpdf-scanned-300dpi.pdf10.010000
markitdownreal-pdf-cfr-21-sec-1-1.pdf10.144715000
markitdownreal-pdf-budget-fy2024.pdf18415.06580166070149
doclingpdf-text.pdf114.19908300
doclingpdf-table-bordered.pdf11.86486114
doclingpdf-table-borderless.pdf11.84488114
doclingpdf-table-merged-cells.pdf11.47151013
doclingpdf-wide-12-column-table.pdf10.8548100
doclingpdf-two-column.pdf10.823527000
doclingpdf-header-footer.pdf32.58826300
doclingpdf-bullets-numbered.pdf10.7989100
doclingpdf-cjk.pdf10.9166100
doclingpdf-scanned-300dpi.pdf12.1127100
doclingreal-pdf-cfr-21-sec-1-1.pdf10.94137400
doclingreal-pdf-budget-fy2024.pdf184791.34789587130411104
pymupdf4llmpdf-text.pdf10.72938400
pymupdf4llmpdf-table-bordered.pdf10.21361114
pymupdf4llmpdf-table-borderless.pdf10.19363114
pymupdf4llmpdf-table-merged-cells.pdf10.1750013
pymupdf4llmpdf-wide-12-column-table.pdf10.18555100
pymupdf4llmpdf-two-column.pdf10.213532000
pymupdf4llmpdf-header-footer.pdf30.31990300
pymupdf4llmpdf-bullets-numbered.pdf10.12104100
pymupdf4llmpdf-cjk.pdf10.1169100
pymupdf4llmpdf-scanned-300dpi.pdf11.6130100
pymupdf4llmreal-pdf-cfr-21-sec-1-1.pdf10.34370400
pymupdf4llmreal-pdf-budget-fy2024.pdf184100.555674215837898
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).

The same page through every tool

pymupdf4llm on the bordered table
# **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 output (.md)
MarkItDown on the bordered table
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 output (.md)

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.