百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
anydoc

anydoc

> 编程语言
免费

将 Word、PowerPoint、Excel、OpenDocument、RTF、EPUB、CSV 和 PDF 转换为清晰的 Markdown。内置 R

20.9K stars0 点赞3 次浏览
访问官网GitHub

工具介绍

将 Word、PowerPoint、Excel、OpenDocument、RTF、EPUB、CSV 和 PDF 转换为清晰的 Markdown。内置 R

anydoc Fast Rust 库可将文档(Word、PowerPoint、Excel、OpenDocument、RTF、EPUB、CSV 和 PDF)转换为清晰的 GitHub 格式的 Markdown。包括用于 Node.js、Python 和浏览器 (WebAssembly) 的绑定。由 Firecrawl 打造,可在单位毫秒内将任何办公文档转换为 LLM 格式的 Markdown,无论输入的格式是什么,输出都始终一致。它支持 Firecrawl Parse,因此如果您不想自己运行它,托管的 API 可为您提供相同的转换,以及任何doc 无法自行识别的扫描页面的 OCR 模型。在浏览器中尝试它:演示页面使用 WebAssembly 运行该库,因此文件在本地转换,永远不会离开您的机器。快速入门 代理技能 anydoc 以代理技能的形式提供,因此您的代理可以读取遇到的任何文档:bash npx skills add firecrawl/anydoc 该技能教会代理使用 anydoc CLI 转换文档。与 Claude Code、Codex、Cursor、OpenCode 和任何其他兼容代理一起使用。CLI bash npx @firecrawl/anydoc report.docx # Markdown 到 stdout npx @firecrawl/anydoc slides.pptx -o slides.md # 或写入文件 npx @firecrawl/anydoc - --format csv 全部 API 参考:node/README.md Python bash pip install firecrawl-anydoc Python import anydoc 从文件路径:markdown = anydoc.tomarkdown("report.docx") 要启用 OCR:markdown = anydoc.tomarkdown("report.docx", ocr="hosted") 从字节中,根据内容检测格式:markdown = anydoc.tomarkdownbytes(data) 或者指定格式,需要无签名格式(CSV):markdown = anydoc.tomarkdownbytes(data, "csv") 或者停留在文档模型上,其中还包含嵌入的资产:document = anydoc.todocument(data) 全部 API 参考:Python/README.md 浏览器 (WebAssembly) bash npm install @firecrawl/anydoc-WASM js import init, { toMarkdownBytes, toDocument } from '@firecrawl/anydoc-WASM'; await init(); // 从字节中,根据内容检测格式:const markdown = toMarkdownBytes(bytes); // 或者指定格式,需要无签名格式(CSV):const fromCsv = toMarkdownBytes(bytes, 'csv'); // 或者停留在文档模型上,其中还包含嵌入的资产:const document = toDocument(bytes); 全部 API 参…

GitHub Issues· 93 开放

在 GitHub 查看全部
  • #170

    anydoc-wasm still ships pdf-inspector 1.14.2 — the RTL extraction fix (pdf-inspector#440) isn't included

    更新于 2026年9月15日
  • #173

    Multi-column tables collapse into unreadable single-column blobs during PDF conversion

    更新于 2026年9月12日
  • #172

    Ligature characters (fi/fl/ffi) are dropped instead of expanded when extracting PDF text

    更新于 2026年9月12日
  • #167

    OOXML: recoverable allocation failure in Package::part is classified as malformed

    更新于 2026年9月9日

核心特点

  • •Equations as LaTeX. Word and PowerPoint (OMML), OpenDocument and EPUB (MathML), and RTF equations convert to GitHub-flavored math: $...$ inline and $$ blocks.
  • •Fast. Pure Rust, no ML models, no external services. Median conversion time is under 5ms per document.
  • •PDF support built in. Text-based PDFs convert locally through pdf-inspector, no OCR service required. Scanned pages can opt into hosted OCR.
  • •Agent ready. Ships as an Agent Skill: one npx skills add firecrawl/anydoc and any agent can read office documents.

> 标签

开发者工具

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年9月9日
最后更新2026年9月17日
分类编程语言
定价免费

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言