Skip to content

OCR Benchmark Rankings

15 PDF text readers measured on 1,109 PDFs that already contain their text. Every character comes from the file itself, with no OCR. Some readers also look at the page image to work out the layout, and those are marked. Use this ranking for PDFs made by software, such as invoices, reports and exports. For scans and photos, see Image documents.

Models ranked
15 readers ranked
Corpus
1,109 digital pages · 5,244 rule tests
Published
Published Nov 6, 2026

What the text layer can’t give you

A PDF’s text layer stores words, not tables or formulas. Plain text readers lose that structure. Only a reader that adds layout analysis gets some of it back (68% of table structure at best), and none gets equations right (0% at best). If you need tables or formulas exactly, an OCR model that reads the page image may be worth its price; see Image documents.

Leaderboard

One row per reader. Ranked by text quality: reading order and small text. Tables and equations are shown separately; rank by tables if that's what you need.

15 ranked readers · click a column to sort

RankReader
1pdftotext
Poppler · GPL-2.0-or-later
82.879.7–85.97591002528ms
2OpenOCR PDF Text Layer (poppler)
OpenOCR
Looks at the page image to leave out hidden text (no OCR)
82.479.2–85.6Tied for first74910025169ms
3OpenOCR PDF Text Layer (pdfium)
OpenOCR
Looks at the page image to leave out hidden text (no OCR)
77.669.3–85.1Tied for first80760034401ms
4PyMuPDF4LLM
Artifex · AGPL-3.0 or commercial
Uses a small layout model on the page image; the text still comes from the file
77.371.9–82.8777868030234ms
5pdfplumber (text-flow settings)
Jeremy Singer-Vine · MIT
75.470.5–80.36685003669ms
6pypdfium2
Google PDFium / pypdfium2 · Apache-2.0 / BSD-3-Clause
75.066.7–82.5747600347ms
7PyMuPDF
Artifex · AGPL-3.0 or commercial
72.767.9–77.36382003410ms
8OpenOCR PDF Text Layer (pdfminer)
OpenOCR
Looks at the page image to leave out hidden text (no OCR)
71.869.0–74.853910029207ms
9pdftext
Datalab · Apache-2.0
64.157.0–71.76465002518ms
10pdfminer.six
pdfminer.six · MIT
61.449.0–71.957650029105ms
11pypdf
py-pdf · BSD-3-Clause
60.750.5–69.25765003764ms
12MarkItDown
Microsoft · MIT
42.631.2–54.9473822033198ms
13pdfplumber + tables (text-flow settings)
Jeremy Singer-Vine · MIT
28.217.5–40.021363003769ms
14pdfplumber + tables (default settings)
Jeremy Singer-Vine · MIT
6.24.6–7.91203003870ms
15pdfplumber (default settings)
Jeremy Singer-Vine · MIT
5.94.3–7.5120003769ms

How the Text PDFs ranking works

The corpus is the 1,109 born-digital pages of AI2’s olmOCR-bench (ODC-BY-1.0). Its answers are human-checked facts about what a reader sees on each page: a sentence is present, one paragraph comes before another, a table cell sits under its header, an equation is right. We don’t grade against the PDF’s own text, because an answer key made by one reader would reward that reader. Readers may look at the page image, including with a small layout model on the CPU, but they may not run OCR, use a GPU or call any outside service, and that is enforced rather than assumed. A page answered with almost nothing fails every test on it. Layout modes (pdftotext -layout, PyMuPDF sorted, pypdf layout) mix up the columns and score under 12, so they aren’t listed separately.

Generation text-pdfs-v2, published 2026-11-06.