22nd of 100 in Data and scraping for AIFor data and documents, documents and ocr
docling
Python library that converts PDFs, Office files and more into structured text
Run it:Vast.ai ↗ (opens in a new tab)RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts docling on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.docling is on your watch list. Its new releases and problems show there.
- Stars
- 71.2k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Python
55,767 on 24 Mar 202671,189 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Docling parses PDF, DOCX, PPTX, XLSX, HTML, EPUB, images, audio and other formats into a unified DoclingDocument, then exports to Markdown, HTML or lossless JSON. PDF handling covers layout, reading order, tables, code and formulas, with OCR and VLM options such as GraniteDocling. It runs locally via a Python API or CLI, and also ships an MCP server and a docling-serve API server.
Who it is for: Engineers preparing documents for RAG and LLM pipelines
Ranked among open-source alternatives to LlamaParse (#2 of 10).
Strengths
- Handles a wide format list: PDF, Office, ODF, EPUB, email, calendar, audio and video
- PDF layout, table structure, formula and reading-order extraction with OCR for scans
- Runs locally, usable in air-gapped setups; MIT licensed
- Integrates with LangChain, LlamaIndex, CrewAI and Haystack; has MCP server and API server
Weaknesses
- Model weights carry their own licenses, separate from the MIT code
- Metadata extraction and chemistry understanding are listed as not yet available
- Requires Python 3.10 or higher; Python 3.9 dropped in 2.70.0
What it needs
- GPU optional
- Docker
- Models: GraniteDocling, VLMs, ASR models, OCR engines
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Known problems
Open now, reported in the last 90 days
- `api_image_request` logs and propagates the raw error response body, leaking the request's API key on 401 ↗ (opens in a new tab)1 reactions
- HTML backend: CRLF and CR line endings stay as \r in code blocks, table cells, and attribute values ↗ (opens in a new tab)1 reactions
- Markdown: HTML blocks come out as literal text with docling-core 2.104.0 ↗ (opens in a new tab)1 reactions
- PDF pipeline drops text regions after classifying them as pictures ↗ (opens in a new tab)1 reactions
Reported, then fixed by a linked change
- TypeError: Cannot convert a MPS Tensor to float64 dtype as the MPS framework doesn't support float64. Please use float32 instead. ↗ (opens in a new tab)5 reactions · closed 4 Jun 2026Fixed by fix(deps): pin transformers<5.9.0 on macOS for MPS compatibility ↗ (opens in a new tab)
- VlmPipeline: DocLang picture crops use the 512x512 grid as page coordinates ↗ (opens in a new tab)3 reactions · closed 28 Oct 2026Fixed by fix(vlm): scale DocLang locations to the page size ↗ (opens in a new tab)
- Potential memory leak in docling pdf conversion ↗ (opens in a new tab)2 reactions · closed 13 Oct 2026Fixed by fix(pdf): run threaded pipeline models on long-lived threads ↗ (opens in a new tab)
- Docling crashes on the attached docx ↗ (opens in a new tab)2 reactions · closed 21 Sept 2026Fixed by fix(docx): clamp heading levels to the OOXML 1-9 range ↗ (opens in a new tab)
- `_guess_format` method fails on multi-byte characters in UTF-8 documents ↗ (opens in a new tab)2 reactions · closed 24 Aug 2026Fixed by fix(datamodel): tolerate an undecodable head when sniffing XML (#1762) ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Head to head
Also in Data and scraping for AI
See all 100| Rank | Project | Score |
|---|---|---|
| 1 | opendataloader-pdfPDF parser that outputs Markdown, JSON with bounding boxes, and Tagged PDF | 93 out of 100 |
| 3 | mineruParses PDFs, images and Office files into Markdown and structured JSON | 91 out of 100 |
| #4 | agent-reachCLI that gives coding agents read access to login-gated and Chinese web platforms | 88 out of 100 |
| #5 | cocoindexIncremental Python pipelines that keep vector indexes and agent context fresh | 88 out of 100 |
| #6 | markitdownPython library and CLI that converts office files, PDFs and audio to Markdown | 87 out of 100 |