markitdown

Convert PDFs, DOCX, PPTX, XLSX, images with OCR, audio with transcription, HTML, EPUB, CSV, JSON, XML into Markdown for LLM processing.

8|Updated Nov 19, 2025
One-click install
npx skills add https://github.com/sanand0/scientific-research --skill markitdown-sanand0
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: markitdown
Source: https://github.com/sanand0/scientific-research/tree/main/.claude/skills/markitdown
Command: npx skills add https://github.com/sanand0/scientific-research --skill markitdown-sanand0

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of converting a wide variety of file formats into clean, LLM-optimized Markdown, making content easily processable by AI models.

Core Features & Use Cases

  • Universal Conversion: Supports over 20 formats including Office docs, PDFs, images (with OCR), audio (with transcription), web content, and structured data.
  • LLM Optimization: Produces token-efficient Markdown preserving structure, links, and metadata.
  • Use Case: You have a collection of research papers in PDF, Word documents, and presentation slides. Use this Skill to convert them all into Markdown for easy ingestion into a RAG system or for AI-powered summarization.

Quick Start

Convert the document located at '/path/to/your/document.pdf' into Markdown format.

Frequently Asked Questions about markitdown

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

FAQPage Schema
How do I convert PDF and Word documents to Markdown for LLM processing?

You can convert PDF and Word documents to Markdown for LLM processing by using a conversion tool that supports batch processing, preserves document structure and metadata, and outputs token-efficient text optimized for AI ingestion.

Can I extract text from images and transcribe audio files into Markdown?

Yes, you can extract text from images using OCR and transcribe audio files into Markdown. This conversion preserves the original content structure while optimizing the output for token-efficient LLM ingestion.

Does converting documents to Markdown preserve links and original metadata?

Converting documents to Markdown preserves links and original metadata while ensuring token efficiency. This mechanism maintains the structural integrity of source files for accurate content analysis and RAG ingestion.

What is the best way to prepare structured data like CSV and JSON for RAG systems?

The best way to prepare structured data like CSV and JSON for RAG systems is converting them into LLM-optimized Markdown. This process transforms structured formats into clean text, facilitating seamless document ingestion and AI-powered analysis.

How do I process Office documents like PPTX and XLSX for AI-powered summarization?

You process Office documents like PPTX and XLSX for AI-powered summarization by converting them into Markdown. This approach supports batch processing of presentations and spreadsheets, yielding token-efficient outputs for LLMs.