PDF to Markdown
Convert PDF to Markdown online for free — headings are detected from font size, bold text becomes **bold**, bullets and numbered lists are rebuilt, and repeated headers, footers and page numbers are removed. Preview the result, then copy it or download a .md file. 100% in your browser.
100% private — everything runs in your browser. Conversion happens on your device; nothing is uploaded.
Headings are detected from font size, bold text becomes **bold**, and bullets and numbered lists are rebuilt. Tables and multi-column layouts come out as plain text, and scanned PDFs need OCR first. The PDF never leaves your device.
How to convert PDF to Markdown
- Drop your PDF in the box.
- Review the Markdown and the live preview.
- Toggle header and footer removal if needed.
- Copy the Markdown or download the .md file.
What you can use it for
- Move PDF documents into Obsidian, Notion or a wiki
- Feed clean text to ChatGPT, Claude and other AI tools
- Turn PDF docs into README files and knowledge bases
- Edit PDF content in a plain-text editor
More free tools
Working with PDFs?
Merge, split, compress, protect and convert PDFs with our free, private PDF tools.
See all free PDF tools →Frequently asked questions
How do I convert a PDF to Markdown?
Drop the PDF in. The text is extracted, structured into headings, paragraphs and lists, and shown as Markdown with a preview. Copy it or download a .md file.
How are headings detected?
The most common font size is treated as body text; the larger sizes become #, ## and ### headings, and short all-bold lines become smaller headings.
Are tables converted?
Tables come out as plain text lines, not Markdown tables — PDFs don't store tables as structure, so check and tidy them by hand.
Why is my Markdown empty?
Scanned PDFs are images with no text layer. Run them through OCR PDF first, then convert.
Is it good for AI tools?
Yes — Markdown keeps the structure that language models use well, with far fewer tokens than raw PDF text full of page numbers and headers.
Is my PDF uploaded?
No. The PDF is read in your browser with pdf.js.
What does “Remove repeated headers, footers and page numbers” do?
It's ticked by default and works on PDFs with three or more pages. The tool checks the first two and last two lines of every page. Text that repeats there on at least 60% of pages, ignoring changing numbers, is removed, along with lone page numbers such as “12”, “Page 3” or “3 of 10”. Untick the box to put those lines back; the Markdown rebuilds straight away.
Which Markdown syntax does it produce?
Headings use # to ####, and bold words inside a line are wrapped in **. Lines that start with a bullet symbol such as •, ▪, – or * become “- ” list items, and numbered lines like “1.” or “1)” become “1.” items. Lines that wrap inside a paragraph are joined into one, words split by a hyphen at a line end are rejoined, and blocks are separated by a blank line.
Can I edit the Markdown before downloading it?
Yes. The Markdown box is editable, and Copy Markdown and Download .md both use whatever is in the box, including your changes. The preview shows the converted result and doesn't refresh as you type. Changing the header and footer checkbox rebuilds the Markdown from the PDF and replaces your edits, so set that option before you start editing.
Is there a page limit?
The tool sets no page or file-size limit. It reads every page in order, shows progress such as “Reading page 5 of 40…” every five pages, then reports the page count, word count and number of headings. The PDF is processed on your own device, so long documents take longer to read. The download is a plain .md file named after your PDF, such as report.md.
What if my PDF is password-protected?
If the PDF needs a password to open, the tool stops and shows “This PDF is password-protected. Unlock it first.” Remove the password with our Unlock PDF tool, which asks for that password and also runs in your browser. Then drop the unlocked copy here and convert it as usual.
What's the difference between PDF to Markdown and PDF to Text?
PDF to Markdown rebuilds structure: headings, bold text and lists are marked with Markdown symbols, wrapped lines are joined into paragraphs, and repeated headers and footers can be removed. Our PDF to Text tool gives you the plain text of every page to copy or save as a .txt file, with optional page-break markers and column spacing. Use Markdown when you want the structure kept, and plain text when you only need the words.