When you drop a PDF into Claude, it reads every page as text and as a picture. Great when the layout matters, wasteful when you only need the words. Claude's docs put each PDF page at roughly 1,500 to 3,000 tokens of text, plus the image.
Option 1: convert it yourself
MarkItDown is a free, open-source tool from Microsoft that turns PDF, Word, PowerPoint and Excel files into clean Markdown.
- Install it (Python 3.10 or newer):
pip install 'markitdown[all]' - Convert:
markitdown report.pdf -o report.md - Attach report.md to Claude instead of the PDF.
Option 2: let Claude convert files itself
In Claude Code:
Copy-paste prompt
pip install markitdown-mcp claude mcp add markitdown -- markitdown-mcp
Then ask: "Convert ~/Downloads/report.pdf to Markdown and give me the 5 key points."
When to keep the PDF
- Charts, tables and diagrams where the picture carries the meaning.
- Designed documents where layout matters.
- Scanned PDFs (photos of paper) have no text layer, so there's nothing to convert.
More token savers
- Send only the pages you need.
- Convert once and keep the .md file in a Claude Project.
- Ask for a 1-page summary file and reuse that next time.
Some links are affiliate links: I may earn a commission at no cost to you. Not affiliated with Anthropic.
