Docling ingests PDFs, office files, media, email, and many other formats into a unified document model. It targets downstream RAG and agent workflows with local execution options.
Overview
Docling is a document processing toolkit that prepares heterogeneous files for generative AI use cases. It parses PDFs with layout, reading order, tables, formulas, and images, and handles office formats, web content, ebooks, calendars, audio, video, and specialized reporting schemas.
Parsed material lands in a structured DoclingDocument representation that can be exported to Markdown, HTML, JSON, and other targets. OCR, visual language models, chart understanding, and speech recognition extend coverage for scans, figures, and recordings.
You can run conversions from a command line or embed the Python API in applications. Optional components include an API server for service-style deployment, an MCP server for agent connectivity, and packaged integrations with LangChain, LlamaIndex, Crew AI, and Haystack.
The project emphasizes on-premise execution for sensitive or air-gapped data and is positioned as infrastructure for retrieval and agent stacks rather than a standalone end-user editor.
Key features
- Unified DoclingDocument output model
- Advanced PDF layout and table extraction
- OCR and visual model support
- Audio and video parsing with transcripts
- Chart-to-table or code conversion
- CLI, Python API, and optional API server
- LangChain and LlamaIndex integrations
- MCP server for agent connections
Use cases
- RAG ingestion over mixed corporate files
- Converting patents or financial XBRL reports
- Local parsing for air-gapped environments
- Agent toolchains via MCP attachment