Convert a PDF document to readable Markdown text using the built-in Read tool, pdf-parse-cli, or pdftotext, preserving headings and tables and saving the result to the session workspace. Use when the user provides a PDF file path and wants to read, search, or work with its contents.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Pdf To Markdown?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/erriccc-pdf-to-markdown)
---
name: pdf-to-markdown
description: Convert a PDF document to readable Markdown text using the built-in Read tool, pdf-parse-cli, or pdftotext, preserving headings and tables and saving the result to the session workspace. Use when the user provides a PDF file path and wants to read, search, or work with its contents.
---
# Skill: PDF to Markdown
Convert PDF documents to readable Markdown text.
## When to use
When the user provides a PDF file path and wants to read, search, or work with its contents.
## How to execute
Option 1 — Using the built-in Read tool:
The Read tool can directly read PDF files. Use `pages` parameter for large PDFs (max 20 pages per request).
Option 2 — Full extraction via CLI (for better formatting or batch processing):
```bash
npx --yes pdf-parse-cli "<PDF_PATH>"
```
Option 3 — Using pdftotext (if available):
```bash
pdftotext -layout "<PDF_PATH>" -
```
## Output
Save the converted content to the session workspace as `library/{filename}.md` with:
- Document title and source path at the top
- Preserved heading structure where detectable
- Tables converted to Markdown tables where possible
- Page numbers as section markers