Data & ExtractionOpen source codedocling-project/docling

Docling: Open Source AI Repository & Self-Hosting Guide

IBM open-source document conversion toolkit parsing PDF, DOCX, PPTX, XLSX, and scanned images into unified DoclingDocument JSON and Markdown.

GitHub Stars
71,427 stars
Repository License
MIT
Last Push (UTC)
Dec 4, 2026
Check the repo's license. Model weights may have a different license.
git clone https://github.com/docling-project/docling.git
View on GitHub
Installpip install docling && docling document.pdf

Docling: Architecture & Practical Workflow

Docling executes specialized vision models (DocLayNet for layout segmentation and TableFormer for cell structure) locally without cloud API calls, offering native integrations for LangChain, LlamaIndex, CrewAI, and MCP workflows.

Recommended End-to-End Pipeline

Run `docling --to md --to json` across scanned contracts and financial PDFs, then load structured table nodes directly into LlamaIndex chunk pipelines.

Runtime Target
Self-Hosted / Python, CLI & MCP (GitHub)
Primary Users
Enterprise AI Teams, Data Analysts, Developers
Code License
MIT
Focus Topics
open-source, github, ibm, document-parsing, rag

Quick Setup & Installation Steps

Platform target: Self-Hosted / Python, CLI & MCP (GitHub). Always verify environment variables and dependencies in the upstream repository README.

  1. 1Clone the repository from GitHub: `git clone https://github.com/docling-project/docling.git && cd docling`.
  2. 2Review the MIT license (Check the repo's license. Model weights may have a different license.) and note any separate terms on external model weights.
  3. 3Install or launch the project directly: `pip install docling && docling document.pdf` (use an isolated Python virtualenv, Node workspace, or Docker volume so dependencies remain clean).
  4. 4Validate end-to-end behavior with a small sample input (Run `docling --to md --to json` across scanned contracts and financial PDFs, then load structured table nodes directly into LlamaIndex chunk pipelines.)

Hardware & VRAM Notes

Hardware & VRAM guidance: OCR pass on large scanned PDFs benefits from GPU

GPU & VRAM

OCR pass on large scanned PDFs benefits from GPU

System RAM & Storage

16 GB–32 GB system RAM recommended plus 10 GB–40 GB free SSD space for container images, Python dependencies, and model weights.

Runtime Target

Self-Hosted / Python, CLI & MCP (GitHub)

Strengths & Best For

  • Deep layout understanding for PDFs, DOCX, PPTX, HTML, and images
  • Unified DoclingDocument JSON schema with table & bounding-box metadata
  • Native integrations with LangChain, LlamaIndex, and MCP
  • Best suited for: Enterprise AI Teams, Data Analysts, Developers

Limitations & Caveats

  • Library/CLI architecture rather than consumer drag-and-drop website
  • OCR pass on large scanned PDFs benefits from GPU
  • Check the repo's license. Model weights may have a different license.

3 Similar Tools on /tools (Data)

Prefer a hosted web app instead of managing local weights or Docker containers? Explore these cloud alternatives.

Browse all tools
Self-Hosted Docling vs. Hosted Alternatives (AI PDF Data Extractor & Formula Bot)
FactorDocling (Self-Hosted)AI PDF Data ExtractorFormula Bot
Execution & PrivacyRuns locally via Self-Hosted / Python, CLI & MCP (GitHub); data stays on your disk or private server.Hosted cloud web interface; zero local dependency setup required.Hosted cloud web interface; zero local dependency setup required.
Cost & QuotaMIT code; bound only by local CPU/GPU hardware.Free; subject to vendor free-tier limits or paid plans.Freemium; subject to vendor free-tier limits or paid plans.
Primary FitDeep layout understanding for PDFs, DOCX, PPTX, HTML, and images; Unified DoclingDocument JSON schema with table & bounding-box metadataExtract tables, form fields, and scanned PDF documents into structured Excel (.xlsx), CSV, or JSON without coding or regex templates.AI spreadsheet and data analytics tool turning plain-English prompts into complex Excel/Google Sheets formulas, SQL, and charts.
Key Trade-offLibrary/CLI architecture rather than consumer drag-and-drop websiteRequires internet access and vendor account/quota limits.Requires internet access and vendor account/quota limits.

Matching Ready-Made Prompts

All Prompts →

Customize variables in Live Prompt Studio for Docling workflows.

Freight Bill of Lading (BOL) & Shipping Manifest ExtractorExtraction · Logistics, Bill of Lading, Freight, Shipping
Open in Studio
Universal Invoice & Receipt Structured JSON ParserExtraction · Invoice, Accounting, JSON, Automation
Open in Studio

More Open Source Data & Extraction Repositories

Frequently Asked Questions

What does Docling do and how does it work?

Docling (docling-project/docling) is an open-source data & extraction project with 71,427 stars on GitHub. IBM open-source document conversion toolkit parsing PDF, DOCX, PPTX, XLSX, and scanned images into unified DoclingDocument JSON and Markdown. Docling executes specialized vision models (DocLayNet for layout segmentation and TableFormer for cell structure) locally without cloud API calls, offering native integrations for LangChain, LlamaIndex, CrewAI, and MCP workflows.

Is Docling free to self-host and use commercially?

Docling provides open source code licensed under MIT. Check the repo's license. Model weights may have a different license. Always verify both source code and model weight licenses in the GitHub repository before commercial deployment.

What hardware, runtime, or VRAM does Docling require?

Docling targets Self-Hosted / Python, CLI & MCP (GitHub). Typical installation runs via `pip install docling && docling document.pdf`. Library/CLI architecture rather than consumer drag-and-drop website

How does self-hosting Docling compare to hosted tools like AI PDF Data Extractor?

Self-hosting Docling gives you full local data control, zero per-usage vendor fees, and customizable Self-Hosted / Python, CLI & MCP (GitHub) pipelines—at the cost of managing your own setup and compute. By contrast, AI PDF Data Extractor (Free) runs in the browser with no local installation, though usage quotas and cloud privacy policies apply.

Is Docling actively maintained and what workflow fits it best?

Repository metadata records 71,427 stars on GitHub with the latest recorded push on Dec 4, 2026. Run `docling --to md --to json` across scanned contracts and financial PDFs, then load structured table nodes directly into LlamaIndex chunk pipelines.