Why Convert PDF to Markdown?

A PDF is made for printing: it stores where every letter goes on the page, not which line is a heading, which lines make a list or where a table starts. Copy text out of a PDF and you get broken lines, page numbers in the middle of sentences and tables that fall apart.

Markdown is plain text with a few simple marks for structure: # for a heading, - for a list item, | between the cells of a table. Any text editor opens it, and apps such as Obsidian, Typora, VS Code and GitHub show it formatted. Here's what a page of a PDF looks like as Markdown:

# Annual Report 2025

## Highlights

Sales grew by **12%** in the second half of the year.

- Three new offices opened
- Customer support now runs 24/7

| Region | Sales | Growth |
|---|---|---|
| Europe | 4.2 M | 9% |
| Asia | 3.1 M | 15% |

That makes Markdown the easiest way to reuse what's in a PDF: paste it into ChatGPT, Claude or another AI tool, keep it in your notes, publish it in your documentation, or edit it in any text editor. You get the text with its structure, without the page layout that gets in the way.

How to Convert PDF to Markdown Online

  1. Choose your PDF Click Convert PDF to Markdown above and pick your PDF file, up to 50 MB (100 MB with Pro) and 500 pages. A settings card shows its pages. Convert all of them or only some, and choose whether you want the pictures too.
  2. We convert it When you click Convert to Markdown, your PDF is uploaded over an encrypted connection. Our server reads the text in reading order and marks its headings, lists, tables, links and code. Most files take less than a minute. Long documents and scanned pages can take a few minutes.
  3. Download your Markdown The .md file downloads automatically, named after your PDF, or a .zip if you kept the pictures. The page shows what's inside: its headings, tables and pictures, and any pages read with OCR.

Choose Pages, Pictures and Scan Language

After you pick your PDF, a settings card shows what you'll get. Change what you want before you convert: the summary at the bottom shows the result.

  • Pages. Convert the whole PDF or only the pages you choose, such as one chapter or the pages with a table. One conversion can have up to 500 pages.
  • Pictures. Text only gives you one .md file. With pictures gives you a .zip with the .md file and an images folder: photos, charts and diagrams are saved as image files, and the Markdown links to each one where it was in the PDF.
  • Scanned PDFs. When the PDF looks scanned, you choose the language of its text, so OCR reads it in the right language: English, Spanish, German, French, Turkish, Thai, Japanese or Korean.

What Your Markdown Keeps from the PDF

  • Headings, marked # to ###### by their size in the PDF or by its bookmarks
  • Bulleted and numbered lists, as Markdown lists
  • Tables, as Markdown tables with their rows and columns
  • Code, as code blocks that keep their indentation
  • Links, and bold and italic text
  • The reading order: two-column pages are read one column at a time, words split at the end of a line are joined again, and page headers, footers and page numbers are left out
  • Scanned pages, read with text recognition (OCR) so they become real text

What changes

Markdown has no pages, fonts or colours, so the PDF's page layout isn't kept: the text runs from start to end, and the page numbers are gone. Maths formulas come through as plain text, and tables with merged cells may not come through exactly, so check those against the PDF. The printed contents page is left out, because the headings already show the structure.

Best fit: Markdown suits documents that are mostly text: reports, papers, manuals, contracts, course notes and books. For a page that depends on its design, such as a poster or a magazine spread, keep the PDF.

What You Can Do with Your Markdown

A .md file is plain text, so it works almost anywhere.

Ask an AI about your document

Paste the Markdown into ChatGPT, Claude, Gemini or another AI tool, or add the file to a project. The headings, lists and tables come through as structure, so the AI can find its way around your document.

Keep it in your notes

Drop the .md file into Obsidian, Logseq or Typora, or import it into Notion. Your notes app shows the headings and tables, and you can link, tag and search the text like your own notes.

Publish it as documentation

Add the file to a GitHub repository, a wiki or a docs site made with a tool such as MkDocs or Docusaurus. GitHub shows Markdown files formatted, tables included.

Edit and reuse the text

Open the file in any text editor, such as Notepad, TextEdit or VS Code, to correct, shorten or translate the text, then copy it wherever you need it.

Tips for the Best Results

  • Start from a PDF with real text. PDFs made from Word, Google Docs or a publisher's files convert best. To check yours, try selecting a word in it. If you can, the text converts as it is. If you can't, the page is a scan and is read with OCR, which depends on how clear the scan is.
  • Convert only the part you need. Only need one chapter or a few pages of a long report? Choose just those pages in the settings that appear after you pick your PDF. To keep them as a separate PDF as well: Split your PDF
  • Check tables and formulas. Open the Markdown and compare its tables and any formulas with the PDF. Simple tables come through as they are, but merged cells and formulas may need a quick fix.

Your Files Stay Private

  • Encrypted upload. Your PDF travels to our server over an encrypted HTTPS connection.
  • Deleted automatically. Your PDF is deleted as soon as the conversion finishes. The Markdown file is deleted when you download it, or after an hour if you don't.
  • Fully automatic. The conversion runs automatically. Nobody looks at your document, and we don't keep, share or use its contents.

Questions About Converting PDF to Markdown

What is a Markdown file?

Markdown (.md) is a plain text format that marks structure with a few simple characters: # for headings, - or 1. for lists, ** for bold and | for tables. It stays readable as plain text, and apps such as Obsidian, Typora, VS Code and GitHub show it formatted.

Is the PDF to Markdown converter free?

Yes, with no account or email address. Free use covers up to 10 conversions a day, 25 a week and 50 a month, shared with our other converters such as PDF to Word. With BoostPDF Pro there's no limit.

Can I convert a scanned PDF to Markdown?

Yes. Scanned pages are read with text recognition (OCR) automatically, in the language you choose, so there's no separate step. The result depends on how clear the scan is, so check names and numbers in the Markdown.

Are pictures included in the Markdown?

Yes, if you choose With pictures in the settings. You then get a .zip with the .md file and an images folder: photos, charts and diagrams are saved as image files, and the Markdown links to each one where it was in the PDF. Text only, the default, gives you just the .md file.

Does it keep tables, lists and code?

Yes. Tables become Markdown tables, bulleted and numbered lists become Markdown lists, and code becomes code blocks that keep their indentation. Headings, links, bold and italic text are kept too. Tables with merged cells may need a quick fix, so check those against the PDF.

What happens to maths formulas?

They come through as plain text. A PDF stores a formula as symbols placed on the page, not as an equation, so complex formulas may not read the way they look in the PDF. Check them, and rewrite the important ones in LaTeX if your Markdown app shows maths.

Is Markdown good for ChatGPT, Claude and other AI tools?

Yes. AI tools read Markdown well: its headings, lists and tables keep your document's structure in plain text, without the page numbers and broken lines you get when you copy text out of a PDF. Paste the Markdown into the chat, or add the .md file to a project.

Which PDFs can I convert?

Any PDF up to 50 MB and 500 pages, or up to 100 MB with BoostPDF Pro. If yours is bigger, compress it, split it, or convert only some of its pages. If it asks for a password when you open it, remove the password before you convert it.

Which apps open .md files?

Any text editor opens them, such as Notepad on Windows or TextEdit on a Mac. To see them formatted, use a Markdown app such as Obsidian, Typora or VS Code with its preview. GitHub shows .md files formatted, and Notion can import them.

Related Tools

  • PDF to EPUB — turn a PDF into an ebook for your e-reader
  • PDF to Word — turn a PDF into a document you can edit
  • OCR PDF — make a scanned PDF searchable and keep it as a PDF
  • Split PDF — save a few pages as a separate PDF