# MarkItDown vs Marker

> MarkItDown 0.1.9 and Marker 2.2.0 on the same 11 PDFs: tables, headings and a scan, with Marker's outputs, its two failures, its licence metadata and a CPU run.

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

Marker is built to turn PDFs into structured Markdown. On our 11 PDFs it found every table MarkItDown missed, read the 12-column table correctly, recognised the scanned page, and was fast. It failed on one file with an error and returned nothing for another. The two ran on different machines, so compare structure, not seconds.

> **Short answer**
>
> -   **Tables, headings and the scan:** Marker did better in our runs, including the 12-column table that MarkItDown and Docling both got wrong.
> -   **Failures:** one error (the CJK file) and one empty output (headers and footers on three pages).
> -   **Licence:** Marker's package metadata says Apache-2.0; read the licence of the model weights yourself, which we did not.

Tested with markitdown 0.1.9 · Python GitHub-hosted Ubuntu runner, 4 CPU cores, no GPU, Python 3.12.16; marker-pdf 2.2.0 with default settings, one run per file; MarkItDown from the earlier lab run (T16) · 2026-11-16 · evidence: [comparison-marker.csv](https://markitdown.dev/data/comparison-marker.csv), [comparison.csv](https://markitdown.dev/data/comparison.csv), [marker.json](https://markitdown.dev/evidence/T16/marker.json)

## Results

Marker 2.2.0 on 11 PDFs (CPU, default settings, one run each)
| File | Seconds | Characters | Headings | Tables | Table rows | Error |
| --- | --- | --- | --- | --- | --- | --- |
| `pdf-text.pdf` | 3.1 | 916 | 4 | 0 | 0 |  |
| `pdf-table-bordered.pdf` | 0.2 | 456 | 1 | 1 | 4 |  |
| `pdf-table-borderless.pdf` | 0.1 | 458 | 1 | 1 | 4 |  |
| `pdf-table-merged-cells.pdf` | 0.2 | 56 | 0 | 1 | 2 |  |
| `pdf-wide-12-column-table.pdf` | 0.5 | 894 | 1 | 1 | 9 |  |
| `pdf-two-column.pdf` | 0.3 | 3531 | 1 | 0 | 0 |  |
| `pdf-header-footer.pdf` | 0.5 | 0 | 0 | 0 | 0 |  |
| `pdf-bullets-numbered.pdf` | 0.2 | 90 | 1 | 0 | 0 |  |
| `pdf-cjk.pdf` | 0.2 | 0 | 0 | 0 | 0 | TypeError: 'NoneType' object is not iterable |
| `pdf-scanned-300dpi.pdf` | 0.5 | 129 | 1 | 0 | 0 |  |
| `real-pdf-cfr-21-sec-1-1.pdf` | 0.6 | 4170 | 1 | 0 | 0 |  |

*Marker 2.2.0 on 11 PDFs (CPU, default settings, one run each) Source: Test T16 · marker-pdf 2.2.0 · GitHub runner · 2026-11-16 · comparison-marker.csv · Download CSV*

MarkItDown found 0 headings in all of these, and tables in 2 of the 4 table files (one of them wrongly merged) ([Docling page](https://markitdown.dev/compare/docling/)).

## The same pages

````markdown
## Wide table

| C0   | C1   | C2   | C3   | C4   | C5   | C6   | C7   | C8   | C9   | C10   | C11   |
|------|------|------|------|------|------|------|------|------|------|-------|-------|
| r1c0 | r1c1 | r1c2 | r1c3 | r1c4 | r1c5 | r1c6 | r1c7 | r1c8 | r1c9 | r1c10 | r1c11 |
| r2c0 | r2c1 | r2c2 | r2c3 | r2c4 | r2c5 | r2c6 | r2c7 | r2c8 | r2c9 | r2c10 | r2c11 |
````

*marker__pdf-wide-12-column-table.pdf.md · 894 bytes · first 6 of 12 lines shown*

````markdown
## SCANNED PAGE: Field Station Alpha

Rainfall rose 12% year on year.

Sensor uptime reached 99.2%.

This page has no text layer.
````

*marker__pdf-scanned-300dpi.pdf.md · 129 bytes*

## Where Marker failed

````markdown
TypeError: 'NoneType' object is not iterable
````

*marker__pdf-cjk.pdf.md · 44 bytes*

The file with a repeated header and footer on three pages came back empty. We did not investigate either.

## What we did not test

Speed on large PDFs, memory, GPU use, Marker's optional LLM mode, other formats, and the licence terms of its model weights. Marker took 3 to 4 seconds on the first file and well under a second on the rest, which looks too fast for large models: we did not check which models it ran.

## Which to use

For PDFs where tables and scans matter, Marker did better in our runs. Check its failures on your own files first.

## Related

- [MarkItDown vs alternatives](https://markitdown.dev/compare/): The wider comparison.
- [vs Docling](https://markitdown.dev/compare/docling/): MarkItDown against Docling.
- [PDF to Markdown](https://markitdown.dev/formats/pdf/): PDF behaviour in MarkItDown.
- [OCR and scanned files](https://markitdown.dev/ocr/): OCR routes.

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