markitdown
Convert documents (PDF, Word, Excel, PowerPoint, images) to Markdown text for LLM processing
소스 정보
- 저장소
- markus-global/markus
- 최근 소스 활동
- 2026년 5월 2일 10:05
- 감지된 SKILL.md 언어
- 영어
- 스타
- 205
- 포크
- 16
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
파일 탐색기
2 개 파일SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- markitdown
- description
- Convert documents (PDF, Word, Excel, PowerPoint, images) to Markdown text for LLM processing
# MarkItDown File Converter
You have access to the MarkItDown MCP tool (`markitdown__convert_to_markdown`) for converting files to Markdown.
## When to use
Use this tool when:
- The user asks you to read, analyze, or summarize a document (PDF, Word, Excel, PowerPoint, etc.)
- You need to extract text content from an image (OCR)
- The user shares a file path and wants you to understand its contents
- You are working with a file format that your text tools cannot directly read
**Note:** For images attached directly in chat, the system automatically handles conversion when your model doesn't support vision. This skill is for converting files on disk that you encounter during tasks.
## Supported formats
MarkItDown supports 29+ file formats including:
- **Documents**: PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx/.xls)
- **Images**: JPEG, PNG, GIF, WebP (EXIF metadata + OCR)
- **Web**: HTML, XML
- **Data**: CSV, JSON
- **Other**: ZIP (iterates contents), EPUB, Outlook messages (.msg)
## Usage
```
markitdown__convert_to_markdown({ uri: "file:///path/to/document.pdf" })
```
The tool accepts a file URI and returns the content converted to Markdown format.
## Prerequisites
MarkItDown requires Python 3.10+ and the `markitdown` package:
```bash
pip install 'markitdown[all]'
```
Or install only specific format support:
```bash
pip install 'markitdown[pdf,docx,pptx]'
```
## Best practices
1. **Check file existence first**: Verify the file path is valid before attempting conversion.
2. **Large files**: For very large documents, the converted markdown may be lengthy. Summarize key sections for the user rather than dumping everything.
3. **Image OCR quality**: OCR results depend on image clarity. Mention if text extraction seems incomplete.
4. **Fallback**: If conversion fails (e.g., markitdown not installed), inform the user and suggest installing with `pip install 'markitdown[all]'`.
GitHub에서 보기