PDF to Markdown converter
This PDF to Markdown converter reads the text of your PDF and rebuilds it as clean markdown, with headings, paragraphs and lists. The file is read in your browser and never uploaded.
What is a PDF to Markdown converter?
A PDF stores text as positioned pieces on a page, not as headings and paragraphs. A PDF to Markdown converter reads those pieces and works the structure back out, so you get a document you can edit, search, version and reuse instead of a fixed page layout.
This tool uses PDF.js to read each page, groups the text into lines, and then looks at size and spacing. Text that is clearly larger than the body becomes a #, ## or ### heading. Lines that start with a bullet or a number become list items. Lines broken by the page width are joined into paragraphs, and words split by a hyphen at the end of a line are put back together. A progress bar shows which page is being read, so long documents are easy to follow.
Some things do not carry across. Bold and italic, links, images, colours and page headers are not kept, and tables come out as lines of text in reading order. Pages with two or more columns may need tidying. Scanned PDFs contain pictures of pages rather than text, so they need OCR instead. When you convert PDF to Markdown here, the result opens on the right, where you can check it, copy it, download a .md file or open it in the markdown editor to finish it off.
Why use this PDF to Markdown tool
Headings from font size
Larger text becomes # and ## headings, so the structure of the document survives.
Paragraphs joined up
Lines broken by the PDF layout are joined back into paragraphs.
Lists recognised
Lines that start with bullets or numbers become markdown lists.
Private
The PDF is read in your browser with PDF.js. Nothing is uploaded.
How to convert PDF to Markdown
- Drop a PDF onto the page, or press Open PDF.
- Wait a moment while each page is read.
- Check and tidy the markdown on the right.
- Copy it, download a .md file, or open it in the editor.
Common uses for PDF to MD conversion
- Move a report, white paper or handbook into a wiki, a Git repository or a static site generator.
- Pull the text out of a PDF manual so you can quote it, search it and keep it up to date.
- Turn a PDF handout, course pack or guide into notes for Obsidian, Notion or Logseq.
- Prepare a clean text version of a long document to paste into ChatGPT, Claude or another AI tool.
- Recover the wording of an old document when the original Word or Google Docs file has been lost.
- Make a PDF easier to read on a phone by converting it to markdown that reflows to fit the screen.
Frequently asked questions
Does it work with scanned PDFs?
Scanned pages are images with no text inside. Use Image to Markdown, which reads text from images.
Are tables converted?
Text in tables is extracted in reading order. Complex tables may need a little tidying; the table generator helps.
Is my PDF uploaded?
No. It is read entirely in your browser.
Is the PDF to Markdown converter free?
Yes. It is free with no sign-up, no page limit and no watermark. Because the work happens in your browser, large PDFs only take as long as your device needs to read them, and nothing is queued on a server.
Which formatting is kept when I convert PDF to Markdown?
Headings (worked out from text size), paragraphs, bulleted and numbered lists are kept. Bold, italic, links, images and table borders are not, because a PDF does not store them in a way that can be read back reliably. Expect to add those by hand where they matter.
Can I turn the markdown back into a PDF?
Yes. Edit the markdown, then use Markdown to PDF to make a clean, print-ready PDF with selectable text. Both tools work in a mobile browser as well as on a computer.
Open editor