# LlamaIndex introduces the Document Parsing Protocol for consistent document parsing

> Original title: Introducing the Document Parsing Protocol (DPP)

- Source: Jerry Liu
- Published: 2026-10-28T18:50:32.000Z
- Bad Influence: https://badinfluence.news/items/y1dzd8zsf4k16s63zegh93dqw
- Original: https://x.com/jerryjliu0/status/2115516581925315034

## Summary

LlamaIndex has released a working draft of the Document Parsing Protocol (DPP), a set of 140 rules for parsing text, tables, forms, charts, and diagrams. The rules come with example pages and expected outputs, and can serve as an evaluation rubric for LLMs. The draft is available as a Claude skill and a ChatGPT reference file for feedback.

## Post

Introducing the Document Parsing Protocol (DPP) 

There are hundreds of different OCR models and tools, but they might all parse a document in different ways. 

Some errors are very clear-cut (e.g. hallucinating text, or completely misaligning a table), but many errors are much more ambiguous (e.g. how to represent split tables sharing a header). It's an issue that plagues most parse benchmarks too, because they inherently reward a certain style even if other styles might be semantically correct. 

We introduce a protocol that proposes a standard way of parsing these documents into a correct format. We've curated a list of 140 rules that cover literally every aspect of doc parsing, for instance:
- tables: borderless whitespace tables, header-only tables, horizontal slicing, side-by-side mini tables
- forms: key-value regions, checkboxes, checklists, ids and labels, fields outside the form, 
- charts: standardized chart output, multiple charts, gantt charts, line charts

You can use DPP as an evaluation rubric for LLMs when determining the quality of parsing a document. 

It's not a full evaluation benchmark (yet), but an initial evaluation guide, and meant to encourage a discussion on what are the "best" ways to parse a document.

Check it out: https://www.parseprotocol.com/guide/forms-forms-and-key-value-regions

Blog: https://www.llamaindex.ai/blog/introducing-the-document-parsing-protocol

![](https://badinfluence.news/api/img-proxy?u=https%3A%2F%2Fpbs.twimg.com%2Fmedia%2FHVvRMStbAAAy4UD.jpg&mode=thumb&exp=1795651200&sig=fc7e8053cbea7e4c)

## Quoted post @llama_index

> Is that a table, or just text that happens to line up?
> If a table has two header rows, should the output preserve both?
> 
> Parsers make these judgment calls differently. Those differences shape what your agent understands about a document.
> 
> We built the Document Parsing Protocol (DPP) to give those decisions a shared rulebook.
> 
> DPP covers text, tables, forms, charts, and diagrams, and even includes chemical structures and music notation. Each rule comes with example pages and expected outputs to make it concrete.
> 
> The working draft is live, and we’d love your feedback :) Get the Claude skill or ChatGPT reference file, try it on your messiest page, and let us know what comes back.
> 
> Try it here: https://www.parseprotocol.com/#adopt
> 
> Read more: https://www.llamaindex.ai/blog/introducing-the-document-parsing-protocol

https://x.com/llama_index/status/2115466450534097158
