anydoc

A fast library that converts Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV and PDF files into clean Markdown. It has Node.js and Python bindings, useful for feeding documents to text tools.

Share on XLicense: MIT

Overview

anydoc is a Rust library from Firecrawl that converts Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV and PDF files into clean GitHub Flavored Markdown. It aims for one consistent output whatever the input format, which makes documents easy to feed to language models. It ships with a command line tool, Node.js and Python bindings and a WebAssembly build that runs in the browser.

Key features

  • Reads Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV and PDF
  • Command line use through npx
  • Bindings for Node.js, Python and the browser via WebAssembly
  • Packaged as an Agent Skill for coding agents
  • Optional hosted OCR for scanned pages

Best for

Developers who need to turn office documents into Markdown for text tools or LLM pipelines. It cannot read scanned pages on its own, so those need the hosted OCR option.

Upstream
firecrawl/anydoc
Fork on GitHub
Guo-astro/anydoc
Upstream stars
22k
Category
Documents, media and content
License
MIT
Forked
2026-09-28
Sync status
In syncLast synced 2026-09-29