# Docling

框架 · https://godooo.ai/zh/framework/docling

> Docling 是开源 AI 开发框架，2024 年推出，面向开发者。

把 PDF、Office 等文档解析成结构化数据、供 AI 流程使用的库。

主打：文字识别、文档解析。开源，可以免费使用。使用方式：自部署、本地离线运行、命令行、API。

## 速览

- **类别:** [框架](https://godooo.ai/zh/browse#framework)
- **推出于:** 2024
- **所属星系:** [模型与 API](https://godooo.ai/zh/galaxy/builders)
- **是否开源:** 是 · MIT
- **源代码:** [github.com/docling-project/docling](https://github.com/docling-project/docling)
- **GitHub 星标:** 67,811
- **使用方式:** 可自部署 · 可离线本地运行 · 命令行 · API
- **适合谁:** 开发者
- **支持的协议:** [Model Context Protocol](https://godooo.ai/zh/protocol/mcp)
- **官网:** [docling-project.github.io](https://docling-project.github.io/docling)

## 能做什么

- **[文字识别](https://godooo.ai/zh/capability/ocr)** — 主打, _由机器提出，尚待校准_. “Extensive OCR support for scanned PDFs and images” (摘自 [docling-project.github.io](https://docling-project.github.io/docling/)，2026-09-24)
- **[文档解析](https://godooo.ai/zh/capability/document-parsing)** — 主打, _由机器提出，尚待校准_. “Parsing of multiple document formats including PDF, DOCX, PPTX, XLSX, HTML, EPUB, Apple Pages, WAV, MP3, WebVTT, Box Notes, email formats” (摘自 [docling-project.github.io](https://docling-project.github.io/docling/)，2026-09-24)
- **[知识库检索](https://godooo.ai/zh/capability/knowledge-base)** — 支持, _由机器提出，尚待校准_. “RAG with LangChain RAG with LlamaIndex” (摘自 [docling-project.github.io](https://docling-project.github.io/docling/)，2026-09-24)
- **[语音转写](https://godooo.ai/zh/capability/speech-to-text)** — 支持, _由机器提出，尚待校准_. “Audio support with Automatic Speech Recognition (ASR) models” (摘自 [docling-project.github.io](https://docling-project.github.io/docling/)，2026-09-24)

## 平替与同类

- **[MinerU](https://godooo.ai/zh/framework/mineru)** (开源免费): 同样能做：文字识别、文档解析
- **[Marker](https://godooo.ai/zh/framework/marker)** (开源免费): 同样能做：文字识别、文档解析
- **[Unstructured](https://godooo.ai/zh/framework/unstructured)** (开源免费): 同样能做：文档解析、文字识别、知识库检索
- **[PaddleOCR](https://godooo.ai/zh/framework/paddleocr)** (开源免费): 同样能做：文字识别、文档解析
- **[Surya](https://godooo.ai/zh/framework/surya)** (开源免费): 同样能做：文字识别、文档解析
- **[MarkItDown](https://godooo.ai/zh/framework/markitdown)** (开源免费): 同样能做：文档解析、文字识别、语音转写
- **[LlamaIndex](https://godooo.ai/zh/framework/llamaindex)** (开源免费): 同样能做：知识库检索、文字识别、文档解析
- **[RAGFlow](https://godooo.ai/zh/product/ragflow)** (开源免费): 同样能做：文档解析、知识库检索
- **[FastGPT](https://godooo.ai/zh/product/fastgpt)** (开源免费): 同样能做：知识库检索、文档解析；不用写代码
- **[kotaemon](https://godooo.ai/zh/product/kotaemon)** (开源免费): 同样能做：知识库检索、文档解析；不用写代码
- **[PDF Skill](https://godooo.ai/zh/skill/pdf)**: 同样能做：文档解析
- **[PrivateGPT](https://godooo.ai/zh/framework/privategpt)** (开源免费): 同样能做：知识库检索、文档解析

## 常见问题

### Docling 是什么？

Docling 是开源 AI 开发框架，2024 年推出，面向开发者。把 PDF、Office 等文档解析成结构化数据、供 AI 流程使用的库。

### Docling 免费吗？

免费。Docling 是开源软件（MIT）。

### Docling 开源吗？

开源，许可证是 MIT。源代码在 https://github.com/docling-project/docling。

### Docling 能本地运行吗？

能，可以在自己的电脑上离线运行。也可以部署在自己的服务器上。

### Docling 能做什么？

主打：文字识别、文档解析。也能做：知识库检索、语音转写。

### Docling 有哪些开源替代品？

开源的有：MinerU、Marker、Unstructured、PaddleOCR、Surya、MarkItDown、LlamaIndex、RAGFlow。其他：PDF Skill。

## 来源

- [docling-project.github.io](https://docling-project.github.io/docling/) — 核实于 2026-09-24
- [github.com](https://github.com/docling-project/docling)

---

最后更新 2026-09-24 · 来源核实于 2026-09-24 · 这是 https://godooo.ai/zh/framework/docling 的 Markdown 版本。本站每个页面都有：在地址后面加 .md。
