Markdown Converter

•
197
•

Converts PDFs, Office documents, and media files into structured Markdown for optimized LLM analysis.

The Markdown Converter skill empowers Claude to transform a wide variety of file formats—including PDF, Microsoft Office (Word, Excel, PowerPoint), HTML, and even media files with OCR and transcription—into clean, structured Markdown. By leveraging the MarkItDown utility via uvx, this skill ensures that complex documents are converted into a format that is highly readable for AI models, making it easier to summarize reports, analyze data tables, and extract insights from non-textual assets like images and audio. It is an essential tool for developers and analysts who need to process diverse data sources within their Claude Code workflow.

Key Features

01Conversion of YouTube URLs and web content into text
02197 GitHub stars
03Zero-install execution using uvx for instant document processing
04Support for PDF, Word, Excel, and PowerPoint documents
05OCR for images and automated audio transcription
06Integration with Azure Document Intelligence for high-fidelity extraction

Use Cases

01Transforming legacy PDF reports into Markdown for automated summarization
02Converting Excel spreadsheets into structured tables for data analysis
03Extracting meeting notes from audio files or slides into documentation
name description
markdown-converter
Convert documents and files to Markdown using markitdown. Use when converting PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx, .xls), HTML, CSV, JSON, XML, images (with EXIF/OCR), audio (with transcription), ZIP archives, YouTube URLs, or EPubs to Markdown format for LLM processing or text analysis.

Markdown Converter

Convert files to Markdown using uvx markitdown — no installation required.

Basic Usage

# Convert to stdout
uvx markitdown input.pdf

# Save to file
uvx markitdown input.pdf -o output.md
uvx markitdown input.docx > output.md

# From stdin
cat input.pdf | uvx markitdown

Supported Formats

  • Documents: PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx, .xls)
  • Web/Data: HTML, CSV, JSON, XML
  • Media: Images (EXIF + OCR), Audio (EXIF + transcription)
  • Other: ZIP (iterates contents), YouTube URLs, EPub

Options

-o OUTPUT      # Output file
-x EXTENSION   # Hint file extension (for stdin)
-m MIME_TYPE   # Hint MIME type
-c CHARSET     # Hint charset (e.g., UTF-8)
-d             # Use Azure Document Intelligence
-e ENDPOINT    # Document Intelligence endpoint
--use-plugins  # Enable 3rd-party plugins
--list-plugins # Show installed plugins

Examples

# Convert Word document
uvx markitdown report.docx -o report.md

# Convert Excel spreadsheet
uvx markitdown data.xlsx > data.md

# Convert PowerPoint presentation
uvx markitdown slides.pptx -o slides.md

# Convert with file type hint (for stdin)
cat document | uvx markitdown -x .pdf > output.md

# Use Azure Document Intelligence for better PDF extraction
uvx markitdown scan.pdf -d -e "https://your-resource.cognitiveservices.azure.com/"

Notes

  • Output preserves document structure: headings, tables, lists, links
  • First run caches dependencies; subsequent runs are faster
  • For complex PDFs with poor extraction, use -d with Azure Document Intelligence