markitdown

Convert PDF, DOCX, PPTX, XLSX, and other files to Markdown using Python.

Updated Apr 17, 2026
One-click install
npx skills add https://github.com/jiesou/dotfiles --skill markitdown-jiesou
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: markitdown
Source: https://github.com/jiesou/dotfiles/tree/main/exact_dot_agents/exact_skills/exact_0connect/exact_markitdown
Command: npx skills add https://github.com/jiesou/dotfiles --skill markitdown-jiesou

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the conversion of various file formats to Markdown, making it easy to create accessible and well-formatted text for modern language models.

Core Features & Use Cases

  • Format Conversion: Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs, and more.
  • AI-Enhanced Descriptions: Optional AI-powered image descriptions for enhanced content.
  • Use Case: Convert a complex PDF report to Markdown format for efficient processing by a language model.

Quick Start

Convert a document to Markdown using the markitdown skill with the command: markitdown file.pdf > output.md

Frequently Asked Questions about markitdown

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

FAQPage Schema
How do I convert a PDF document to Markdown for language model processing?

You can convert a PDF document to Markdown by running the markitdown command on your file. This normalizes the PDF content into accessible, well-formatted Markdown text for language model processing.

What file formats can I convert to Markdown besides PDF?

Besides PDF, you can convert DOCX, PPTX, XLSX, images, audio, HTML, CSV, JSON, XML, ZIP, EPubs, and YouTube URLs to Markdown. This broad format normalization prepares diverse content for language models.

Do I need an OpenAI API key to convert files to Markdown?

The OpenAI dependency is required specifically for generating AI-enhanced image descriptions during conversion. Core text file to Markdown conversion relies on the markitdown dependency and does not require OpenAI.

Can I transcribe audio files to text and convert them to Markdown?

Yes, you can transcribe audio files directly to Markdown format using this conversion tool. This extracts spoken content and normalizes it into structured text for natural language preprocessing tasks.

How do images get processed when converting documents to Markdown?

Images within documents are processed using OCR to extract text, with optional AI-enhanced image descriptions powered by OpenAI. This extracts visual content and generates contextual text within the Markdown output.

What is the best way to normalize file formats for NLP text preprocessing?

Converting diverse file formats to Markdown is the best way to normalize inputs for NLP text preprocessing. This standardizes PDFs, DOCX, and HTML files into a uniform, accessible text structure for models.