Document Tools

PDF to Markdown

Convert a PDF's text into clean Markdown - headings, lists, and paragraph structure preserved - ready to paste into a README, wiki, or notes app instead of fighting with pasted PDF formatting.

Runs 100% in your browser - files never leave your device.
Click or drag & drop a PDF file
Supported: PDF files with selectable text

What this PDF to Markdown converter actually does

This is a free PDF to Markdown converter that turns a PDF's text into clean Markdown syntax. Whether you need to convert PDF to Markdown for a README, convert PDF to MD for a static site, or just extract structured text from a PDF for notes, it reads the text layer already inside the PDF and reconstructs headings, lists, and paragraph breaks from it.

It works directly on the PDF's selectable text and font sizes, not on a screenshot of the page, so the output is real, editable Markdown text rather than an image or a raw text dump.

How to convert PDF to Markdown

  1. 1

    Upload your PDF

    Choose a PDF exported from a word processor, slide app or report generator, where headings are set in a larger font than the body text. That size difference is what the converter reads.

  2. 2

    Let it convert

    Text from every page is grouped into lines, then mapped to Markdown headings, lists, and paragraphs.

  3. 3

    Copy or download

    Copy the Markdown directly, or download it as a .md file.

pdf.js hands the converter each text run with its position and font size, and the Markdown is assembled from those inside this tab. Your PDF is read locally and is not sent to a server.

PDF to Markdown without Adobe or extra software

You do not need Adobe Acrobat, a document converter app, or any desktop software at all to convert PDF to Markdown. This free PDF Markdown converter runs entirely inside your browser tab: upload your file, let it convert, then copy or download the result. There is no signup, no trial period, and no limit on how many PDFs you convert.

How headings, lists, tables, and links actually convert

Being specific about what this does and does not carry over matters more than it does for most converters, because Markdown is a much simpler format than a laid-out PDF page.

  • Headings: inferred from font size. A line noticeably larger than the document's typical body text becomes a heading (H1, H2, or H3 depending on how much larger), which works well on most reports and guides but produces no headings at all on a PDF with uniform font sizes throughout.
  • Lists: a line that already starts with a bullet character or a numbered prefix like "1." in the source PDF is converted to proper Markdown list syntax.
  • Tables: not specially detected. A table's cells come through as plain lines of text grouped by their position on the page, not as Markdown table syntax, so the column structure needs to be rebuilt manually afterward.
  • Links: not preserved. Only the visible text is read, so a hyperlink in the PDF becomes plain, unlinked text in the Markdown output.
  • Bold and italic: not detected. Only size is used to infer structure, so emphasized text comes through as plain text.

Does it work on a scanned PDF?

No. This converts the text layer that already exists in a PDF, and a scanned PDF has no text layer at all — it is a picture of a page. Our PDF to Word tool has built-in OCR for scanned files and recovers the words into an editable document; from there you add the # and - markers by hand. For a single photographed page, Image to Text reads the words straight from the picture.

PDF to Markdown terms explained

Markdown, MD files and structured text overlap, and heading levels mean something specific here because they are guessed from font size. These are the meanings this converter works with.

TermWhat it means here
MarkdownA lightweight text syntax for headings, lists, and formatting, using symbols like # and -
MD fileA plain text file saved with a .md extension, written in Markdown syntax
Heading levels (H1/H2/H3)Inferred here from how much larger a line's font is than the document's typical body text
Structured textText that is organized into headings, paragraphs, and lists rather than one undifferentiated block
Text layerThe selectable, searchable text stored inside a PDF; this is what gets converted, not the visual page image
Font size ratioHow this tool decides what counts as a heading: a line's font size compared to the rest of the document
Document conversionTurning a PDF's content into a different format, here Markdown, while keeping as much structure as can be inferred

Converting on Windows, Mac, iPhone, and Android

On Windows, Mac or Linux, the .md download drops straight into a repository or a docs folder, ready to commit. On an iPhone or Android phone, Copy Markdown is the handier button: paste the result into a notes app such as Obsidian or a GitHub issue without having to manage a separate file.

Is it free, and is my file safe?

Converting PDFs to Markdown on The Tools Kit is free, with no sign-in before you can copy the result.

Because conversion happens in your browser using pdf.js, your PDF never leaves your device, which helps when the source is an internal spec or a draft that is not public yet.

Common uses

  • Moving a PDF spec or report into a GitHub README or documentation site
  • Getting a PDF's content into a note-taking app or wiki that uses Markdown
  • Preparing a PDF's text as clean, structured input for an LLM or a static site generator
  • Turning a PDF draft into a Markdown file for a blog post or changelog
  • Previewing the converted file as a web page with Markdown to HTML to check the heading levels came out right
  • Checking a converted section against the original wording with Text Compare

PDF to Markdown for the USA, Canada, and UK

Unlike a visa or job-application tool, converting a PDF to Markdown works exactly the same everywhere, since Markdown and PDF are both formats, not region-specific documents. Developers, technical writers, and students in the US, Canada, and the UK all use it the same way: to get a PDF's text into a format that plays nicely with code editors, documentation sites, and version control, wherever they happen to be.

If you only need the words, with no # or - markers at all, PDF to Text gives a plain .txt file instead. When the source is a web page rather than a PDF, HTML to Markdown converts the page markup directly. For a long manual, cut out just the chapter you need with Split PDF before converting, and see the PDF tools hub for the rest of the set.

Frequently asked questions

Reviewed by Raja Jahangir · Last reviewed: September 2026

How do you convert a PDF to Markdown?

To convert a PDF to Markdown, upload the file and the text from every page is turned into Markdown with headings and lists inferred from font size and formatting. Copy the result or download it as a .md file. Conversion uses the PDF’s text layer in the browser, so scanned PDFs return nothing and complex layouts may need tidying.

Runs in your browser. Your files and text never leave your device - nothing is uploaded.