Skip to content
Agentmart
Submit a tool

markitdown

Converts heterogeneous documents and selected URIs to Markdown with Microsoft MarkItDown for text analysis, search, and LLM/RAG ingestion.

Skill by K-Dense-AI

IndexedMIT★ 54,411
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/k-dense-ai-markitdown

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Converts heterogeneous documents and selected URIs to Markdown with Microsoft MarkItDown for text analysis, search, and LLM/RAG ingestion. Covers safe local conversion, streams, Office/PDF/data formats, batch workflows, plugins, vision OCR, Azure extraction, and the official MCP server.

Use cases: documents, backend, cloud, data

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/markitdown

What's inside

Skill name
markitdown
Description
Converts heterogeneous documents and selected URIs to Markdown with Microsoft MarkItDown for text analysis, search, and LLM/RAG ingestion. Covers safe local conversion, streams, Office/PDF/data formats, batch workflows, plugins, vision OCR, Azure extraction, and the official MCP server.
License
MIT
Compatibility
Python >=3.10,<3.15 and uv. Examples target MarkItDown 0.1.8. Core local conversion can run offline; URL, YouTube, audio transcription, LLM, Azure, and MCP workflows may use network or external services.
Metadata
version: 2.5 · skill-author: K-Dense Inc. · last-reviewed: 2026-10-01
Instructions
275 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (11)

  • SKILL.md
  • api_reference.md · references/
  • cloud_and_ocr.md · references/
  • file_formats.md · references/
  • mcp_and_plugins.md · references/
  • migration.md · references/
  • security.md · references/
  • workflows.md · references/
  • batch_convert.py · scripts/
  • convert_literature.py · scripts/
  • inspect_installation.py · scripts/

SKILL.md (first lines)

# MarkItDown

## Overview

MarkItDown is Microsoft's lightweight Python utility for turning common documents into structure-preserving Markdown. Its output is designed primarily for indexing, text analysis, search, and LLM ingestion—not high-fidelity visual reproduction.

This skill targets **MarkItDown 0.1.8**, released September 21, 2026. New code should use `result.markdown`; `result.text_content` remains only as a soft-deprecated compatibility alias.

## Choose the Right Path

| Need | Recommended path |
|---|---|
| Trusted local PDF, Office, HTML, CSV, EPUB, or ZIP | Built-in converter with `convert_local()` |
| Uploaded bytes or an already-open file | `convert_stream()` with `StreamInfo` hints |
| Remote HTTP(S) input | Validate and fetch it yourself, then call `convert_response()` |
| Scanned PDF or text inside embedded images | Official `markitdown-ocr` vision plugin, Azure Document Intelligence, or Azure Content Understanding |
| Video, structured fields, or custom multimodal extraction | Azure Content Understanding |
| Local agent integration | Official `markitdown-mcp` server over STDIO or localhost |
| Bounding boxes, page coordinates, or screenshots | Use a layout-aware parser such as LiteParse instead |
| PDF merge/split/forms/watermarks | Use a PDF manipulation library such as `pypdf` instead |

## Installation

Create an isolated environment:

```bash
uv venv --python 3.12 .venv
source .venv/bin/activate
```

Install every built-in feature:

```bash
uv pip install "markitdown[all]==0.1.8"
```

Or install only the converters required by the task:

```bash
uv pip install "markitdown[pdf,docx,pptx,xlsx]==0.1.8"
```

Available extras in 0.1.8 are:

- `pptx`, `docx`, `xlsx`, `xls`, `pdf`, and `outlook`
- `audio-transcription` and `youtube-transcription`
- `az-doc-intel` and `az-content-understanding`
- `all`

Verify the installation:

```bash
markitdown --version
python scripts/inspect_installation.py
```

The `[all]` extra does **not** install the separate `markitdown-ocr` plugin or an OpenAI-compatible client.

## Quick Start

### Command line

```bash
# Convert a trusted local file
markitdown report.pdf -o report.md

# Write Markdown to stdout
markitdown manuscript.docx > manuscript.md

# Supply type information when reading bytes from stdin
markitdown < report.pdf -x .pdf -m application/pdf -o report.md
```

Useful CLI controls:

```bash
markitdown --list-plugins
markitdown --use-plugins document.pdf -o document.md
markitdown image.bin -x .png -m image/png -o image.md
markitdown page.html --keep-data-uris -o page.md
```

`--keep-data-uris` can make output very large and may preserve embedded sensitive data. Enable it only when required.

### Python: trusted local file

Prefer the narrow local-only API when the source is a file:

```python
from pathlib import Path

from markitdown import MarkItDown

source = Path("report.pdf")
destination = Path("report.md")

converter = MarkItDown()
result = converter.convert_local(source)
destination.write_text(result.markdown, encoding="utf-8")
```

### Python: binary stream

Use a binary, seekable stream and provide metadata when the stream has no filename:

```python
from markitdown import MarkItDown, StreamInfo

converter = MarkItDown()

with open("report.pdf", "rb") as stream:
    result = converter.convert_stream(
        stream,
        stream_info=StreamInfo(
            extension=".pdf",
            mimetype="application/pdf",
            filename="report.pdf",
        ),
    )

From K-Dense-AI/scientific-agent-skills, MIT.

More from K-Dense-AI/scientific-agent-skills

Compare and alternatives

    Featured in

    Signals

    Stars
    54,411
    Forks
    4,797
    Open issues
    8
    Last commit (this folder)
    Oct 1, 2026 (26 days ago)
    Last release
    Oct 1, 2026 (26 days ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    Version
    2.5
    License
    MIT
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from K-Dense-AI

    Cite this page

    markitdown skill. Agent Mart. https://agentmart.dev/skills/k-dense-ai-markitdown (last updated 2026-10-24)