What Docling is best for
Docling is an open-source Python library and command-line tool that turns documents into structured data that generative AI systems such as RAG pipelines and agents can use. The project was started by the AI for Knowledge team at IBM Research Zurich and is now hosted by the LF AI & Data Foundation; the GitHub repository showed 69.0k stars and 5.1k forks when we checked. The AI work is mostly in PDF understanding: Docling works out page layout, reading order, table structure, code, formulas and image types, uses OCR for scanned PDFs and images, and can switch to a vision-language-model pipeline such as IBM's GraniteDocling. Audio and video are transcribed with speech-recognition models, and a recent addition turns bar, pie and line charts into tables or code with descriptions. Supported inputs include PDF, DOCX, PPTX, XLSX, HTML, EPUB, ODF, Apple Pages/Numbers/Keynote, LaTeX, email files, images, audio and video. Everything is converted into one DoclingDocument format and can be exported as Markdown, HTML, DocTags or lossless JSON. For developers it offers integrations with LangChain, LlamaIndex, Crew AI and Haystack, an MCP server for connecting agents, and an API server (docling-serve). There is no price: the codebase is under the MIT license, although the individual models it downloads carry their own licenses. Setup is `pip install docling` on Python 3.10 or later (macOS, Linux or Windows), and some formats need extras - legacy DOC/XLS/PPT and RTF need LibreOffice, audio needs the `asr` extra and video also needs ffmpeg. Because it can run locally, including in air-gapped environments, sensitive documents do not have to leave your machine. For Korean readers: the documentation is in English only, and the pages we read do not state how well Korean text is recognised, which depends on the OCR engine you choose, so test it on your own Korean scans first.
- Free under the MIT license and can run fully locally, including air-gapped setups for sensitive documents
- Unusually wide format coverage feeding a single output format, which keeps RAG pipelines simple
- Widely adopted project backed by IBM Research and hosted by the LF AI & Data Foundation
- No Korean documentation, and Korean recognition quality is not stated on the pages we read - it depends on the OCR engine you choose
- A developer tool with no graphical interface: you need Python 3.10+ and comfort with the command line or code
- Some formats need extra installs - LibreOffice for legacy Office and RTF, the asr extra for audio, ffmpeg for video
- The code is MIT, but the models it uses have their own licenses that you need to check separately