100% free PDF tool

PDF to Markdown

Convert a PDF into Markdown, with headings and lists kept.

  • No sign-up required
  • Instant results
  • Nothing is uploaded
  • Works on any device

or drop them here

Your files are private. Everything happens in your browser. Your files never leave your device.

  • 100% freeNo hidden charges, no watermark
  • Instant resultsDone in seconds, no queue
  • Secure & privateNothing is uploaded
  • Works on all devicesDesktop, tablet and mobile

How to use the PDF to Markdown

  1. 1Choose your PDF - drag it onto the box or tap the button.
  2. 2Pick the pages or options you need.
  3. 3Download the finished file. Nothing is added to it.

About the PDF to Markdown

Converts a PDF into Markdown, keeping the structure rather than just the words. Headings are worked out from font size relative to the body text, and bulleted or numbered lines become Markdown lists. Useful for moving a report into a wiki, a README or a CMS without retyping it.

Why convert a PDF to Markdown

Markdown is the format of READMEs, documentation sites, wikis, static-site generators and note apps such as Obsidian. It is also what you want to paste into an AI chat: a model reads clean headings and lists far more reliably than text copied out of a PDF viewer, which arrives with broken lines, page numbers and running headers mixed into the content.

How the conversion works

The PDF's text layer is read in your browser. The median font size on each page is taken as body text; noticeably larger text becomes a heading, and the bigger the jump, the higher the heading level (#, ##, ###). Lines that start with a bullet or a number become Markdown list items. Nothing is uploaded, so internal reports and client documents are safe to convert.

What to check afterwards

  • Headings - a designed cover page or a large pull quote can be mistaken for a heading; fix those by hand.
  • Tables come through as their cell text, one value per line, not as a Markdown table.
  • Images are not extracted; export them separately with PDF to JPG.
  • Scanned PDFs have no text layer and produce nothing - run them through OCR PDF first.

Other ways to get the text out

If you only need the words, PDF to Text gives plain text without any structure. If you need an editable document with its layout, PDF to Word is the better route. And to count the result before you paste it somewhere with a limit, use the word counter.

Frequently asked questions

Why convert a PDF to Markdown for an LLM?+

Markdown keeps the document's structure - headings, lists and paragraphs - in plain text, which language models read far better than raw PDF text with broken lines. It also uses fewer tokens than pasting the PDF. The conversion runs in your browser.

How does it know what is a heading?+

By size. It takes the median font size on the page as the body text, then treats anything meaningfully larger as a heading - the bigger the jump, the higher the level. It is a good guess rather than a certainty, so check the result on an unusual layout.

Does it keep images and tables?+

No. It converts text structure only. Images are not extracted, and a table comes through as its cell text rather than as a Markdown table.

Will it work on a scan?+

No - a scan has no text layer. Use the OCR tool first, then convert its output.

Worth reading

All articles →
View all →