Docling

Docling

IBM-backed Python toolkit that parses PDFs, DOCX, PPTX, tables, formulas, and audio/video into clean Markdown and JSON for AI.

★ 71.1K

Turn Complex PDFs, Tables, and Office Files Into Clean AI-Ready Data

Every RAG pipeline and document agent looks great in a demo until you feed it a real-world PDF filled with multi-column layouts, embedded tables, and scanned pages. Started at IBM Research and hosted by the LF AI & Data Foundation, Docling (docling-project/docling) solves document ingestion by parsing PDFs, DOCX, PPTX, XLSX, HTML, audio, and video into structured Markdown and lossless JSON. It has surged past 71,100 GitHub stars and 5,400 forks under the permissive MIT license.

Why AI Engineers Love Docling

  • Deep layout and table fidelity: Reconstructs reading order, complex table structures, formulas, code blocks, and charts accurately.
  • Local and air-gapped execution: Runs OCR, Vision-Language Models (like GraniteDocling), and speech transcription locally without leaking sensitive files.
  • Plug-and-play AI integrations: Connects directly to LangChain, LlamaIndex, CrewAI, Haystack, and any MCP-compatible agent via its built-in MCP server.

Best Fit and Considerations

Developers building enterprise RAG systems, financial report parsers, or knowledge-base ingestion pipelines will immediately see cleaner retrieval accuracy. Processing heavy scanned PDFs with vision models can be compute-intensive, so enable GPU or Apple Silicon acceleration for large batch jobs.

Quick Takeaway

Before writing another brittle PDF regex scraper, drop Docling into your Python pipeline for clean, structured document extraction.

Ready to try Docling?

Experience the full capabilities on their official website.

Visit Official Website