Pdf To Markdown
Convert PDFs to Markdown once, with optional Vision for scanned or image-only documents and bounded search afterward.
- CCM score
- 61 of 100
- skills.sh installs
- 876
- GitHub stars
- 18
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers single-file and batch conversion of PDFs into Markdown, with optional image export to a resources folder
- Includes the
pdf-to-markdownwrapper,nutrient authaccount commands, and a Vision mode for scans, handwriting, and formulas - Enforces convert-once behavior: saved output is searched with bounded
greporqueryinstead of re-parsing the PDF - Designed for agent workflows where Markdown structure matters more than column alignment, with
pdf-to-textas the alternative
Install
$ npx -y skills add pspdfkit-labs/nutrient-skills --skill pdf-to-markdown -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Rules for agents
- Convert each PDF once and save the result. Search the saved file instead of converting it again.
- For a known term, start with a bounded search such as
grep -n -i -C2 "term" file | head. - Use the
queryskill when you do not know the exact wording or a plain search returns too many matches. - Use
pdf-to-textwhen whitespace and column alignment matter more than Markdown structure. - Do not render PDF pages as images to extract selectable text. Use Vision for scans and image-only PDFs.
PDF to Markdown
Convert PDFs to Markdown while preserving headings, tables, lists, and reading order.
Related skills
pdf-to-text— preserves whitespace and column alignment in plain text.query— searches a large converted file and returns only the most relevant passages.
Usage
Set SKILL_DIR to the absolute path of the directory containing this file. Use $SKILL_DIR/bin/pdf-to-markdown in the commands below.
The wrapper downloads the CLI from Nutrient's CDN on first use and stores it in ~/.local/share/nutrient/cli/. It checks for updates every six hours.
Convert one PDF
Details
- Repository
- github.com/pspdfkit-labs/nutrient-skills
- Categories
- Office Files & Slides, AI Agents & LLM Apps
- First seen
- Jun 3, 2026
Questions
What does the pdf-to-markdown skill do?
The pdf-to-markdown skill extracts text from a PDF as structured Markdown that keeps headings, tables, lists, and reading order. It is meant for analysis, retrieval-augmented generation, or feeding an LLM context. Standard conversion works on PDFs with selectable text, and Vision handles scans and complex pages.
How do I install the pdf-to-markdown skill?
Run npx -y skills add pspdfkit-labs/nutrient-skills --skill pdf-to-markdown -y in your project. The skill then lets your agent convert a PDF once to a Markdown file and search that file with bounded grep commands.
Does pdf-to-markdown need an account or API key?
Standard conversion is free and needs no account, including in containers and CI. Vision for scans and image-only PDFs requires a Nutrient account, an API key, or a Nutrient CLI license key. With an account or API key, each input page uses one Vision page from the monthly allowance.
When should I use pdf-to-markdown instead of pdf-to-text?
Use pdf-to-markdown when you want headings, tables, and lists preserved as Markdown structure. The skill's own guidance says to use pdf-to-text instead when whitespace and column alignment must be preserved. It sits in the Office Files & Slides category.
Similar to Pdf To Markdown
More Office Files & SlidesPDF ReaderMCP serversylphlab1.1K starsConverts PDFs, Office files, web pages, and media to Markdown for AI agents, locally.
markdown-converterSkillsteipete/agent-scripts346 installsCommand-line wrapper that converts PDFs, Office files, web pages, media, and more into Markdown without installation.
pdf-converterSkilltanis90/pdf-converter-mineru9.7K installsConvert PDFs, images, and Office files to Markdown, with optional OCR and full-fidelity extraction.
markitdownSkilldavila7/claude-code-templates2.6K installsConverts PDF, Office, image, audio, web, and data files to LLM-friendly Markdown via the MarkItDown Python tool.
pdfmuxMCP servernameetp88 starsConverts PDFs to Markdown and certifies any extractor's output for silently dropped pages.