docling-project /docling

Get your documents ready for gen AI

★ 70,615⑂ 5,357👁 221⑃ 2,433● 2,400▤ 240
PythonMITCreated 2024-07-09docling-project.github.io/docling
下载:v2.150.1docling-2.150.1 ↓2.150.12026-11-14
+36
日增长
+300
周增长
+1,854
月增长
70,615
stars
5,357
forks
221
watchers
2,433
prs
2,400
issues
240
releases

README

Docling


  


















 What is Docling ?

Docling simplifies document processing by parsing diverse formats — including advanced PDF understanding — and providing seamless integrations with the generative AI ecosystem.

 Features

- 🗂️ Parsing of [multiple document formats][supported_formats] including PDF, DOCX, PPTX, XLSX, HTML, EPUB, Apple Pages, Numbers & Keynote, WAV, MP3, WebVTT, Box Notes, email formats (EML, MSG), iCalendar (ICS), images (PNG, TIFF, JPEG, ...), LaTeX, DocLang, plain text, and more
- 📑 Advanced PDF understanding incl. page layout, reading order, table structure, code, formulas, image classification, and more
- 🧬 A unified, expressive [DoclingDocument][docling_document] representation format
- ↪️ Various [export formats][supported_formats] and options, including Markdown, HTML, WebVTT, DocLang, DocTags and lossless JSON
- 📜 Support for several application-specific XML schemas including DocLang, USPTO patents, JATS articles, and XBRL financial reports.
- 🔒 Local execution capabilities for sensitive data and air-gapped environments
- 🤖 Plug-and-play [integrations][integrations] incl. LangChain, LlamaIndex, Crew AI & Haystack for agentic AI
- 🔍 Extensive OCR support for scanned PDFs and images
- 👓 Support for several Visual Language Models, such as (GraniteDocling)
- 🎙️ Audio support with Automatic Speech Recognition (ASR) models
- 🔌 Connect to any agent using the MCP server
- 🌐 Run Docling as a service with the API server (docling-serve)
- 💻 Simple and convenient CLI

 What's new

- 🎬 Parsing of video files (MP4, AVI, MOV, MKV, and WebM) with an ASR transcript and representative keyframes
- 📄 Parsing of ODF (OpenDocument Format) files for text documents (.odt), spreadsheets (.ods), and presentations (.odp)
- 💼 Parsing of XBRL (eXtensible Business Reporting Language) and iXBRL (Inline eXtensible Business Reporting Language) documents for financial reports
- 📧 Parsing of email files (.eml, .msg), including meeting invitations
- 📅 Parsing of calendar files (.ics, .ical, .icalendar, .ifb) with events, tasks, journal entries and free/busy times, with attendees, reminders and attachment names
- 📚 Parsing of EPUB (Electronic Publication) files for e-books
- 🍎 Parsing of Apple Pages (.pages) documents, Numbers (.numbers) spreadsheets and Keynote (.key) presentations
- 📝 Parsing of plain-text files (.txt, .text) and Markdown supersets (.qmd, .Rmd)
- 📊 Chart understanding (Barchart, Piechart, LinePlot): convert them into tables or code and add detailed descriptions

 Coming soon

- 📝 Metadata extraction, including title, authors, references & language
- 📝 Complex chemistry understanding (Molecular structures)

 Quickstart

 1. Install

bash
pip install docling


 Note: Python 3.9 support was dropped in docling version 2.70.0. Please use Python 3.10 or higher.

Works on macOS, Linux and Windows environments for both x86_64 and arm64 architectures.

More detailed installation instructions are available in the docs.

 2. Convert 

Top issues

Discussions

Latest release

v2.150.1 v2.150.1 2026-11-14
Fix

 cli: Omit from_formats in convert-remote unless --from is set (5346) (ebc50e3)
 docx: Detect headings from paragraph-level w:outlineLvl (3312) (4129) (31d14a7)
 docx: Keep hyperlink targets in footnotes and endnotes (5322) (0c9a1cd)
 docx: Keep a single-cell table nested in a table cell inside the cell (5258) (b9bf356)
 docx: Close an open list before a table that follows it (5309) (fec4dc3)
 docx: Use default properties when an OMML element has none (5325) (8e210fb)
 Scale 16-bit images to 8 bits before converting them to RGB (5248) (293f620)
 ods: Compute sheet page size as bounding-bo

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON