PDF to Markdown converter
Turn a PDF into clean Markdown with headings, lists and paragraphs in reading order, converted in your browser so the file is never uploaded.
Converter
PDFs up to 50 MB. Scanned pages with no text layer come out empty.
Jotura, a free notes app, converts PDFs and Word files when you add them to a vault and keeps the Markdown copy beside your notes, where search finds it. Download Jotura
How to convert a PDF to Markdown
- Open the PDF. Press Choose a PDF or drop the file on the box. It stays on your device.
- Check the result. Switch between the Markdown and the rendered preview. Notes under the output list anything the converter left out, such as images or pages with no text.
- Copy or download. Copy Markdown puts it on the clipboard, and Download .md saves it with the PDF's name, so
report.pdfbecomesreport.md.
What comes through
| In the PDF | In the Markdown |
|---|---|
| Lines set larger than the body text | Headings, with the level taken from the font size |
| Bulleted and numbered lists | - and 1. list items |
| Two-column pages | Left column, then right column |
| Words hyphenated at a line end | Joined back into one word |
| Running headers, footers and page numbers | Removed |
| Images | Left out, with a count |
| Scanned pages | Empty, with a warning |
PDF to Markdown questions
How do I convert a PDF to Markdown?
Press Choose a PDF at the top of this page, or drop the file on the box. The converter reads the PDF's text layer, works out headings from font size, rebuilds bulleted and numbered lists, joins words hyphenated across line ends and removes running headers, footers and page numbers. Copy the result or download it as a .md file.
Can pandoc convert PDF to Markdown?
No. Pandoc writes PDF and cannot read it, so pandoc paper.pdf -o paper.md stops with the message Pandoc can convert to PDF, but not from PDF. Use this page, or a local tool such as Marker, Docling or PyMuPDF4LLM. Pandoc reads Word files well, so if you have the .docx the PDF was made from, convert that instead.
pandoc report.docx -t gfm --wrap=none -o report.mdDoes PDF to Markdown keep the reading order?
A PDF stores each piece of text at a position on the page, in whatever order the program that made it chose. The converter sorts the text into lines and blocks by position and reads them top to bottom, left to right, and treats a page laid out in two columns as two columns. Sidebars, pull quotes and figure captions sit outside the main flow, so they can land between two paragraphs. Read the result against the PDF once.
How do I convert a two-column paper into readable Markdown?
Drop the paper on the converter. A title and abstract that run the full width come first, then the left column, then the right, page by page, with lines rejoined into paragraphs and hyphenated words mended. Equations come out as the characters printed on the page, without LaTeX, and a figure or table that spans both columns can break a paragraph in two. Journal headers and page numbers that repeat on every page are dropped.
Does it keep footnotes when converting a PDF to Markdown?
The footnote text is kept, in the reading order, which usually puts it at the end of its page. A PDF has nothing linking the small number in the text to the note at the foot of the page, so the result does not use Markdown's [^1] footnote syntax. If you have the Word original, the Word to Markdown converter writes real Markdown footnotes.
Can it convert a scanned PDF or a scanned book?
No. A scan holds pictures of pages and no text, and this converter has no OCR (optical character recognition). Pages with no text layer come back empty, with a warning. Add a text layer first with OCRmyPDF, which runs on your own machine, and convert the new file here. A PDF whose text you cannot select in a viewer is a scan.
ocrmypdf scanned-book.pdf scanned-book-text.pdfWhat happens to tables and images?
Images are left out. A table in a PDF is text placed on a grid with no table structure behind it. When its columns line up across three or more rows, the converter writes a Markdown table, keeping empty cells and joining a header that wraps over several lines into one. Cells merged across columns can land in the wrong column, so check those tables by eye. The Markdown table generator turns cells copied from a spreadsheet into a pipe table if you need to rebuild one.
How do I edit Markdown converted from a PDF?
Open the .md file in any text editor or Markdown editor. Three fixes cover most files: set heading levels where a large font was not a heading, rejoin a paragraph that a figure split, and rebuild tables. Jotura opens the file as a normal note, so you edit the formatted text and it saves back as plain Markdown.
Is there a size limit?
PDFs up to 50 MB. A long book can take a few seconds, and the page stays usable while it runs. Press Cancel to stop.
Is my PDF uploaded?
No. The converter is a WebAssembly program that runs in a background thread of your browser. It reads the file on your device and writes the Markdown there, and nothing about the file is sent to a server or saved. That makes it safe for contracts, medical records and anything under an NDA.
The guide to converting PDF and Word to Markdown compares six local tools on the same files. Two more converters run in your browser the same way: Word to Markdown and Markdown to Word. For tables, use the Markdown table generator.