PDF to Markdown
Convert PDFs to clean Markdown text with headings, lists and links.
Drop your PDF here
Upload a file to get started.or click to browse
Clean Markdown
Headings, bold, italics, lists, links and simple tables, ready to paste.
Good for AI and Notes
Plain text with structure, for Obsidian, GitHub, docs sites or a chatbot.
100% Private
Converted in your browser. The PDF is never uploaded.
Complete Your Workflow
Explore Related Tools
Markdown to PDF
Convert Markdown (.md) files or pasted text to a clean PDF.
PDF to Word
Convert PDFs to editable Word .docx documents.
Extract Text
Extract text content from your PDF files.
OCR PDF
Extract text from scanned PDFs and images using OCR technology.
PDF to XML
Convert PDF files to structured XML data.
What is Convert PDF to Markdown?
PDF to Markdown conversion extracts the text of a PDF and rebuilds its structure in Markdown, the plain-text format used by GitHub, note apps such as Obsidian, documentation sites and AI assistants. PDF Zone's PDF to Markdown tool reads the text, position, size and font of every run on each page with Mozilla's pdf.js, joins wrapped lines into paragraphs, detects headings from type size, keeps bold, italics and links, turns bulleted and numbered lines into lists, and converts evenly spaced rows into Markdown tables. Characters with special meaning in Markdown are escaped so the output renders exactly as the text reads. Everything happens in your browser, so the PDF is never uploaded. Scanned PDFs need OCR first, and images and multi-column layouts are not rebuilt.
How to Convert PDF to Markdown
Follow this step-by-step guide to easily process your PDF files locally on your device.
Choose your PDF
Drop a PDF onto the tool, or click to pick one. Text-based PDFs work best; scans need OCR first.
Convert to Markdown
Optionally turn on page markers, then press Convert to Markdown. Each page is read in turn.
Copy or download
Check the preview, then copy the Markdown or download it as a .md file named after your PDF.
Why Use This Tool?
Real Structure
Headings, paragraphs, bold, italics, lists, links and simple tables, written as clean Markdown.
Copy or Download
Preview the Markdown, copy it to the clipboard in one click, or download it as a .md file.
Ready for AI and Note Apps
Compact, structured text that works in ChatGPT, Claude, Obsidian, Notion and GitHub.
No Upload
The PDF is converted on your device. Nothing is sent to a server.
Getting structured, reusable text out of a PDF
A PDF is built for printing, and Markdown is built for editing and for machines. Converting means recovering the structure the PDF never stored, then writing it in the most portable plain-text format there is.
What the Markdown captures
The converter reads the position, size and font of every run of text on each page, rebuilds lines and paragraphs from the geometry, and writes each piece in its Markdown form.
- Wrapped lines are joined back into whole paragraphs, so you do not get a line break in the middle of every sentence.
- Text noticeably larger than the body becomes a #, ## or ### heading, which keeps the document's outline and lets note apps build a table of contents.
- Bold and italic text is wrapped in ** and *, read from the font names embedded in the PDF.
- Lines that start with a bullet or a number become Markdown list items, with nesting preserved for indented items.
- Links in the PDF become [text](address) links, as long as they point at a web address or an email.
- Rows of evenly spaced values, the way most simple tables are set, become a Markdown table when two or more consecutive rows have the same number of cells.
- Characters that mean something in Markdown, such as asterisks, underscores and a # at the start of a line, are escaped, so plain text in the PDF stays plain text instead of turning into formatting by accident.
Where it needs help
- A scanned PDF is a picture of text with nothing to read, and the tool will say so. Run it through OCR first, then convert the result.
- Multi-column pages are read straight across the full width, which interleaves the columns line by line. Expect to reorder text from a two-column paper.
- Tables with merged cells, empty cells or values that wrap onto two lines do not line up as clean rows, so they come through as plain lines of text rather than a table.
- Images, charts and diagrams are not carried over. Markdown can only link to an image file, and there is no file to link to.
- Running headers, footers and page numbers are ordinary text in a PDF and will appear in the output. Delete them, or turn on page markers to see where each page begins.
- Text rotated at an angle, such as a DRAFT stamp or a margin note, is left out so it does not land in the middle of a sentence.
- A password-protected PDF has to be unlocked before it can be read.
Using the output well
- Markdown is the best input format for an AI assistant: it keeps headings, lists and tables, which helps the model follow the document, while staying far smaller than the PDF.
- Paste it straight into Obsidian, Notion, GitHub, a docs site or a static site generator, all of which read Markdown natively.
- Turn on page markers when you need to cite or check a passage against the original, since the rule shows where each page starts.
- Check numbers in financial or legal documents against the PDF. The text itself is copied exactly, but a table that did not line up may present values in a different order.
- Copy puts the whole document on your clipboard; Download saves a .md file named after your PDF.
- The conversion happens in your browser, so a contract, a medical letter or an internal report can be prepared for a chatbot or a wiki without first being uploaded to a converter.
Frequently asked questions
Drop the PDF onto this page and press Convert to Markdown. The Markdown appears in a preview where you can copy it or download it as a .md file. It is free, with no account and no upload.
Yes. Markdown keeps the headings, lists and tables that help a model follow a document, and it is much smaller than the PDF. Because the conversion runs in your browser, you can prepare a document this way without uploading it to a converter first.
Simple tables, where each row is a line of evenly spaced values, become Markdown tables. Tables with merged cells, empty cells or values that wrap onto two lines come through as plain lines of text.
Not directly. A scan is a picture of text with nothing to extract, and the tool will tell you so. Run it through OCR first to add a text layer, then convert the result here.
No. Markdown can only reference image files by address, and a PDF's images have no address to point at. Use Extract Images to save them separately.
No. The PDF is read and converted on your own device and nothing leaves it. You can confirm this in the Network tab of your browser's developer tools while converting.
Who uses PDF to Markdown Converter?
Feeding a document to an AI assistant
Turn a report or contract into structured Markdown that a chatbot reads accurately, without uploading it to a converter.
Moving a PDF into your notes
Bring a paper or a manual into Obsidian, Notion or Logseq as editable, linkable text.
Publishing on GitHub or a docs site
Recover the text of an old PDF guide as Markdown, ready for a README or a documentation page.