convert-to-markdown

Convert PDF, DOCX, PPTX, XLSX, HTML, EPUB, and images to Markdown.

5|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/mfmezger/ai_agent_dotfiles --skill convert-to-markdown
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convert-to-markdown
Source: https://github.com/mfmezger/ai_agent_dotfiles/tree/main/shared/skills/convert-to-markdown
Command: npx skills add https://github.com/mfmezger/ai_agent_dotfiles --skill convert-to-markdown

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires markitdown, pandoc, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the conversion of various document formats into Markdown, streamlining content integration and editing workflows.

Core Features & Use Cases

  • Multi-format Support: Converts PDFs, Word documents, PowerPoint presentations, Excel spreadsheets, HTML, EPUBs, and even images (via OCR) to Markdown.
  • Flexible Extraction: Offers different modes (auto, text, OCR, hybrid for PDFs) to suit the content and desired output.
  • Use Case: You have a research paper in PDF format and need to quickly get its content into a Markdown file for a wiki or documentation site.

Quick Start

Convert the document 'report.pdf' to markdown format.

Frequently Asked Questions about convert-to-markdown

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a PDF to Markdown?

You can convert a PDF to Markdown using automated extraction tools. This approach supports text, OCR, and hybrid modes to accurately transform both text-based and image-based PDF documents into Markdown format.

Can I convert DOCX, PPTX, and EPUB files to Markdown?

Yes, you can convert DOCX, PPTX, and EPUB files to Markdown. This tool supports multi-format conversion for Word documents, PowerPoint presentations, Excel spreadsheets, and HTML files to streamline content editing workflows.

Does this tool support OCR for converting images to Markdown?

Yes, this tool supports OCR for converting images to Markdown. It extracts text from image-based documents and scanned PDFs, enabling accurate conversion of visual content into editable Markdown format.

What is the best way to automate document conversion to Markdown?

The best way to automate document conversion to Markdown is by utilizing integrated libraries like markitdown and pandoc. This approach systematically processes various formats including PDFs, Office documents, and images into structured Markdown.

When should I use hybrid extraction for PDF to Markdown conversion?

Use hybrid extraction for PDF to Markdown conversion when documents contain both selectable text and embedded images. This mode combines standard text extraction and OCR to ensure comprehensive and accurate content capture.