PDF to Markdown
Convert a PDF to Markdown online: headings, lists and paragraphs ready for docs, wikis, GitHub and AI tools. Converted in your browser.
Runs in your browser · Nothing uploadedFree · No sign-up
Something not working, or missing a feature? Send feedback
About the PDF to Markdown
PDF to Markdown turns a PDF's text into clean Markdown: larger text becomes headings, bullets and numbers become lists, and broken lines are joined into paragraphs with hyphenated words mended. Paste it into GitHub, a wiki, a static site or an AI assistant, which all read Markdown far better than raw PDF text.
PDFs are processed in your browser (pdf-lib, PDF.js and, for passwords, QPDF compiled to WebAssembly), so contracts, invoices and scans never leave your device.
How to use the PDF to Markdown
- Choose the PDF.
- Press Convert to Markdown.
- Copy the Markdown or download it as a .md file.
Works well with the PDF to Markdown
- Markdown to HTML: turn the Markdown into HTML.
- Token Counter: count tokens before pasting into an AI.
- OCR PDF: convert scanned PDFs.
Frequently asked questions
Is my PDF uploaded?
No. The PDF is opened, changed and saved by your browser on your device; nothing is sent to a server. You can check this in your browser's developer tools: the Network tab shows no request carrying the file.
How are headings found?
By size: the most common text size counts as body text; lines clearly larger become # or ## headings, and short bold lines become ### headings.
Are tables and images converted?
No. Table cells come out as lines of text and images are left out. For documents that are mostly tables, PDF to Word keeps more of the layout.
Why is the result empty?
The PDF is a scan with no text. Run OCR PDF first, then convert the searchable PDF.
Why use Markdown with AI tools?
Markdown keeps the structure (headings, lists) in plain text, so an assistant can tell sections apart, and it takes fewer tokens than the raw text of a PDF with its page furniture.
Related tools
Merge PDF
Merge PDF files online in the order you choose: drag to reorder, see page counts, and download one combined PDF. Files never leave your browser.
Compress PDF
Compress PDF files online to a size limit like 100 KB, 200 KB or 500 KB for upload forms, or by level. Text stays sharp where possible. Nothing is uploaded.
PDF to JPG & PNG
Convert PDF pages to JPG or PNG images online at 72, 150 or 300 dpi. Pick all pages or a range and download them one by one or as a ZIP, privately.
JPG & PNG to PDF
Convert JPG, PNG and WebP images to one PDF online. Reorder pages, choose A4, Letter or image size, orientation and margins. Photos stay on your device.
Image to PDF
Convert any image to PDF online: JPG, PNG, HEIC, WebP, TIFF and more in one file. Keep it under 100 or 200 KB for upload forms. Nothing is uploaded.
PDF to Word
Convert PDF to an editable Word document in your browser. Keeps headings, bold text, lists and pictures; scanned pages are read with OCR. Free.