Docling logo: a duck holding a documentDocling 01 · DocLang 02 · Prompts 03 · Pictures 04 · Lists 05 · Tables 06 · Reading order 07 · 500M router 08 · Results
Three Docling ducks with hammers and chisels carving a granite statue of a duck that holds a DocLang scroll

Granite Docling V2

Lean on compute, rich in structure.

2B 500M

Meet DocLang.
One markup for the whole page.

Efficient Each tag and each coordinate is a single token.
First models Granite Docling V2 are the first to write it.
Open standard · doclang.ai
Founded by
IBM NVIDIA Red Hat ABBYY HumanSignal LF AI & Data
NaH2PO4
heading
text
NaH2PO4
table
picture
caption
text
34is one location token.
DocLang
<doclang>
<heading level="1">
<location value="34"/><location value="33"/>
<location value="384"/><location value="62"/>
2 Experimental Setup</heading>
<text>3484478179
Slices were kept in 1.25 mM <formula>NaH_{2}PO_{4}</formula> at 37<superscript>o</superscript>C before recording …
</text>
<table>34205478347
<ched/>Condition<ched/>Rate<ched/>n<nl/>
<fcel/>Control<fcel/>4.2<fcel/>12<nl/>
<fcel/>Treated<fcel/>6.9<fcel/>11<nl/>
</table>
<picture>34369290450
<caption>34464290490
Figure 3: Recording setup.</caption>
</picture>
<text>306372478446 … </text>
</doclang>

Ask for only
what you need.

Prompt
<doclang>
<doclang> [<table>, <layout>]
<doclang> [<ocr>, <layout>, <picture>]
<doclang> [<detailed>]
<ocr> <layout> <table> <formula> <picture> <code> <detailed>
<ocr> <layout> <table> <formula> <picture> <code> <detailed>
<ocr> <layout> <table> <formula> <picture> <code> <detailed>
<ocr> <layout> <table> <formula> <picture> <code> <detailed>
The whole page.
Only the tables, with their position.
Text, layout and pictures.
The whole page, plus a description of every picture.

Seven tasks, in any combination. The model decodes nothing else.

+ description

Pictures, inside and out.

Page of a Japanese IBM manual with a network diagram labelled in English and a Japanese caption
picture · electrical_diagram
caption
<label value="electrical_diagram"/> <caption>図 11. TN サーバー</caption>
<text>TN Server Configuration</text> <text>Host</text> + 13 more, all inside the picture
[<detailed>]<description>This diagram illustrates the TN Server Configuration setup, featuring a central server with a host and a client running a TN3270. A network connects to a server with a SNA Node Running TN Server, while a TCP/IP network links to the same.</description>

Down to the detail.
Even the list markers.

Indonesian economics exam with numbered questions, lettered options and numbered statements
<list class="ordered">
<ldiv><marker>a.</marker></ldiv>51157105163 Rp3.000,00
<ldiv><marker>b.</marker></ldiv>51164105169 Rp6.000,00
… </list>
<list class="ordered">
<ldiv><marker>7.</marker></ldiv>36197310203 Berikut adalah… </list>
<list class="ordered">
<ldiv><marker>1.</marker></ldiv>51211286216 Pak Heru menyimpan uangnya…
<ldiv><marker>2.</marker></ldiv>51217323223 Tn. Raditio melakukan…

Tables keep
their merged cells.

The price table from the Indonesian exam, with a header cell spanning three year columns

Rebuilt from the model's cell tokens:

No
Jenis barang
Harga Barang (rupiah per satuan)
2013
2014
2015
1
Gula
7.500,00
8.000,00
11.000,00
2
Telur
15.000,00
18.500,00
21.250,00
3
Terigu
5.000,00
6.500,00
8.000,00
<ched/>No<ched/>Jenis barang<ched/>Harga Barang (rupiah per satuan)<lcel/><lcel/><nl/>
<ucel/><ucel/><ched/>2013<ched/>2014<ched/>2015<nl/>
<fcel/>1<fcel/>Gula<fcel/>7.500,00<fcel/>8.000,00<fcel/>11.000,00<nl/> …

<lcel/> joins the cell on its left. <ucel/> joins the cell above.

Two-column research paper page with a chart, formulas and a heading
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

In reading order.

Down the first column, then across to the second, the way a person reads the page.

The 500M picks
its own resolution.

64 tokens / tile Sparse page: read coarse, and fast.
256 tokens / tile Dense page: read fine, every glyph.

A tiny density router, 0.1M parameters, looks at each page first and decides.

Fast. Multilingual. Accurate.

18.5 pages per second
with the 500M on one H100.
About 10 with the 2B.
中文 日本語 한국어 हिन्दी Русский العربية
Far better beyond English, and on handwriting.
The most accurate system we measured. 10 benchmarks · 20,000+ pages · about 6× fewer errors than Granite-Docling 258M
The granite Docling statue and the three ducks carving it

Granite Docling V2

2B and 500M

Modelshuggingface.co/ibm-granite Try itgranite-docling-v2-playground Reportarxiv.org/abs/2611.37727 Resultsdocling.ai/benchmarks