Skip to the guide
DPPWorking draft 0.1

Document
Parsing
Protocol (DPP)

A protocol for how to make truthful and AI‑friendly interpretation of documents

ONE PAGE. FIVE PARSING CHOICES.IRS / 1040 / 2020
12345
IRS Form 1040 (2020) · Page 1 · Public domainView original PDF

The protocol, rule by rule

Each convention answers one parsing question: what to preserve, and how to represent it. Numbered and ordered as in the RFC. Open one to see its requirement, each part of the rule with real pages beside their expected output, and how it differs from its neighbours.

doc decided once for the whole document2 forms two renderings conformopen not yet settledRFC ↗ kept in the RFC only

140 rules

§1Conventions

§2Principles

§3Output model

§4Document level

§5Layout

§6Headings and page structure

§7Text

§8Lists

§9Tables

§10Forms

§11Charts

§12Images and diagrams

§13Other

AEquivalent forms

CProducing ground truth

DQuick reference

Use DPP

Try it on one page.

Give your assistant the conventions, attach a page, and inspect the result. Start with a reusable skill in Claude or a reference file in ChatGPT.

Add the DPP skill to Claude.

  1. 01

    Download the skill.

    The ZIP includes the current generator skill, text-only protocol reference, and checker guidance.

    Download skill .zip
  2. 02

    Upload and enable it.

    In Claude, open Customize → Skills, choose + → Create skill → Upload a skill, upload the ZIP, and enable it.

    Claude’s setup guide ↗

    Skills require code execution. Workspace settings may control access.

  3. 03

    Attach a page and use the prompt.

    Start with a page image so the assistant can inspect the layout. Compare the result with the source, especially headers, repeated values, and small marks.

    Download the Apple sample page ↓

Attach the page image before sending.

What to look for

A transcription of the page and structured tables that follow the current protocol. Request a separate conformance review when needed. For the Apple sample, check that both 6,485 cells survive and (565) stays as printed.

Compare with the annotated page ↗
Inside the downloadCurrent protocol + checker guidance · Working draft 0.1Read SKILL.md ↗Download QA checklist ↓
Scope & sources +

These downloads are generated from the same source revision as the guide. They include the text-only protocol and generator/checker guidance and work without the source repository. The checker is a review skill, not an automated conformance tool. Platform setup instructions checked September 17, 2026.

Draft status & provenance +

DPP is a proposed protocol developed from ParseBench’s document representation conventions. This working draft contains 145 notes. Settled means settled within this draft, rather than independently ratified.

The current materials define representation conventions and examples. The guide defines Markdown, optional sidecar fields, and conformance requirements. The generated checker is guidance for reviewing outputs, not an automated conformance suite. Source digest: b63884001dbc.

The opening figure reproduces page 1 of IRS Form 1040 (2020), a public-domain U.S. government document, with blank margins trimmed. Its annotations are DPP explanations. Convention pages pair source images from the guide with the expected output the guide specifies for them, and with worked encodings. Counter-examples also show the non-conforming output the convention rules out. The worked page reproduces Apple’s published FY2024 statement of operations with explanatory DPP overlays and authored encoding excerpts. The look-alike comparisons are synthetic.

DPP is an open project. The code is MIT-licensed and the protocol and its examples are CC BY 4.0. Propose rules, report examples and send pull requests on GitHub.