Slate PDF

Converting

How to Convert a PDF to Markdown (Free, No Upload)

Convert a PDF to Markdown in your browser: a clean .md file with one section per page, ready for notes, docs and AI tools. Free, no upload, no sign-up.

HM

Hamza M.

PDF Workflow Editor

Updated October 13, 20264 min readReviewed October 13, 2026

Markdown has quietly become the format text goes to when it needs to live somewhere other than a word processor: documentation, static sites, wikis, issue trackers, and the context window of an AI assistant. Here is how to convert a PDF to Markdown, what the output really looks like, and the five-minute clean-up that makes it good.

How do I convert a PDF to Markdown?

Open a PDF-to-Markdown converter, add the file and convert. Slate PDF extracts the text of every page in reading order and writes a .md file with a "## Page" heading for each page, which you can preview, copy or download. It runs in your browser, so nothing is uploaded. Scanned PDFs need OCR first.

  1. 1Open PDF to Markdown and add one or more PDFs.
  2. 2Click Convert to Markdown. Each PDF becomes its own .md file.
  3. 3Preview the text on the page, copy it to the clipboard, or download the .md.

What the output looks like

The converter moves text, not design. Every page becomes a section that starts with "## Page 1", "## Page 2" and so on, followed by that page's text line by line, with a horizontal rule (---) between pages. Here is how the parts of a PDF come across:

In the PDFIn the Markdown
PagesA "## Page N" heading, then a --- rule at the end
Lines of textPlain lines, in reading order
HeadingsPlain lines — heading levels are not detected
Bulleted listsPlain lines; a bullet character that was real text stays
TablesOne line per row, with the cells run together
ImagesLeft out
Two-column layoutSimple columns are read one after the other; complex layouts can interleave
LinksThe visible link text only

Several PDFs into one .md file

You can convert several PDFs at once, but each one produces a separate .md file. If you want a single Markdown file, merge the PDFs into one with Merge PDF first, then convert that. To convert only part of a long document, extract those pages into a smaller PDF and convert it.

The clean-up checklist

  1. 1Delete running headers, footers and page numbers that repeat on every page.
  2. 2Turn section titles into ## headings and sub-sections into ### headings.
  3. 3Rebuild any table you need as a pipe table.
  4. 4Remove the "## Page" markers if page numbers do not matter where the text is going.
  5. 5Leave the single line breaks alone: most Markdown renderers join lines of the same paragraph automatically.

Why Markdown rather than Word

  • It is plain text, so it diffs cleanly in version control.
  • It carries structure — heading levels, lists, emphasis — without any styling to fight, once you add it.
  • Every static site generator and documentation platform reads it natively.
  • It is compact, which matters when you paste a document into a tool with a size limit.

Feeding documents to AI tools

This is now one of the main reasons people convert. The "## Page" markers let you ask a model about page 14 and check its answer against the original, and adding real headings lets it find named sections. If you only need the gist, a summary of the long PDF may be enough on its own.

If the document is confidential, note that converting it locally keeps it on your machine — but pasting the result into a hosted AI service does not. That is a separate decision from the conversion.

Scanned documents

Run OCR first. Without it there is no text to convert, and you get a file of "## Page" headings with nothing beneath them — which is at least an unambiguous signal about what you are holding.

Do it now

PDF to Markdown

Convert PDF content to Markdown text. It runs in this browser tab — your file is not uploaded anywhere.

Open PDF to Markdown

Frequently asked questions

Do images come across?+

No. The Markdown contains text only. Save the pictures separately and link them into the file if you need them.

Are headings detected?+

No. Each page gets a "## Page" heading, and the document's own headings come out as plain lines for you to mark up.

Do tables convert?+

Their text does, one line per row. Markdown tables have to be rebuilt by hand.

Can I convert several PDFs at once?+

Yes, and each becomes its own .md file. Merge the PDFs first if you want one combined file.

Is Markdown better than plain text for AI tools?+

Generally yes, once headings are added. The structure gives a model something to navigate by.

Keep reading

HM

Hamza M. · PDF Workflow Editor

Hamza has spent a decade working with print and digital documents — from prepress production to everyday PDF cleanup — and now writes practical, tested guides for Slate PDF.

Read more about how this site is run