Repolode
firecrawl

firecrawl/anydoc

A Rust library and CLI that converts Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV and PDF files into clean GitHub-Flavored Markdown.

Звёзды
22,954
Форки
1,478
Открытые issues
113
Последний коммит
20 часов назад

Что это?

anydoc converts a wide range of office and document formats into GitHub-Flavored Markdown, with one consistent output regardless of the input format. Each format is parsed into a shared document model and rendered through a single Markdown serializer, so tables, escaping, heading anchors and footnotes behave the same across Word, PowerPoint, Excel and the other supported formats.

The library is written in Rust and ships with bindings for Node.js, Python and WebAssembly for in-browser use, plus a CLI and an Agent Skill. Text-based PDFs are converted locally. Scanned pages can optionally be sent to the hosted Firecrawl Parse service for OCR, and the rest of the conversion runs without network calls.

It keeps document structure such as lists, merged table cells, speaker notes and equations, which are rendered as LaTeX. Images appear as their alt text, while the raw bytes remain available on the document model.

Ключевые возможности

  • 01Converts Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV and PDF to Markdown.
  • 02Detects the file format from its content, so mislabeled files still convert.
  • 03Preserves headings, lists, tables with merged cells, footnotes and speaker notes.
  • 04Renders equations from OMML, MathML and RTF as LaTeX math.
  • 05Provides Rust, Node.js, Python and WebAssembly bindings plus a CLI.
  • 06Converts text-based PDFs locally, with optional hosted OCR for scanned pages.

Сценарии использования

  • Feeding mixed office documents into an LLM or RAG pipeline as Markdown.
  • Batch-converting a folder of Word or Excel files into text for indexing.
  • Previewing documents in a browser without uploading them, using the WebAssembly build.
  • Giving an AI coding agent the ability to read office files through the Agent Skill.

Темы

Частые вопросы

Что такое anydoc?
A Rust library and CLI that converts Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV and PDF files into clean GitHub-Flavored Markdown. anydoc converts a wide range of office and document formats into GitHub-Flavored Markdown, with one consistent output regardless of the input format. Each format is parsed into a shared document model and rendered through a single Markdown serializer, so tables, escaping, heading anchors and footnotes behave the same across Word, PowerPoint, Excel and the other supported formats.
anydoc можно использовать бесплатно? Какая у него лицензия?
anydoc распространяется с открытым исходным кодом под лицензией MIT. Перед использованием в коммерческих продуктах проверьте условия лицензии.
anydoc всё ещё поддерживается?
Активно поддерживается. Последний коммит в anydoc — 18 окт. 2026 г..
Для чего можно использовать anydoc?
Feeding mixed office documents into an LLM or RAG pipeline as Markdown. Batch-converting a folder of Word or Excel files into text for indexing. Previewing documents in a browser without uploading them, using the WebAssembly build. Giving an AI coding agent the ability to read office files through the Agent Skill.
Где скачать anydoc?
Исходный код и инструкции по установке — на GitHub: https://github.com/firecrawl/anydoc

Описание создано ИИ на основе README проекта. Статистика GitHub обновляется ежедневно.

Похожие проекты