Convert PDF to Markdown

Drop in a PDF and get back Markdown an AI model can actually work with: the text, tables that keep their rows and columns, and headings wherever the PDF makes them stand out. Ordinary text PDFs are converted on our server, without AI, and that part is free.

Drop your file here, or click to choose one

PDF, Word (DOCX, DOC, RTF, ODT), Excel (XLSX, XLS, ODS, CSV), PowerPoint (PPTX), EPUB, HTML, MD, TXT

Your file and its result are deleted automatically after about 24 hours (privacy policy). We don't use any data to train AI.

Advanced options

Most files convert well with the default settings. If yours is unusual, you can pick a different method here.

Automatic: picks the method for each file type — full structure for Word, table mode for spreadsheets, text reading for PDFs.
Available once you've bought a credit pack — see pricing.

No account needed: you get 2 free credits a day straight away, with files up to 12 MB and PDFs up to 32 pages.

Create a free account See prices

Why Markdown for LLMs?

A PDF records where the ink goes on each page, not what the document means. Copy the text out of one and you often get a long run of words with the structure gone: headings flattened, table cells spilling into each other. Hand that to a model and it has to guess which number belongs under which column. Sometimes it guesses wrong.

Markdown keeps the shape of your document in plain text. A heading is marked as a heading, a table is a grid of rows and columns, a list is a list. The model reads your document instead of trying to rebuild it.

More on this: why Markdown for LLMs

Why convert first?

Your questions cost less. AI tools count what you send them in tokens, small pieces of text. A PDF or Office file brings along a lot of layout weight that has nothing to do with your words. Markdown carries just the text, so each prompt costs less, and the answer comes back sooner.

Convert once, use it again and again. Do you keep coming back to the same contract, report or price list? Convert it once and keep the .md file. You can give it to your AI as often as you like, without converting it again.

Documents your AI can search. Keep your documents as Markdown, and an AI agent can search through them quickly and bring back the paragraph you need.

Text from scanned pages, too. Have a scanned contract or an old letter saved as a PDF? Get its text back so you can copy and edit it, instead of typing it all out again. Reading scanned pages is available once you've bought a credit pack. To read them, we send the pages to outside AI providers, and their own data policies apply to those pages.

Start free, add credits when you need more

A free account starts you with a one-time welcome bonus of 100 credits, once you confirm your email, then 5 credits a day. When you need more, a credit pack adds scanned PDFs, files up to 64 MB and priority processing.

Create a free account See prices

What comes through, and what doesn't

From a PDF, you get the text, and tables drawn with lines come out as proper Markdown tables. Numbered headings (like "2.1 Methods"), headings set in larger bold type, and bullet lists are recognised, but plainer headings may still arrive as ordinary text. Figure captions stay, as text; the pictures themselves aren't extracted.

The result won't look like your original page. It's the content, laid out so an AI can read it.

A scanned PDF is different: it's a picture of a page, with no text inside. We notice that and tell you, instead of handing back an empty file. Reading scans needs OCR, which is available once you've bought a credit pack.

We check the text, and tell you when something's off

Some PDFs look perfectly normal on screen but trip up anything that tries to copy their text. Two problems are common enough that we look for them.

Words without spaces. Some PDFs, often academic and scientific papers, don't store the spaces between words. A simple copy gives you one long string, like thecompositematrixis. We put back the spaces we can tell are missing.

Two copies of the same text. Some publishers' proofs carry two versions of the page, laid one on top of the other. Copy the text and the letters from both get mixed together, into something that can look believable and still be wrong. We spot this. When the extra copy can be removed safely, we remove it; when it can't, the result warns you.

The same goes for other trouble we notice, such as pages where the text is drawn as shapes and can't be copied, or letters we couldn't read: the result says so. We can't catch every problem, but we'd rather tell you about a gap than hand you a wrong number that looks right.

FAQ

Does it work on scanned PDFs?

Yes, once you've bought a credit pack. A scan is a picture of a page, so there's no text to pull out until it's read with OCR. Without that, mdconvert spots the scan and tells you it needs OCR, rather than handing you an empty file that looks like a failed conversion. One thing to know: to read scanned pages, we send them to outside AI providers, and their own data policies apply to those pages. PDFs with real, selectable text convert normally, for free.

Are my files stored?

Only for a short while. Your file and its result are deleted automatically after about 24 hours. If a conversion fails or shows a warning, we keep a copy longer, only to fix the problem; the privacy policy has the details. We don't use any data to train AI.

How large can a file be?

On the free tier, files up to 12 MB and PDFs up to 32 pages. With a credit pack, files up to 64 MB.

Do tables survive?

Tables drawn with lines come out as Markdown tables, with their rows and columns. A table without lines is harder, because on the page it's only text placed in columns. We recognise one when a caption made of the word "Table" and a number, such as "Table 1", sits right above it. Otherwise its text stays as ordinary text, never squeezed into a grid we'd have to invent.

Do I need an account?

Not to try it: you get 2 free credits a day without one. Create a free account and confirm your email: you get a one-time welcome bonus of 100 credits, then 5 credits a day, and you can use the API.

Can I call it from a script?

Yes, through our REST API, available on a free account with a verified email. Send a file and you get JSON back with a download link for the result, so a script or an AI agent can pass it straight to the next step. You can send several files at once, through the API or on the website. Each file counts on its own, and a file that fails to convert isn't counted. More for developers on the For AI agents page.

Create a free account See prices