Slate PDF

Converting

How to Convert a PDF to Markdown

Extract clean, structured Markdown from a PDF — for documentation, static sites, wikis, or feeding a document to an AI tool.

June 5, 20262 min read

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.

Convert a PDF to Markdown

  1. 1Open the PDF to Markdown tool and add your file.
  2. 2Convert. Headings, paragraphs and lists are reconstructed as Markdown syntax.
  3. 3Review the output, particularly the heading levels.

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.
  • Every static site generator and documentation platform reads it natively.
  • It is compact, which matters when you are pasting a document into a tool with a size limit.

What converts, and how well

In the PDFIn the Markdown
Headings#, ## and ### by detected size and weight
ParagraphsBlank-line separated blocks
Bulleted listsHyphen lists
Numbered listsNumbered lists
Simple tablesPipe tables, when the columns are clean
ImagesA reference — extract the files separately
Two-column layoutFlattened into one column, sometimes interleaved

Feeding documents to AI tools

This is now one of the main reasons people convert. A PDF pasted into a chat tool arrives as an unstructured wall of text; the same document as Markdown arrives with its headings and lists intact, and models use that structure to answer questions about specific sections.

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 will get an empty file — 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?+

Not as files. You get a reference where the image was; extract the pictures separately and put them alongside.

Why is everything one heading level?+

Detection works from font size. If the source used similar sizes for several levels, the distinction was not there to detect.

Do tables convert?+

Simple ones do, as pipe tables. Merged cells and irregular grids do not translate — Markdown tables are strictly rectangular.

Is Markdown better than plain text for AI tools?+

Generally yes. The heading and list structure gives a model something to navigate by.

Keep reading