PDF and Word to Markdown for Claude
MarkPrep, a Markdown converter for Claude users, turns PDF and Word files into Markdown. Convert in your browser and paste the result into Claude, or let Claude Code convert files through MarkPrep's MCP server.
MarkPrep gives you two ways to convert a PDF to Markdown for Claude. For a single file, convert it in the browser above, check the token count for your Claude model, and copy the Markdown into your conversation. With Pro, Claude Code can convert files on your machine itself, through MarkPrep's local MCP server.
- Free browser converter with token estimates for Claude models
- Local MCP server and command-line converter with Pro
- One command adds the MCP server to Claude Code
Convert a PDF for Claude in the browser
- 1Drop the PDF or Word file on the converter above.
- 2Pick your Claude model in the token meter. Claude counts are estimates, at about 2.5 characters per token.
- 3Check the Markdown, then copy it or download the .md file.
- 4Paste the Markdown into your conversation with Claude.
Claude Sonnet 5.5, Opus 5.5, Haiku 5.5 and Fable 5.1 each have a 1,000,000-token context window. The meter turns red when a document is larger than that. For a long book, the chunk preview splits the Markdown at headings, and each part keeps its heading path.
Why give Claude Markdown?
Markdown is plain text, so you can read and edit exactly what Claude will receive. Headings, lists and tables stay marked, and you can count the tokens before you send anything.
Let Claude Code convert files itself
With Pro, the markprep npm package runs an MCP server with one tool, convert_document. Claude Code calls the tool with a file's full path (for example /Users/me/report.pdf) and gets the Markdown back. You add it with one command:
claude mcp add --transport stdio --env MARKPREP_LICENSE=your-licence-key markprep -- npx -y markprep mcp
The MCP server page covers the rest of the set-up, including Claude Desktop and a shared .mcp.json file. The server converts PDF files with a text layer, Word .docx, Excel .xlsx and .xls, HTML, CSV, TSV, JSON, Markdown and plain text. It has no OCR and doesn't read PowerPoint or EPUB files, so convert those in the browser.
Is MarkPrep a Claude skill?
No. MarkPrep is an MCP server, which gives Claude Code a tool it can call. It isn't packaged as a Claude skill.
What leaves your machine
Your files never leave your machine. Each time the MCP server runs, it sends your licence key to markprep.online, which checks it with Lemon Squeezy. Without an internet connection the check fails and the tool doesn't run.
Related pages
Frequently asked questions
How do I convert a PDF to Markdown for Claude?+
Drop the PDF on the converter on this page, check the estimated token count for your Claude model, and copy the Markdown into Claude. Scanned pages go through English OCR, so read those parts before you paste.
Can I convert Word to Markdown for Claude?+
Yes, for .docx files, in the browser or through the MCP server. Save an older .doc file as .docx in Word first.
Is it free?+
The browser converter, token counts and chunk preview are free. The MCP server and command-line converter come with Pro, a one-time £19 with no subscription, sold through Lemon Squeezy.
Does it work in Claude Desktop?+
Yes. Claude Desktop runs local MCP servers listed in its claude_desktop_config.json file, and the MCP server page shows where to find that file.