Open PDF Toolkit

Convert a PDF to Markdown

Free, no sign-up, no credit card. Your files stay on your device.

How to convert a PDF to Markdown

  1. Choose the PDF, or drop it onto the page.
  2. Select Convert to Markdown.
  3. Check the result, then copy it or download it as a .md file.

What to know

The layout is a guess
A PDF stores where each piece of text sits on the page, not what it means. The Markdown is worked out from how the page looks, so it's right for tidy documents and rougher for complicated ones. Check it before you rely on it.
How it guesses
Text clearly bigger than the body text becomes a heading, with the biggest size as the top level. A line that starts with a bullet or a number becomes a list item, and deeper indents become nested items. Lines close together join into one paragraph. Bold and italic come from the font's name, fixed-width fonts become code, and links in the PDF stay links.
Tables
Text in columns that line up from row to row becomes a table, with the first row as the header. Columns that don't line up, or rows that wrap onto several lines, come out as plain paragraphs.
Headers, footers, and page numbers
When a PDF has three or more pages, a line that repeats at the top or bottom of most of them, such as a running title or a page number, is left out.
Scanned PDFs
A scan is a picture of the pages, so there's no text to read. Run it through OCR PDF first, then convert the result. Pages with no text are listed.

Common problems

Headings are missing or too many.
Headings are found by size, so a PDF that sets headings in the same size as the body text, or bolds ordinary text, can't be told apart. Add or remove the
Columns of text came out in the wrong order.
Pages set in several columns are read line by line across the page, so the columns can run together or come out as a table. Copy each column from Extract text instead.
A table came out as plain text.
Only columns that line up across every row are turned into a table. Rewrite it by hand from the text.
Letters are garbled.
Some PDFs draw letters with fonts that don't say which letters they are. Make the pages searchable with OCR PDF, then convert the new file.

Questions

Are my files uploaded anywhere?

No. Your files stay on your device the whole time. They're never uploaded.

Is it free?

Yes. There's no sign-up and no daily limit.

Why is the result different from my PDF?

Markdown has no page layout, so columns, text boxes, and exact positions can't be kept. The text and its structure are what carry over.

Does it keep pictures?

No. Only the text comes out. To save the pictures, use Extract images from PDF.

Can I convert a password-protected PDF?

Yes. You'll be asked for its password.

Can I turn Markdown back into a PDF?

Yes, with Markdown to PDF.