anydoc
A Rust library, with Node.js, Python and WebAssembly bindings, that converts Word, PowerPoint, Excel, RTF, EPUB, CSV and PDF files into clean Markdown for LLMs.
anydoc is a Rust library, built by Firecrawl, that converts documents in formats including Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV and PDF into clean, GitHub-flavored Markdown, aiming for single-digit-millisecond conversion and one consistent output regardless of the input format. It ships as a CLI, and as bindings for Node.js, Python and the browser through WebAssembly, and a browser demo page runs the WebAssembly build so files are converted locally and never leave the visitor's machine.
The library also ships as an Agent Skill, so agents such as Claude Code, Codex, Cursor and OpenCode can be taught to convert any document they encounter using the anydoc CLI. anydoc reads text-based PDFs locally but does not perform OCR itself; a PDF with scanned or image-only pages can optionally be sent to the hosted Firecrawl Parse API, which OCRs those pages and returns Markdown in the same format, while the Rust crate itself never makes network calls.