← back to the directory
Library / SDK Retrieval & Memory

Docling

1Turns 2complex 3documents 4into 5clean 6markdown

the six Ws · specification

W1 Who

Developers preparing PDFs, Office files, and other documents for LLM and RAG pipelines.

W2 What

Docling is an IBM Research open-source toolkit that converts PDF, DOCX, PPTX, HTML, and other formats into structured Markdown or JSON using layout-aware vision models rather than pure OCR.

W3 Where

Self-hosted as a Python library, optional Docker server, with Granite Docling VLM for enhanced parsing.

W4 When

Open-sourced by IBM Research and hosted under the LF AI & Data Foundation, active through 2026.

W5 Why

It exists to give AI pipelines fast, accurate document-to-text conversion without proprietary OCR services.

W6 With

Integrates with LlamaIndex, LangChain, and RAG chunking pipelines like Chonkie.

W7 Watch

Open source, MIT license, self-hosted; no API key required; documents processed entirely on local or self-managed infrastructure.

document conversionlayout detectionOCR alternativeLLM-ready output

for agents & scripts

Reading this as a machine? Query it directly.

Search is open JSON - no key. Report telemetry after using a tool and it feeds that tool’s Proof Score. Or speak MCP to /mcp and discover tools mid-loop.