Convert any document to clean, AI-ready Markdown.
PDF, Word, Excel, PowerPoint, EPUB, HTML and more become Markdown, with an estimated token count for the AI model you pick. Conversion runs in your browser. Your files are not uploaded.
From a flat document to structure your model can use
Plain text extraction loses the structure of a page. MarkPrep reads the font sizes and column positions in a PDF to rebuild headings, lists and tables. When a scan gives garbled text, it warns you.
Token count, context-window check and chunk preview as you convert
MarkPrep's AI-Ready Pack is a token count, a context-window check and a chunk preview, all free and shown as each file converts. Pick your AI model, and the token count turns green if the document fits the model's context window or red if it doesn't. Of the 15 converters we checked on 12 Oct 2026, two show an estimated token count, and none combines all three.
The 15 we checked: markdown.new, Cloudflare Workers AI Markdown Conversion, Docling, BlazeDocs, markitdown.online, pdf2md.net, word2md.com, macmdviewer.com, markdowntools.com, markitdown.tech, Marker, MarkItDown, LlamaParse, Firecrawl and Pandoc.
An estimated count for the model you pick, updating as pages convert.
Red means the document is bigger than the model's context window. The chunk preview shows how it splits.
Visible boundaries with heading paths, exportable as JSONL.
Convert files to Markdown, format by format
What Markdown alone doesn't give you
It counts before you paste
Estimated token totals for GPT, Claude and Gemini models update as each page converts. A verdict shows whether the document fits the context window of the model you pick.
Chunks you can see
The chunk preview splits at headings, with adjustable size and overlap (800 and 100 tokens by default). Each chunk keeps its heading path, plus the page number for PDFs. Export the chunks as JSONL in one click.
Your files stay on your machine
PDF parsing, table extraction and OCR all run in your browser tab. You can convert files you aren't allowed to upload, even on a locked-down laptop.
Page clutter removed
Repeated headers, footers and page numbers are removed by default, so they stay out of your chunks. Words split by a hyphen at the end of a line are joined again. Each clean-up step has its own switch.
We show you what we got wrong
MarkPrep flags each table whose rows don't match the header's column count, and each scan whose text looks garbled. You can fix the broken row before it reaches your RAG pipeline.
Your assistant can use it directly
With Pro, the local MCP server lets Claude Code and Claude Desktop convert files on your machine when you ask. Files are not uploaded; each run checks your licence key online.
Pro is £19 once and yours for life
Converting files and the AI-Ready Pack cost nothing in your browser. For one payment of £19, Pro brings conversion to Claude Code, Claude Desktop, your terminal and watch folders.
Frequently asked questions
What is a Markdown converter?+
A Markdown converter turns a file such as a PDF, a Word document or a spreadsheet into Markdown. Markdown is plain text that marks headings with #, list items with - and tables with | pipes. MarkPrep is a free Markdown converter that works online, in your browser, with no sign-up.
How do I convert a document to Markdown?+
Drop the file on the converter at the top of this page, or pick it with the file button. MarkPrep converts it in your browser and shows the Markdown. Check the result, then copy it or download it as a .md file.
Which formats are supported?+
MarkPrep converts PDF, Word .docx, Excel .xlsx and .xls, PowerPoint .pptx, HTML, CSV, TSV, JSON, XML and EPUB files. It also converts Jupyter notebooks, PNG, JPG and WEBP images, plain text, and public web pages by URL. Scanned PDF pages and images go through English OCR. Each format has its own converter page.
Why is conversion free?+
Because conversions run on your computer instead of our servers, each one costs us next to nothing. There's nothing to ration, so there's no file limit and no page cap.
Is PDF to Markdown always perfect?+
No. A PDF records where text sits on a page, not how the document is structured. Digital, text-based PDFs convert well. Scanned pages go through English OCR, and MarkPrep warns you when the text looks garbled. Two-column pages are read left to right, top to bottom, so check the order. Review the Markdown before you share it with people or AI tools.
Does MarkPrep use AI to convert PDF to Markdown?+
No. The conversion uses parsers that run in your browser, with no AI model involved. The optional AI enhance can tidy the converted text afterwards. It sends that text from your browser to Anthropic, using your own API key.
Is the Markdown ready for an LLM?+
Yes. Markdown keeps headings, lists and tables as plain text, so you can paste it into a prompt or load it into a RAG pipeline. MarkPrep shows the estimated token count and whether the document fits the model you pick. The output is ordinary Markdown, so it works the same with a local LLM.
If it runs in my browser, is the quality worse?+
MarkPrep runs open-source parsers in your browser: pdf.js for PDFs, and mammoth.js for Word files. Microsoft's MarkItDown uses python-mammoth, the Python version of the same Word library. Scans are the hard case. MarkPrep's OCR is Tesseract, reads English only, and warns you when the result looks garbled.
Can I use the Markdown for AI skills or agent instructions?+
Yes. Converted Markdown is a good starting point for AI skill files, agent knowledge, prompt references, runbooks and internal docs. The token count tells you whether it fits your model's context window.
Are the token counts accurate?+
They are close estimates, labelled "approx". No AI company publishes a browser tokenizer for its current models. MarkPrep counts OpenAI models with the o200k_base encoding, and Claude and Gemini models from the characters-per-token figures Anthropic and Google publish.
What about large files?+
There is no size limit set by MarkPrep. The limit is your device's memory, because the file is converted there. Long PDFs take longer, and a phone is slower than a laptop.
Do you see my files?+
No. There is no upload step. Two features send something, and each one tells you so where you use it. URL to Markdown fetches the public web page you name. The optional AI enhance sends the converted text from your browser to Anthropic, with your own Anthropic API key.
Is there a Markdown converter app to download?+
You don't need to download anything. Your browser can install MarkPrep as an app (a PWA). With no internet connection, it still converts the file types you have already converted on this device. For the terminal, Pro adds a command-line converter.
Is MarkPrep open source?+
MarkPrep is built on open-source libraries, such as pdf.js, mammoth.js, Turndown and Tesseract. The licences page lists each one with its licence.
Why pay if conversion is free?+
Pro is for converting outside the browser. The local MCP server lets Claude Code and Claude Desktop convert files, and the command-line converter works in scripts. Watch mode converts new files in a folder as they arrive.
Do I need an account?+
No, not even for Pro. You buy Pro once through Lemon Squeezy, and the licence key arrives by email. You give that key to the MCP server or the command-line converter.