Sign up free

PDF to Markdown (MD) Converter

Turn a PDF into clean Markdown, with headings, lists and tables in proper syntax and, if you like, every picture linked where it sits.

or drop files here

Accepts PDF

Encrypted upload. Files are deleted automatically after 1 hour.

About PDF to Markdown

PDF to MD is useful when a PDF has to go into a wiki, a docs site, a Git repository, Notion or Obsidian, or be pasted into an AI chat as tidy text. Upload the file and you get Markdown with hash headings for titles, dashes and numbers for lists, pipe tables for tables, and ordinary paragraphs in between. Turn on Save the pictures too and you get a ZIP with the Markdown file and an images folder, each picture linked where it sits in the text, ready to drop into Obsidian, Notion or a static site.

Headings are recognized from the type size, so the structure of the document comes through. Running headers, footers and page numbers are left out, and paragraphs are joined back together instead of breaking at every line. Scanned pages are read too: Recognize text (OCR) on Auto-detect reads only the scans and the pages whose fonts come out as gibberish, Always reads every page, and Off none. OCR reads printed English and Chinese. Pages converts just a chapter or a range. The result appears on the page with a Copy button and is also saved as a UTF-8 .md file. Free accounts get OCR on a set number of scanned pages per file, and VIP on every page.

How to use PDF to Markdown

  1. 1
    Upload a PDF

    Choose or drop the file. Free accounts can convert PDFs up to 50 MB, VIP up to 1 GB.

  2. 2
    Set the options and convert

    Auto-detect reads scanned pages with OCR by itself. Tick Save the pictures too for the images, set Pages for part of the file, then click PDF to Markdown.

  3. 3
    Copy or download

    Use Copy to paste the Markdown straight into your editor, or download the .md file or the ZIP with its images.

Why use Cubfile for this

  • Real Markdown structure

    Headings, bullet lists, numbered lists and tables use standard syntax that GitHub and most editors render, without page numbers, headers or footers.

  • Pictures linked in place

    With Save the pictures too, each image lands in an images folder and is linked where it sits in the text.

  • Scans read page by page

    Only scanned pages and gibberish fonts are read with OCR, while pages with real text keep their own.

FAQ

PDF to Markdown: questions and answers

Does PDF to Markdown keep tables?
Yes, as pipe tables. Merged cells are split back into single cells, since Markdown tables can't merge them.
Can PDF to Markdown read scanned PDFs?
Yes. With Recognize text (OCR) on Auto-detect, scanned pages are read with OCR and set out as Markdown too, while pages that already have text keep their own. OCR reads printed English and Chinese, so check names and figures in the result.
Are pictures included in the Markdown?
Yes, when you tick Save the pictures too. You get a ZIP with the .md file and an images folder, and each picture is linked where it sits in the text, so it shows up in Obsidian, Notion or a static site. Leave it off for the text alone.
Is this PDF to MD converter free, and how large can the PDF be?
Yes. 2 tasks in total without an account and 2 per day with a free one, for PDFs up to 50 MB, with OCR on a set number of scanned pages per file. VIP has no daily limit, a 1 GB file size and OCR on every page.
Do you store my PDF or the Markdown?
Both are deleted automatically an hour after the task. Files are uploaded over HTTPS and processed in isolation, and we never read them.
Share PDF to Markdown with a friendIt runs in any browser, and they can try it without signing up.

Related tools

JPGPDF JPG to PDFCombine photos and scans into one PDF, in the order you choose.
PDFPNG PDF to PNGRender PDF pages as sharp PNG images at the resolution you need.
PDFDOC PDF to WordTurn PDFs into editable Word files, scans included.
DOCPDF Word to PDFConvert DOCX and DOC to PDF with fonts, tables and page numbers intact.
XLSPDF Excel to PDFPrint spreadsheets to PDF with charts, number formats and column widths.
PDFXLS PDF to ExcelPull tables out of PDFs into Excel, merged cells kept.
PDFJPG PDF to JPGSave each page as a JPG, or pull out the images inside.
PDFPPT PDF to PowerPointTurn every PDF page into an editable slide.