AIAny
AI Infra2024
GitHub

Docling

Converts PDFs, Office files, HTML, images and audio into one structured DoclingDocument, with deep PDF layout, reading order, table-structure and formula recognition, OCR, and native LangChain/LlamaIndex/Haystack integrations for RAG pipelines.

Introduction

Most "PDF to text" tools hand you a wall of broken paragraphs, scrambled column order, and tables flattened into noise — the exact things that wreck a RAG pipeline downstream. The bet here is that the parsing step, not the LLM, is where most document-AI projects quietly fail, so heavy investment goes into actually understanding page layout before emitting anything.

The payoff is a single typed object, the DoclingDocument, that every format — PDF, DOCX, PPTX, XLSX, HTML, EPUB, images, even audio — collapses into. Downstream code stops caring whether the source was a scanned invoice or a slide deck.

What Sets It Apart
  • Layout-aware PDF parsing: it reconstructs reading order, detects table structure, and isolates formulas, code blocks, and figures — not just a flat text dump, which is what keeps chunked retrieval coherent.
  • One representation, many exports: the DoclingDocument serializes cleanly to Markdown, HTML, or JSON, so the same parse feeds both human review and machine ingestion.
  • Plugs into the stack you already use: native connectors for LangChain, LlamaIndex, Crew AI, and Haystack let it slot in as the ingestion layer rather than a parallel pipeline.
  • Runs locally: the full model stack, including the GraniteDocling vision-language model and OCR, executes on your own hardware, which matters when documents can't leave the building.
Who It's For

A strong fit if you're building RAG or document-extraction systems and have been losing accuracy to bad upstream parsing, especially on messy real-world PDFs with tables and scans. Look elsewhere if you only need plain-text extraction from clean digital PDFs — a lighter library will be faster and simpler — or if you need a hosted, zero-setup API, since it expects you to run and provision the models yourself.

Information

  • Websitegithub.com
  • OrganizationsIBM Research
  • AuthorsDocling Team
  • Published date2024/09/24

Categories

More Items

GitHub
AI Infra2026

Adds keyless model channels to DeepSeek Harness and brings multiple providers into one model picker and local compatible gateway. Availability is checked dynamically; free quotas, regional access, and data handling remain controlled by upstream services.

GitHub
AI Infra2026

Connects coding agents to one local model gateway, making providers and subscriptions available across agents and routing requests to another account or model when quotas run out.

GitHub
AI Agent2026

Lets AI agents read and operate real phones through a shared set of controls for tapping, typing, scrolling, and screenshots. Supports personal iPhones, Android devices, and hosted cloud phones, with different connection and screen-reading methods for each.