# convert-documents-to-markdown

> Claude/Codex skill by [@firecrawl](https://omgskills.com/library/firecrawl/index.md) · 16k stars · Updated 2026-08-13

Convert Word (.doc, .docx), PowerPoint (.ppt, .pptx), Excel (.xls, .xlsx), OpenDocument (.odt, .ods, .odp), RTF, EPUB, CSV, and PDF files to GitHub-Flavored Markdown. Use when a task needs the contents of an office document, spreadsheet, presentation, ebook, or PDF you cannot read directly.

## Install

```sh
git clone https://github.com/firecrawl/anydoc /tmp/anydoc && ln -s /tmp/anydoc/skills/convert-documents-to-markdown ~/.claude/skills/convert-documents-to-markdown
```

## From README

Convert documents to Markdown Run the anydoc CLI. It needs Node 20+ and no Rules: Supported inputs: .doc, .docx, .docm, .odt, .rtf, .epub, .pdf, .ppt, .pps, .pot, .pptx, .pptm, .ppsx, .ppsm, .odp, .xls, .xlsx, .xlsm, .xlsb, .ods, .csv. The format is detected from the file content. Pass --format only when detection cannot work: CSV from stdin, or a missing or wrong extension. Exit codes: 0 success, 1 the document could not be converted, 2 error. Failures print one anydoc: line to stderr. The CLI never prompts. For a large document, write to a file with -o and read the parts you need instead of streaming everything into context. Scanned and image-only PDFs need OCR, which anydoc does not do; they fail as unsupported. The hosted Firecrawl Parse API handles those. Inside a Node, Python, or Rust codebase, prefer the library over shelling out: @firecrawl/anydoc on npm, firecrawl-anydoc on PyPI, anydoc on crates.io. Each exposes the same tomarkdown / toMarkdown API.

## Links

- HTML page: https://omgskills.com/skills/firecrawl/anydoc/convert-documents-to-markdown/
- GitHub: https://github.com/firecrawl/anydoc
- Author: [@firecrawl](https://omgskills.com/library/firecrawl/index.md)

## More skills by this author

- [competitor-analysis](https://omgskills.com/skills/firecrawl/firecrawl-agent/competitor-analysis/index.md) — Compare two or more companies, products, or platforms across pricing, features, positioning, and docs.
   - [@firecrawl](https://omgskills.com/library/firecrawl/index.md) · 1.2k stars
- [deep-research](https://omgskills.com/skills/firecrawl/firecrawl-agent/deep-research/index.md) — Multi-source research with source triangulation and fact-checking.
   - [@firecrawl](https://omgskills.com/library/firecrawl/index.md) · 1.2k stars
- [e-commerce](https://omgskills.com/skills/firecrawl/firecrawl-agent/e-commerce/index.md) — Navigate e-commerce sites to extract products, pricing, categories, and inventory.
   - [@firecrawl](https://omgskills.com/library/firecrawl/index.md) · 1.2k stars
