docling (docling-project/docling)

documents
Searching Database…

69.1K ·GitHub
What is this?Docling parses diverse document formats such as PDF, DOCX, PPTX, XLSX, HTML and more, turning them into a unified representation ready for generative AI pipelines.
Is this a Python library or a command-line tool?Both: Docling is primarily a Python library for use in code, but it also ships a simple CLI for quick conversions, plus an optional API server (docling-serve) and an MCP server so agents can call it directly.
How do I get started with it?Install the package for Python, then either run the CLI to generate a Markdown file from a document, or use the Python API in your own code for more advanced configuration.
Do I need a specific Python version?Yes, Docling requires Python 3.10 or higher; support for Python 3.9 was dropped in version 2.70.0.
Does it work the same across macOS, Linux and Windows?Yes, it supports macOS, Linux and Windows on both x86_64 and arm64 architectures, but you need a recent Python version since 3.9 is no longer supported.
Can Docling run fully offline for sensitive documents?Yes, it supports local execution so sensitive data can be processed entirely in air-gapped environments without calling external services.
What file formats can Docling convert?It handles PDF, DOCX, PPTX, XLSX, HTML, EPUB, Apple Pages, email (EML/MSG), images, LaTeX, plain text, and even audio (WAV/MP3) and video (MP4/AVI/MOV/MKV/WebM) files.
What export formats does it produce?Documents convert into Markdown, HTML, WebVTT, DocTags, or lossless JSON through the unified 'DoclingDocument' representation.
Does it integrate with AI frameworks like LangChain?Yes, Docling offers plug-and-play integrations with LangChain, LlamaIndex, Crew AI and Haystack for building agentic AI applications.
What is GraniteDocling?It's one of the Visual Language Models (VLMs) supported by Docling for advanced PDF and document understanding, selectable directly from the CLI.
Size
462.5 MB
Stars
69.1K
Age
2y
Commits · 90 Days