← AI Tools
RAGBeginner

Docling

Docling is an open-source toolkit for unstructured document analysis and structured transformation, developed and led by the DS4SD (Data Science for Science/Discovery) research team at IBM Research. Just as a microscope clearly visualizes the complex internal structure of a cell, this tool precisely decodes the relationships between unstructured text and visual elements trapped in various formats such as PDF, DOCX, PPTX, XLSX, and HTML, making them immediately usable for generative AI and Retrieval-Augmented Generation (RAG) systems.

Docling is an open-source toolkit for unstructured document analysis and structured transformation, spearheaded by the DS4SD (Data Science for Science/Discovery) research team at IBM Research. Just as a microscope clearly visualizes the complex internal structure of a cell, this tool precisely decodes the relationships between unstructured text and visual elements trapped in various formats such as PDF, DOCX, PPTX, XLSX, and HTML, and automatically converts them into standard Markdown and JSON data that can be immediately utilized by generative AI and Retrieval-Augmented Generation (RAG) systems. Its core identity lies in combining layout analysis models based on computer vision with table structure recognition engines to enhance the structural integrity of complex academic papers or technical documents, going beyond simply extracting plain text from documents.

Traditional PDF parsing libraries or Optical Character Recognition (OCR) tools have inherent limitations when processing multi-column papers or complex tables with omitted borders, resulting in mixed-up reading order or loss of data hierarchy. In contrast, this tool incorporates TableFormer and Docling-IBM-Models, a high-performance vision AI architecture developed by IBM, to recognize the precise visual layout of documents. This allows it to accurately restore multi-level subheadings, parallel text boxes, equations, annotations, and table data with complex row and column combinations without loss of form. Developers can easily achieve top-tier document digitization with just a few lines of pipeline code, without having to write complex rule-based regular expressions.

In the fields of biotechnology, pharmaceuticals, and advanced technology research, it is crucial to quickly analyze the thousands of academic papers, patent specifications, and clinical trial reports that are released daily and build them into a knowledge base. Researchers can call this toolkit in a Python environment to extract complex experimental data tables and diagram descriptions from papers into structured Markdown text. The extracted data can be directly connected to the latest LLM agent frameworks such as LangChain, LlamaIndex, and Model Context Protocol (MCP), maximizing the accuracy of knowledge retrieval. As a result, sophisticated numerical data and conditional tables contained in patient clinical records or biotechnology documents are perfectly reflected in the RAG vector database in a complete contextual form, significantly reducing the occurrence of hallucinations.

Furthermore, this solution flexibly supports both high-speed CPU inference in local environments and GPU-based accelerated processing, providing excellent efficiency for parallel transformation of large-scale document archives. It provides both a command-line interface (CLI) and a Python API, making it easy to build automated data collection crawlers or backend pipelines, and it has the strong advantage of being able to securely process clinical data and internal research assets of companies in a completely on-premise environment without external API transmission, which is extremely important for data security.

💻 System Requirements

🧠RAM

0 (default support for CPU-only mode); when using GPU acceleration, 4GB or higher is recommended (for accelerating TableFormer and vision pipelines)

💾Storage

Model weights ~1-2GB, installation packages and related libraries 500MB inside and outside.

⚡ Installation

4-1. Quick Start

pip install docling

4-2. Detailed Installation

# Install basic packages
pip install docling

# Additional toolkits (example: setting up PyTorch GPU acceleration environment)
pip install docling torch torchvision --extra-index-url https://download.pytorch.org/whl/cu121

# Example usage of the Python API
python -c "
from docling.document_converter import DocumentConverter

source = 'https://arxiv.org/pdf/2408.09869'
converter = DocumentConverter()
result = converter.convert(source)
print(result.document.export_to_markdown())
"

🧬 Bio Use Cases

🔬

Automated Pipeline for Academic Papers and Patents

Cleanly refine equations, diagrams, and references from two-column PDF papers into Markdown, load them into a vector DB, and build a paper Q&A agent.

🧬

Structured Clinical Trial Reports and Pharmaceutical Documents

Apply TableFormer to PDF reports containing a large number of numerical tables to precisely extract table data and use it as input for research DB analysis.

💊

Building an RAG Context for Internal Corporate Documents

Serialize internal PPTX and DOCX manuals and reports into JSON/Markdown without losing reading order to provide an on-premise knowledge chatbot.

FAQ

What is Docling?

Docling is an open-source toolkit for unstructured document analysis and structured transformation, spearheaded by the DS4SD (Data Science for Science/Discovery) research team at IBM Research. Just as a microscope clearly visualizes the complex internal structure of a cell, this tool precisely decodes the relationships between unstructured text and visual elements trapped in various formats such as PDF, DOCX, PPTX, XLSX, and HTML, and automatically converts them into standard Markdown and JSON data that can be immediately utilized by generative AI and Retrieval-Augmented Generation (RAG) systems. Its core identity lies in combining layout analysis models based on computer vision with table structure recognition engines to enhance the structural integrity of complex academic papers or technical documents, going beyond simply extracting plain text from documents. Traditional PDF parsing libraries or Optical Character Recognition (OCR) tools have inherent limitations when processing multi-column papers or complex tables with omitted borders, resulting in mixed-up reading order or loss of data hierarchy. In contrast, this tool incorporates TableFormer and Docling-IBM-Models, a high-performance vision AI architecture developed by IBM, to recognize the precise visual layout of documents. This allows it to accurately restore multi-level subheadings, parallel text boxes, equations, annotations, and table data with complex row and column combinations without loss of form. Developers can easily achieve top-tier document digitization with just a few lines of pipeline code, without having to write complex rule-based regular expressions. In the fields of biotechnology, pharmaceuticals, and advanced technology research, it is crucial to quickly analyze the thousands of academic papers, patent specifications, and clinical trial reports that are released daily and build them into a knowledge base. Researchers can call this toolkit in a Python environment to extract complex experimental data tables and diagram descriptions from papers into structured Markdown text. The extracted data can be directly connected to the latest LLM agent frameworks such as LangChain, LlamaIndex, and Model Context Protocol (MCP), maximizing the accuracy of knowledge retrieval. As a result, sophisticated numerical data and conditional tables contained in patient clinical records or biotechnology documents are perfectly reflected in the RAG vector database in a complete contextual form, significantly reducing the occurrence of hallucinations. Furthermore, this solution flexibly supports both high-speed CPU inference in local environments and GPU-based accelerated processing, providing excellent efficiency for parallel transformation of large-scale document archives. It provides both a command-line interface (CLI) and a Python API, making it easy to build automated data collection crawlers or backend pipelines, and it has the strong advantage of being able to securely process clinical data and internal research assets of companies in a completely on-premise environment without external API transmission, which is extremely important for data security.

When should I use Docling?

Docling is an open-source toolkit for unstructured document analysis and structured transformation, developed and led by the DS4SD (Data Science for Science/Discovery) research team at IBM Research. Just as a microscope clearly visualizes the complex internal structure of a cell, this tool precisely decodes the relationships between unstructured text and visual elements trapped in various formats such as PDF, DOCX, PPTX, XLSX, and HTML, making them immediately usable for generative AI and Retrieval-Augmented Generation (RAG) systems.

What is a biomedical use case for Docling?

Automated Pipeline for Academic Papers and Patents: Cleanly refine equations, diagrams, and references from two-column PDF papers into Markdown, load them into a vector DB, and build a paper Q&A agent.

📄 Official Docs🐙 GitHub

📝 Update Notes

  1. vv2.142.110/24/2026

    Docling v2.142.1 업데이트는 다양한 문서 형식의 파싱 안정성과 보안을 강화하는 데 집중했습니다. 특히 Excel 파일의 병합된 셀과 하이퍼링크 처리 오류가 수정되어, 실험 데이터나 결과 테이블을 추출할 때 더욱 정확한 데이터를 얻을 수 있습니다. 또한 대용량 파일의 압축 해제 및 이미지 처리 시의 리소스 제한 기능이 추가되어, 대규모 논문이나 이미지 데이터를 다룰 때 발생할 수 있는 시스템 과부하를 방지합니다. 다양한 포맷의 문서를 자동화된 파이프라인으로 처리하는 연구원님들께 더욱 안정적인 데이터 추출 환경을 제공할 이번 업데이트를 추천합니다.

  2. vv2.140.010/17/2026

    이번 업데이트에서는 음성 전사(ASR) 기능이 강화되어, OpenAI 호환 서버를 활용한 더욱 유연한 음성 데이터 텍스트 변환이 가능해졌습니다. 연구 세미나나 인터뷰 녹음 파일을 처리할 때 더욱 효율적인 워크플로우를 구축할 수 있어요. 또한 PPTX와 AsciiDoc 등 다양한 문서 형식의 파싱 정확도와 OCR 효율성이 개선되어, 논문이나 발표 자료에서 실험 데이터를 추출할 때의 신뢰도가 높아졌습니다. 다양한 포맷의 연구 문서를 자동화된 방식으로 구조화하려는 연구원분들께 이번 업데이트를 추천드려요.

  3. vv2.137.010/11/2026

    Docling v2.137.0 업데이트에서는 VLM(시각 언어 모델) 파이프라인 이후의 데이터 보강(enrichment) 기능이 추가되었습니다. 이를 통해 복잡한 구조를 가진 생명공학 논문의 도표나 이미지에서 더욱 정교하고 풍부한 문맥 정보를 추출할 수 있습니다. 또한, OCR 기능 개선으로 다양한 언어에 대한 인식 정확도가 높아져 해외 연구 문헌을 데이터화할 때의 오류를 줄일 수 있습니다. 방대한 양의 다국어 바이오 문헌을 정밀하게 분석하고자 하는 연구원님들께 이번 업데이트를 추천합니다.

  4. vv2.134.010/6/2026

    이번 업데이트에서는 Apple Numbers 파일 지원이 추가되어 다양한 형태의 실험 데이터 분석이 더욱 편리해졌습니다. 특히 docx와 HTML 문서 내의 텍스트와 이미지 속 텍스트를 더 정확하게 보존하도록 개선되어, 논문에서 핵심 정보를 추출할 때 데이터 손실 걱정을 덜 수 있습니다. 또한 LaTeX 문서 감지 기능과 수식 추출 안정성이 강화되어, 복잡한 수식이 포함된 연구 자료를 다루는 연구원님들께 매우 유용한 업데이트가 될 것입니다.

  5. vv2.132.010/1/2026

    이번 업데이트에서는 PDF 읽기 순서 알고리즘이 개선되어, 다단 구성이 많은 생명공학 논문을 더욱 정확한 순서로 추출할 수 있어요. CSV와 Markdown 테이블의 데이터 처리 오류가 수정되었기에, 실험 결과 데이터나 구조화된 연구 노트를 파싱할 때 데이터 무결성을 더욱 신뢰할 수 있습니다. 또한 LaTeX 및 이미지 처리 기능이 강화되어, 논문 속 복잡한 수식과 시각 자료를 더욱 안정적으로 디지털화할 수 있으니 연구 자동화 파이프라인에 적극 활용해 보세요.

  6. vv2.130.09/26/2026

    이번 업데이트에서는 새로운 VLM인 Mineru 2.5 Pro가 추가되어, 문서 내 복잡한 시각적 요소를 파악하는 능력이 더욱 강력해졌습니다. 특히 HTML 테이블의 캡션 연결과 Markdown 표의 파싱 오류 등 문서 구조를 정교하게 추출하기 위한 여러 버그가 수정되었습니다. 이를 통해 도표와 수치 데이터가 많은 생명공학 논문이나 실험 보고서에서 구조화된 데이터를 훨씬 더 정확하게 추출할 수 있게 되었습니다.

  7. vv2.129.09/21/2026

    이번 업데이트에서는 차트 추출 엔진과 OCR 파싱 기능이 개선되어, 논문 속 복잡한 그래프와 스캔된 문헌의 텍스트 정보를 더욱 정확하게 추출할 수 있습니다. 또한 CSV, PPTX, HTML 등 다양한 문서 형식의 파싱 오류와 인코딩 문제가 해결되어, 여러 형태의 실험 데이터와 문헌 자료를 통합하는 과정이 한층 안정화되었습니다. 이를 통해 방대한 생명공학 문헌 및 실험 결과물에서 유의미한 데이터를 구조화하여 추출하는 자동화 작업이 더욱 정교해질 것으로 기대됩니다.

  8. vv2.128.09/17/2026

    이번 업데이트에서는 NVIDIA의 새로운 VLM 모델인 Nemotron-Parse-2.0이 추가되어, 과학 논문 속 복잡한 도표나 시각 자료를 더욱 정밀하게 파싱할 수 있게 되었습니다. 또한 OCR 파싱 기능이 개선되어 스캔된 오래된 문헌에서도 문서 구조를 깨뜨리지 않고 정확하게 텍스트를 추출할 수 있습니다. 이미지 방향(EXIF) 오류 수정과 PDF 백엔드 최적화도 함께 이루어져, 대량의 연구 문헌을 자동화된 파이프라인으로 처리하려는 연구원분들께 매우 유용한 업데이트입니다.

🧪 Related Code of Life

No related Code of Life posts yet.

BioPlayground

Reading, linking, and lawful quotation stay open; high-speed bulk collection and unauthorized redistribution do not.

Unless stated otherwise, content rights belong to BioPlayground or the relevant rights holder.