Docling OCRIndependent Docling guide

Accuracy

What Docling gets right (and what it quietly drops)

Docling is genuinely good at one thing and honest about the rest: it reconstructs table structure better than most, and when it fails it tends to fail loudly rather than silently corrupting numbers. But it drops formulas and images, and scanned pages are not its strength. Here is the honest map.

Updated 2026-10-26 · 3 min read

The short version

  • –Docling is strongest on table structure — it is frequently cited at ~97.9% on the DocLayNet table benchmark and is a common recommendation for text- and table-heavy financial documents.
  • –Its defining trait is that it "fails loudly": when a table is wrong, you see it. Mathpix and Marker have both been observed silently altering values in dense tables — the more dangerous failure mode.
  • –The weaknesses are specific: it drops formulas and images in the standard pipeline, and its OCR on scans is weaker than Marker or MinerU on the same pages.
  • –Benchmarks disagree with each other — Docling leads on DocLayNet, trails MinerU on OmniDocBench — so the only accuracy number that matters is one measured on your documents.

Where the "97.9%" number comes from

The figure you see quoted — 97.9% table accuracy — is a DocLayNet score, a specific benchmark of layout and table structure on a standard corpus. It is a real measurement, but like every benchmark it answers a narrow question: how well does the model recover structure on documents similar to the test set.

Treat it as a signal, not a guarantee. The same tool that leads one benchmark can trail another — on the OmniDocBench TableEdit metric, Docling 2.14 scores 0.627 (English) while MinerU scores 0.161. The two numbers are measuring different things on different corpora, and both are true.

The trait that actually matters: it fails loudly

For any workflow where a wrong number has consequences — underwriting, accounting, RAG over financials — the worst failure is not a low score, it is a silent error: output that looks right but is not. That is the failure mode you cannot catch by glancing at the result.

In side-by-side tests of dense numerical tables, Mathpix was observed swapping 87,416 into 100.0% and dropping dividends, and Marker was observed detaching row labels from their values. Docling's documented behaviour is the opposite: when it cannot reconstruct a table confidently, the breakage is visible rather than plausible-but-wrong. That is not a higher accuracy score — it is a safer failure mode, and for financial work it is often the more important property.

What it drops: formulas and images

The standard pipeline is text- and table-first. Inline and display equations are not turned into LaTeX by default, and images are not described — they may be dropped from the output entirely. If you are converting an academic paper and need the math preserved, that is a real limitation.

The VLM pipeline (--pipeline vlm, Granite Docling and similar) is the answer, at a steep speed and memory cost — see the VLM pipeline guide. For formula-heavy work you may also find MinerU or Mathpix keep math more faithfully; for scanned pages, Marker is often stronger. The right tool really does depend on the document.

Scanned pages are the weak spot

Docling's OCR works, but it is not the best-in-class recognizer. On clean born-digital PDFs it is excellent; on faded scans, handwritten annotations and low-resolution images, Marker and MinerU have been measured stronger. If your corpus is mostly scans, budget for a comparison before committing.

The practical move: keep OCR off for text-native PDFs (it is wasted time), and for scans pick the engine that does best on your documents — the OCR engines guide covers RapidOCR, EasyOCR, Tesseract and the rest.

How to know if it is accurate enough for you

  • Define the failure that matters. For financial tables it is silent value changes; for a reading app it is sentence order. Score the one that costs you.
  • Test on 20–40 of your own pages, with a known-correct transcription. A benchmark on someone else's invoices tells you almost nothing about yours.
  • Add a verification step for tables — Docling's loud failures mean a spot-check catches most errors. See Docling to Excel for the reconciliation workflow.
  • Re-test after upgrades. The model set changes between releases, and a version bump can move accuracy on your corpus either direction.

The honest summary: Docling is the safe default for text- and table-heavy documents — it fails visibly and does not quietly corrupt numbers. For formulas or scanned-heavy corpora, compare it against MinerU or Marker on your own files before standardizing.

Frequently asked questions

How accurate is Docling?+

Strong on table structure (cited at ~97.9% on DocLayNet) and text reading order. Its real strength is that failures are visible rather than silent. Formulas, images and scanned pages are where it is weakest.

Does Docling make silent errors?+

Not the dangerous kind. Unlike Mathpix and Marker, which have been observed silently altering values in dense tables, Docling tends to fail visibly — the breakage shows in the output so a spot-check catches it.

Does Docling extract formulas and equations?+

Not in the standard pipeline — it is text- and table-first. Use the VLM pipeline for equation-heavy documents, or compare MinerU and Mathpix for that specific need.

Is Docling better than MinerU or Marker?+

Depends on the document and benchmark. Docling leads on DocLayNet tables; MinerU leads on OmniDocBench and handles formulas better; Marker is stronger on scanned pages. Test on your own corpus.

Should I verify Docling output before using it?+

Yes, especially for numbers. Add a reconciliation step for tables — Docling fails loudly, so a spot-check against the source page catches most problems cheaply.

Try it online

Run the same pipeline in the browser — no install, no uploads stored.

Try it in the browser

Keep reading