Xpersona
M

Microsoft MarkItDown

CLAWHUB · Unverified

Convert various document formats (PDF, Word, PowerPoint, Excel, images, audio, HTML, etc.) to Markdown using Microsoft's markitdown tool. Supports OCR, audio... Skill: Microsoft MarkItDown Owner: lanyasheng Summary: Convert various document formats (PDF, Word, PowerPoint, Excel, images, audio, HTML, etc.) to Markdown using Microsoft's markitdown tool. Supports OCR, audio... Tags: conversion:1.0.0, document:1.0.0, latest:1.0.0, markdown:1.0.0, microsoft:1.0.0, pdf:1.0.0, word:1.0.0 Version history: v1.0.0 | 2026-04-12T00:05:30.470Z | user Initial release: Microsoft MarkItDown

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s179bk63dv96y90hw97xaay4fx83t7yr:ms-markitdown
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-lanyasheng-ms-markitdown/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

6,633 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: markitdown
description: Convert various document formats (PDF, Word, PowerPoint, Excel, images, audio, HTML, etc.) to Markdown using Microsoft's markitdown tool. Supports OCR, audio transcription, and YouTube video extraction.
triggers:
  - convert pdf to markdown
  - convert word to markdown
  - convert document
  - extract text from pdf
  - ocr image
  - transcribe audio
  - markitdown
  - 文档转markdown
  - pdf转文本
---

# MarkItDown

Microsoft's lightweight Python utility for converting various files to Markdown for use with LLMs and related text analysis pipelines.

## Installation

### Prerequisites
- Python 3.10+
- Java 11+ (for some converters)

### Install via pipx (recommended)
```bash
pipx install 'markitdown[all]'
```

### Install via pip
```bash
pip install 'markitdown[all]'
```

### Minimal install (specific formats only)
```bash
pip install 'markitdown[pdf,docx,pptx]'
```

## Supported Formats

| Format | Extension | Notes |
|--------|-----------|-------|
| PDF | .pdf | Preserves structure, tables, links |
| Word | .docx | Headings, lists, tables |
| PowerPoint | .pptx | Slides to Markdown |
| Excel | .xlsx, .xls | Table data |
| Images | .png, .jpg, etc. | EXIF metadata + OCR |
| Audio | .wav, .mp3 | Speech transcription |
| HTML | .html, .htm | Web content |
| YouTube | URL | Video transcription |
| ZIP | .zip | Iterates over contents |
| EPub | .epub | E-books |
| Text | .csv, .json, .xml | Text-based formats |

## CLI Usage

### Basic Conversion
```bash
# PDF to Markdown
markitdown document.pdf > output.md

# Word to Markdown
markitdown document.docx -o output.md

# PowerPoint to Markdown
markitdown presentation.pptx -o output.md
```

### Pipe Input
```bash
cat document.pdf | markitdown
```

### Image OCR
```bash
markitdown screenshot.png -o text.md
```

### YouTube Video
```bash
markitdown "https://youtube.com/watch?v=..." -o transcript.md
```

## Python API Usage

```python
from markitdown import MarkItDown

# Initialize
md = MarkItDown()

# Convert file
result = md.convert("document.pdf")
print(result.text_content)

# Convert from stream
with open("document.pdf", "rb") as f:
    result = md.convert_stream(f)
    print(result.text_content)
```

## Options

| Option | Description | Example |
|--------|-------------|---------|
| `-o, --output` | Output file | `-o output.md` |
| `--format` | Output format (default: markdown) | `--format json` |
| `--pages` | Specific pages | `--pages "1,3,5-7"` |
| `--image-output` | Image handling | `--image-output external` |
| `--quiet` | Suppress output | `--quiet` |

## MCP Server

MarkItDown provides an MCP (Model Context Protocol) server for integration with LLM applications:

```bash
pip install markitdown-mcp
```

## Best Practices

1. **Batch processing**: Process multiple files in one call for efficiency
2. **Format selection**: Use minimal install if only specific formats needed
3. **OCR quality**: Ensure 300 DPI+ for scanned documents
4. **Output review**: Always verify Markdow

_meta.json

{
  "ownerId": "kn7ecyzc2xkecxz46jd7gvwxgs822fyc",
  "slug": "ms-markitdown",
  "version": "1.0.0",
  "publishedAt": 1775952330470
}

skill-card.md

## Description:

Convert various document formats (PDF, Word, PowerPoint, Excel, images, audio, HTML, etc.) to Markdown using Microsoft's markitdown tool.

This skill is ready for commercial/non-commercial use.

## Publisher:

[lanyasheng](https://clawhub.ai/user/lanyasheng)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agents use this skill to convert PDFs, Office documents, images, audio, HTML, YouTube URLs, archives, and text-based files into Markdown for LLM workflows and text analysis.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Unpinned installation examples can install different MarkItDown or dependency versions over time.

Mitigation: Install in a dedicated virtual environment or container and pin reviewed versions before production use.

Risk: Document, media, or URL conversion can expose confidential content to local converters or remote-fetch behavior.

Mitigation: Avoid converting confidential documents or private media unless the execution environment and converter behavior are trusted.

## Reference(s):

- [Microsoft MarkItDown GitHub Repository](https://github.com/microsoft/markitdown)
- [Microsoft MarkItDown PyPI Package](https://pypi.org/project/markitdown/)
- [MarkItDown MCP Server](https://github.com/microsoft/markitdown/tree/main/packages/markitdown-mcp)
- [ClawHub Skill Page](https://clawhub.ai/lanyasheng/skills/ms-markitdown)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance with shell and Python code examples; converted outputs are Markdown, JSON, HTML, or text.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May write converted files to a requested output path or return converted content to stdout.]

## Skill Version(s):

1.0.0 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Microsoft MarkItDown and adjacent AI workflows.