π¦ ClawHub
Markdown Converter
by @steipete
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.
TERMINAL
clawhub install markdown-converterπ About This Skill
name: markdown-converter description: 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.pdfSave to file
uvx markitdown input.pdf -o output.md
uvx markitdown input.docx > output.mdFrom stdin
cat input.pdf | uvx markitdown
Supported Formats
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.mdConvert Excel spreadsheet
uvx markitdown data.xlsx > data.mdConvert PowerPoint presentation
uvx markitdown slides.pptx -o slides.mdConvert with file type hint (for stdin)
cat document | uvx markitdown -x .pdf > output.mdUse Azure Document Intelligence for better PDF extraction
uvx markitdown scan.pdf -d -e "https://your-resource.cognitiveservices.azure.com/"
Notes
-d with Azure Document Intelligenceπ‘ Examples
# Convert Word document
uvx markitdown report.docx -o report.mdConvert Excel spreadsheet
uvx markitdown data.xlsx > data.mdConvert PowerPoint presentation
uvx markitdown slides.pptx -o slides.mdConvert with file type hint (for stdin)
cat document | uvx markitdown -x .pdf > output.mdUse Azure Document Intelligence for better PDF extraction
uvx markitdown scan.pdf -d -e "https://your-resource.cognitiveservices.azure.com/"
βοΈ Configuration
-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
π Tips & Best Practices
-d with Azure Document Intelligence