PDF to Markdown — Free Online Tool

Convert PDF documents to clean Markdown for LLMs, notes and static sites. PDF to Markdown is a free online tool from the ToolsRift PDF Tools collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.

Loading PDF to Markdown

How to use PDF to Markdown

Upload a PDF with a real text layer. The tool reads the positioned text, infers heading levels from relative font sizes, converts bullet and numbered lists, and rebuilds paragraphs. Copy the Markdown or download it as a .md file.

Frequently asked questions

Why convert a PDF to Markdown?

Language models and RAG pipelines work far better on structured Markdown than on raw PDF text, because headings and lists preserve the document's hierarchy. Markdown also drops straight into static site generators and note apps like Obsidian.

How are headings detected?

Each line's font size is compared against the median font size of the whole document. Lines that are noticeably larger become H1, H2 or H3. This is a heuristic, so unusual layouts may need a quick manual pass.

Does it work on scanned PDFs?

No. A scan contains pictures of words, not text, so there is nothing to extract. Run the scan through OCR first.

Are tables preserved?

Tables are emitted as plain text lines. For real tabular output, use the PDF Table Extractor to get CSV.

More PDF Tools

PDF to JSON
Extract PDF text as structured JSON with page, position and font data
PDF Table Extractor
Detect tables in a PDF and export them as CSV spreadsheets
PDF Chunker for RAG
Split PDF text into overlapping token-sized chunks for embeddings and RAG
PDF Blank Page Inserter
Insert one or more blank pages into a PDF at any position, sized to match or A4/Letter
PDF Page Reverser
Reverse the order of all pages in a PDF so the last page becomes the first
PDF Page Duplicator
Duplicate a chosen PDF page one or more times, inserting the copies right after it

← View all PDF Tools