Skip to content
Agentmart
Submit a tool

markitdown-python

Convert files to Markdown using Microsoft's MarkItDown tool.

Skill by Jansen611

IndexedMIT★ 2
Write a review

Chalk Labs

Need help deploying markitdown-python?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

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/jansen611-markitdown-python

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

Convert files to Markdown using Microsoft's MarkItDown tool. Supports PDF, Word, PowerPoint, Excel, images, audio, HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs. Triggers when user mentions: - "convert to markdown" or "extract text" - "read this PDF/Word/Excel/PowerPoint" - "get markdown from file" - "summarize this document" - wants content extracted from a supported file format

Use cases: documents, spreadsheets, presentations, frontend

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-python

What's inside

Skill name
markitdown-python
Description
Convert files to Markdown using Microsoft's MarkItDown tool. Supports PDF, Word, PowerPoint, Excel, images, audio, HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs. Triggers when user mentions: - "convert to markdown" or "extract text" - "read this PDF/Word/Excel/PowerPoint" - "get markdown from file" - "summarize this document" - wants content extracted from a supported file format
License
MIT
Instructions
181 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • convert_to_markdown.py · scripts/

SKILL.md (first lines)

# MarkItDown Skill

Convert various file formats to Markdown using [microsoft/markitdown](https://github.com/microsoft/markitdown).

## Pre-Check

Before converting any file, follow this check sequence:

### Step 1: Check if markitdown is already in PATH

```powershell
# Windows
Get-Command markitdown -ErrorAction SilentlyContinue
```

```bash
# macOS / Linux
which markitdown || command -v markitdown
```

**If found → skip to [Usage](#usage).**

### Step 2: Check if markitdown exists in ~/.venv

```powershell
# Windows
Test-Path "$env:USERPROFILE\.venv\Scripts\markitdown.exe"
```

```bash
# macOS / Linux
test -f ~/.venv/bin/markitdown && echo "found"
```

**If found → add to PATH for this session, then proceed to [Usage](#usage):**

```powershell
# Windows
$env:PATH = "$env:USERPROFILE\.venv\Scripts;$env:PATH"
```

```bash
# macOS / Linux
export PATH="$HOME/.venv/bin:$PATH"
```

### Step 3: Install (only if Steps 1 and 2 both failed)

```powershell
# Windows
python -m venv "$env:USERPROFILE\.venv"
& "$env:USERPROFILE\.venv\Scripts\pip" install "markitdown[all]"
$env:PATH = "$env:USERPROFILE\.venv\Scripts;$env:PATH"
```

```bash
# macOS / Linux
python3 -m venv ~/.venv
~/.venv/bin/pip install "markitdown[all]"
export PATH="$HOME/.venv/bin:$PATH"
```

---

## Installation Location

MarkItDown is installed in a dedicated venv at `~/.venv`:

| Platform      | Executable                        | pip                           |
|---------------|-----------------------------------|-------------------------------|
| Windows       | `~\.venv\Scripts\markitdown.exe`  | `~\.venv\Scripts\pip.exe`     |
| macOS / Linux | `~/.venv/bin/markitdown`          | `~/.venv/bin/pip`             |

## Supported Formats

- PDF
- PowerPoint (.pptx)
- Word (.docx)
- Excel (.xlsx, .xls)
- Images (EXIF metadata, OCR with plugin)
- Audio (EXIF metadata, speech transcription)
- HTML
- Text-based formats (CSV, JSON, XML)
- ZIP files (iterates over contents)
- YouTube URLs
- EPubs
- Outlook messages (.msg)

## Usage

### Command-Line (preferred for simple conversions)

```powershell
# Windows - convert a file to markdown (output to stdout)
markitdown "path\to\file.pdf"

# Save output to a file
markitdown "path\to\file.pdf" -o output.md
```

```bash
# macOS / Linux
markitdown path/to/file.pdf
markitdown path/to/file.pdf -o output.md
cat path/to/file.pdf | markitdown
```

### Automated Conversion Script

For repeatable file conversions, use `scripts/convert_to_markdown.py`. Run it with the current `python` when that environment can import `markitdown`; use the dedicated virtual-environment interpreter only when the current environment does not have the dependency. The script converts the input, removes NUL characters from generated text, writes UTF-8 without a BOM, validates that the output is not empty, and prints the output path.

```powershell
python "$env:USERPROFILE\.agents\skills\markitdown-python\scripts\convert_to_markdown.py" ".\input.msg" -o ".\output.md"
```

```bash
python ~/.agents/skills/markitdown-python/scripts/convert_to_markdown.py ./input.msg -o ./output.md
```

From Jansen611/Agent-Skills, MIT.

More from Jansen611/Agent-Skills

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Aug 19, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

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

More from Jansen611

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get markitdown-python running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying markitdown-python?

CallGet help
Cite this page

markitdown-python skill. Agent Mart. https://agentmart.dev/skills/jansen611-markitdown-python (last updated 2026-10-24)