# Convert PDF To Markdown

> This skill should be used when the user asks to "convert a PDF to markdown", "extract text from PDF", or mentions PDF to markdown conversion.

- Skill: `dwmkerr/convert-pdf-to-markdown` (Agent Skill)
- Install (CLI): `npx skillmds@latest add dwmkerr/convert-pdf-to-markdown`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dwmkerr/convert-pdf-to-markdown/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: dwmkerr (https://skillmd.com/u/dwmkerr)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/dwmkerr/convert-pdf-to-markdown

---


# Convert PDF to Markdown

Convert PDF files to markdown using the AI26 backoffice conversion service.

## When asking for filename

If the user hasn't specified a PDF file:
- Suggest any PDF files mentioned in the conversation
- Otherwise use "doc.pdf" as the example with description "Path to your PDF document"

## Usage

Run the conversion script:

```bash
${CLAUDE_PLUGIN_ROOT}/scripts/pdf-to-markdown.sh <filename.pdf>
```

## Response Format

The script returns JSON with `content` (markdown) and `mimetype` fields. Extract and display the `content` field to the user.

