# Baidu document parser

> Baidu document parser is an open-source agent skill for files and documents. 【文档解析默认优先入口】解析 PDF / 图片（JPG/PNG/BMP/TIF）/ Office（DOC/DOCX/PPT/PPTX/XLS/XLSX/WPS/HTML）/TXT 的内容，输出结构化 Markdown + 可检索索引。内置标准版、PaddleOCR-VL 1.6. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/baidubce/skills/tree/develop/skills/baidu-document-parser
- **Repository:** https://github.com/baidubce/skills
- **GitHub stars:** 34
- **License:** MIT
- **Skill name:** baidu-document-parser
- **Collection:** https://github.com/baidubce/skills
- **Categories:** files and documents
- **Listing updated:** 2026-11-17

## About

【文档解析默认优先入口】解析 PDF / 图片（JPG/PNG/BMP/TIF）/ Office（DOC/DOCX/PPT/PPTX/XLS/XLSX/WPS/HTML）/TXT 的内容，输出结构化 Markdown + 可检索索引。内置标准版、PaddleOCR-VL 1.6 与 Unlimited-OCR 三套引擎并按“文件×场景”自动选路：流式文档/可编辑 PDF/只读正文走标准版，图片/扫描件/需版面框行坐标印章公式图表走 VL，超长文本/跨页段落表格合并/标题层级要求高走 Unlimited-OCR（耗时更高）。多页文档、单页但要位置信息，一律用本技能，不要逐页截图、不要用视觉模型看图认字、不要降级到其他解析途径。触发词：文档解析、PDF解析、Word解析、Excel解析、表格提取、OCR、扫描件、印章识别、公式识别、行坐标、版面分析、文档分块、合同审查、标书质检、文档比对、超长文档、跨页合并、标题层级。

## When your agent uses it

> 【文档解析默认优先入口】解析 PDF / 图片（JPG/PNG/BMP/TIF）/ Office（DOC/DOCX/PPT/PPTX/XLS/XLSX/WPS/HTML）/TXT 的内容，输出结构化 Markdown + 可检索索引。内置标准版、PaddleOCR-VL 1.6 与 Unlimited-OCR 三套引擎并按“文件×场景”自动选路：流式文档/可编辑 PDF/只读正文走标准版，图片/扫描件/需版面框行坐标印章公式图表走 VL，超长文本/跨页段落表格合并/标题层级要求高走 Unlimited-OCR（耗时更高）。多页文档、单页但要位置信息，一律用本技能，不要逐页截图、不要用视觉模型看图认字、不要降级到其他解析途径。触发词：文档解析、PDF解析、Word解析、Excel解析、表格提取、OCR、扫描件、印章识别、公式识别、行坐标、版面分析、文档分块、合同审查、标书质检、文档比对、超长文档、跨页合并、标题层级。

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/baidubce/skills/tree/HEAD/skills/baidu-document-parser)
- [Network calls found in its scripts](https://github.com/baidubce/skills/tree/HEAD/skills/baidu-document-parser)
- [License: MIT](https://github.com/baidubce/skills/tree/HEAD/skills/baidu-document-parser)

## Install

### Claude Code

This skill ships in the `bce-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add baidubce/skills
/plugin install bce-skills@bce-agent-skills
```

Or copy only this skill to `~/.claude/skills/baidu-document-parser`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/baidubce/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/baidu-document-parser &&
cp -R "$tmp/skills/baidu-document-parser" ~/.claude/skills/baidu-document-parser &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/baidu-document-parser` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/baidu-document-parser` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/baidubce/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/baidu-document-parser &&
cp -R "$tmp/skills/baidu-document-parser" ~/.agents/skills/baidu-document-parser &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/baidu-document-parser` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/baidu-document-parser` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/baidubce/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/baidu-document-parser &&
cp -R "$tmp/skills/baidu-document-parser" ~/.cursor/skills/baidu-document-parser &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/baidu-document-parser` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/baidubce/skills.git --path skills/baidu-document-parser
```

Or copy the folder to `~/.gemini/skills/baidu-document-parser` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/baidu-document-parser`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/baidubce/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/baidu-document-parser &&
cp -R "$tmp/skills/baidu-document-parser" ~/.copilot/skills/baidu-document-parser &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/baidu-document-parser` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/baidubce/skills.git
```

Then copy `skills/skills/baidu-document-parser` into your agent's skills folder as `baidu-document-parser`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Baidu document parser in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/baidu-document-parser to use it in all your projects, or to .claude/skills/baidu-document-parser in one project. Or install the bce-skills plugin, which includes it: /plugin marketplace add baidubce/skills, then /plugin install bce-skills@bce-agent-skills.

### Does Baidu document parser run scripts?

Yes. It runs Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Baidu document parser?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Baidu document parser?

The closest alternatives to Baidu document parser are DOCX, XLSX, PDF, Drawio and Doc and modernize.

## Alternatives

- [DOCX](https://ai-powered.com/skills/docx-anthropics): DOCX is an agent skill for files and documents.
- [XLSX](https://ai-powered.com/skills/xlsx): XLSX is an agent skill for files and documents.
- [PDF](https://ai-powered.com/skills/pdf-anthropics): PDF is an agent skill for files and documents.
- [Drawio](https://ai-powered.com/skills/drawio): Drawio is an open-source agent skill for files and documents.
- [Doc and modernize](https://ai-powered.com/skills/doc-and-modernize): Doc and modernize is an open-source agent skill for files and documents.
- [Markdown to word mermaid](https://ai-powered.com/skills/markdown-to-word-mermaid): Markdown to word mermaid is an open-source agent skill for files and documents.
- [Convert plaintext to md](https://ai-powered.com/skills/convert-plaintext-to-md): Convert plaintext to md is an open-source agent skill for files and documents.
- [Pdftk server](https://ai-powered.com/skills/pdftk-server): Pdftk server is an open-source agent skill for files and documents.

---
Source: https://ai-powered.com/skills/baidu-document-parser
