PDF to Markdown Converter

This tool reads the text embedded in a PDF and rebuilds it as Markdown

Updated
Loading tool…

This tool reads the text embedded in a PDF and rebuilds it as Markdown

How to use PDF to Markdown Converter

  1. Choose a text-based PDF file using the file picker.
  2. Adjust the heading, list, page-separator, and line-break options if needed.
  3. Copy the Markdown or download it as a .md file.
Try next →Bates Numbering PDF ToolBates numbering stamps a unique, sequential identifier on every page of a docume

About PDF to Markdown Converter

This tool reads the text embedded in a PDF and rebuilds it as Markdown. It groups characters into lines, reconnects wrapped paragraphs, and uses each PDF's layout — mainly relative font size and vertical spacing — to guess which lines are headings and which are bullet or numbered lists. You can toggle heading detection, list detection, page separators, and whether original line breaks are kept, and the output re-generates instantly from the file already loaded.

Everything happens in your browser. The PDF is never uploaded to a server, so it works offline once the page has loaded and is safe for private or sensitive documents. You get copy-to-clipboard and a .md download.

It works on text-based PDFs — files exported from Word, Google Docs, LaTeX, browsers, and most report generators. Because heading and list detection is based on layout heuristics rather than a rich internal document model, complex multi-column pages, tables, and unusual designs may not map perfectly and can need light hand-editing. Scanned or image-only PDFs contain no selectable text, so they can't be converted here without OCR first.

Frequently asked questions

How does it decide what becomes a heading?
It measures the most common text size in your document and treats that as body text. Lines that are noticeably larger and reasonably short are marked as headings, with # / ## / ### chosen by how much bigger they are. You can turn this off if you prefer plain paragraphs.
Is my PDF uploaded anywhere?
No. The file is read and converted entirely in your browser using JavaScript. Nothing is sent to a server and no account is required, so it's safe for confidential documents.
Why did I get an 'image-only PDF' message?
That PDF has no selectable text — it's likely a scan or an exported image. This tool reads existing text and does not do OCR (optical character recognition), so there's nothing for it to extract. Run the PDF through an OCR tool first, then convert the result here.
Can it convert tables and multi-column layouts?
Partially. Text is extracted in reading order based on position, which handles most single-column documents well. Tables and complex multi-column pages rely on visual structure a plain text layer doesn't preserve, so those usually need some manual cleanup afterward.
What do the toggle options do?
Detect headings and Detect lists turn those heuristics on or off. Separate pages with --- inserts a horizontal rule between pages. Keep original line breaks stops the tool from merging wrapped lines into flowing paragraphs, which is useful for code or poetry.
Can I edit the Markdown before using it?
Yes. The output appears in a text box you can copy, and you can download it as a .md file to open in any Markdown editor for final adjustments.