Markdown Converter

•
195
•

Converts PDFs, Office documents, media, and web content into structured Markdown for seamless LLM processing.

The Markdown Converter skill leverages the power of markitdown to transform a wide array of file formats into clean, structured Markdown. It supports everything from Microsoft Office documents (Word, Excel, PowerPoint) and PDFs to media files requiring OCR or transcription. By providing a standardized text-based output that preserves headings, tables, and lists, this skill is indispensable for developers and researchers who need to prepare unstructured data for AI analysis, documentation, or RAG (Retrieval-Augmented Generation) pipelines.

主な機能

01195 GitHub stars
02Converts web and data formats including HTML, CSV, JSON, and XML
03Processes media files via image OCR and audio transcription
04Zero-installation execution using uvx for instant availability
05Optional integration with Azure Document Intelligence for complex PDFs
06Supports PDF, Word, Excel, and PowerPoint conversion

ユースケース

01Transforming complex Excel spreadsheets into Markdown tables for AI analysis
02Converting legacy PDF or Word documentation into Markdown for LLM training
03Extracting structured text from images and presentations for automated reporting
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