Get your documents ready for gen AI
Docling simplifies document processing by parsing diverse formats — including advanced PDF understanding — and providing seamless integrations with the generative AI ecosystem.
.odt), spreadsheets (.ods), and presentations (.odp).eml, .msg).pages) documents, both container generations (Pages 5+ and iWork '09).txt, .text) and Markdown supersets (.qmd, .Rmd)pip install doclingNote: 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.
docling https://arxiv.org/pdf/2206.01062This generates a .md file in the current directory containing structured document content.
You can also use 🥚GraniteDocling and other VLMs via Docling CLI:
docling --pipeline vlm --vlm-model granite_docling https://arxiv.org/pdf/2206.01062from docling.document_converter import DocumentConverter
source = "https://arxiv.org/pdf/2408.09869" # a document via a local path or URL
converter = DocumentConverter()
result = converter.convert(source)
print(result.document.export_to_markdown()) # output: "## Docling Technical Report[...]"More advanced usage and configuration options.
Check out Docling's documentation for details on installation, usage, concepts, recipes, extensions, and more.
Go hands-on with our examples, demonstrating how to address different application use cases with Docling.
To further accelerate your AI application development, check out Docling's native integrations with popular frameworks and tools.
Please feel free to connect with us using the discussion section.
For more details on Docling's inner workings, check out the Docling Technical Report.
Please read Contributing to Docling for details.
If you use Docling in your projects, please consider citing the following:
@techreport{Docling,
author = {Deep Search Team},
month = {8},
title = {Docling Technical Report},
url = {https://arxiv.org/abs/2408.09869},
eprint = {2408.09869},
doi = {10.48550/arXiv.2408.09869},
version = {1.0.0},
year = {2024}
}The Docling codebase is under MIT license. For individual model usage, please refer to the model licenses found in the original packages.
Docling is hosted as a project in the LF AI & Data Foundation.
The project was started by the AI for knowledge team at IBM Research Zurich.
XBRL typed dimension crashes conversion at memberQname.localName
ODT comments are spliced into the body text
HTML backend: `orig` does not keep the source text of paragraphs and inline text
HTML backend: text after a nested list inside <li> is merged into the item and moved before the nested items
HTML backend: non-<li> children of <ul>/<ol> (e.g. <p>, <table>) are silently dropped
Reading order: numbered list + footnote block placed before section headings that are physically above it
Relative hyperlinks are exported with backslashes on Windows (Markdown, HTML, LaTeX, DocLang, JSON)
docling-demo-0.1.1 depends on both azure-search and azure-search-documents which conflict with each other
Path input with an upper-case extension (.VTT, .ADOC, .EML, .HTML, ...) is not recognised, while the same DocumentStream is
Heading hierarchy: promote body-size runs set in a non-dominant face (labeled `list_item`/`text`) to `section_header`, the way bookmarks already do