# MarkItDown

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

> MarkItDown 是 Microsoft 出品的开源 AI 开发框架，2024 年推出，面向开发者。

把 PDF、Office 文件、图片等转换成 Markdown 供大模型使用的 Python 工具。

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

## 速览

- **类别:** [框架](https://godooo.ai/zh/browse#framework)
- **出品方:** [Microsoft](https://godooo.ai/zh/org/microsoft)
- **推出于:** 2024
- **所属星系:** [模型与 API](https://godooo.ai/zh/galaxy/builders)
- **是否开源:** 是 · MIT
- **源代码:** [github.com/microsoft/markitdown](https://github.com/microsoft/markitdown)
- **GitHub 星标:** 186,740
- **使用方式:** 命令行 · 可离线本地运行 · 可自部署
- **适合谁:** 开发者
- **官网:** [github.com](https://github.com/microsoft/markitdown)

## 能做什么

- **[文档解析](https://godooo.ai/zh/capability/document-parsing)** — 主打, _由机器提出，尚待校准_. “MarkItDown is a lightweight Python utility for converting various files to Markdown for use with LLMs and related text analysis pipelines.” (摘自 [github.com](https://github.com/microsoft/markitdown)，2026-09-24)
- **[文字识别](https://godooo.ai/zh/capability/ocr)** — 支持, _由机器提出，尚待校准_. “Images (EXIF metadata and OCR)” (摘自 [github.com](https://github.com/microsoft/markitdown)，2026-09-24)
- **[语音转写](https://godooo.ai/zh/capability/speech-to-text)** — 支持, _由机器提出，尚待校准_. “Audio (EXIF metadata and speech transcription)” (摘自 [github.com](https://github.com/microsoft/markitdown)，2026-09-24)

## 平替与同类

- **[Docling](https://godooo.ai/zh/framework/docling)** (开源免费): 同样能做：文字识别、文档解析、语音转写
- **[MinerU](https://godooo.ai/zh/framework/mineru)** (开源免费): 同样能做：文字识别、文档解析
- **[PaddleOCR](https://godooo.ai/zh/framework/paddleocr)** (开源免费): 同样能做：文字识别、文档解析
- **[Marker](https://godooo.ai/zh/framework/marker)** (开源免费): 同样能做：文字识别、文档解析
- **[Surya](https://godooo.ai/zh/framework/surya)** (开源免费): 同样能做：文字识别、文档解析
- **[Unstructured](https://godooo.ai/zh/framework/unstructured)** (开源免费): 同样能做：文档解析、文字识别
- **[RAGFlow](https://godooo.ai/zh/product/ragflow)** (开源免费): 同样能做：文档解析
- **[PDF Skill](https://godooo.ai/zh/skill/pdf)**: 同样能做：文档解析
- **[LlamaIndex](https://godooo.ai/zh/framework/llamaindex)** (开源免费): 同样能做：文字识别、文档解析
- **[Firecrawl](https://godooo.ai/zh/product/firecrawl)** (开源免费): 同样能做：文档解析
- **[FastGPT](https://godooo.ai/zh/product/fastgpt)** (开源免费): 同样能做：文档解析；不用写代码
- **[Firecrawl MCP Server](https://godooo.ai/zh/mcp/firecrawl)** (开源免费): 同样能做：文档解析

## 常见问题

### MarkItDown 是什么？

MarkItDown 是 Microsoft 出品的开源 AI 开发框架，2024 年推出，面向开发者。把 PDF、Office 文件、图片等转换成 Markdown 供大模型使用的 Python 工具。

### MarkItDown 免费吗？

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

### MarkItDown 开源吗？

开源，许可证是 MIT。源代码在 https://github.com/microsoft/markitdown。

### MarkItDown 能本地运行吗？

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

### MarkItDown 能做什么？

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

### MarkItDown 是谁开发的？

由 Microsoft 开发。

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

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

## 来源

- [github.com](https://github.com/microsoft/markitdown) — 核实于 2026-09-24

---

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