PDF2MD

PDF2MD · PDF ⇄ Markdown

Prepare Clean Markdown from PDFs for RAG & LLMs

Better RAG retrieval starts with clean Markdown chunk boundaries (#, ##, ###) instead of noisy raw PDF text dumps.

1 free conversions left · Get 50 conversions — $3.99

Drop a PDF here or click to choose

PDF up to 25 MB · 200 pages · files deleted right after conversion

Need Markdown → PDF?

Paste Markdown, get a clean printable PDF.

Frequently asked questions

What is PDF2MD (pdf2md.fun / pdf2fun)?

PDF2MD (at pdf2md.fun, also searched as pdf2fun or pdf to md) is an online converter that turns PDF documents into clean, structured Markdown (.md) with headings, lists and tables preserved for ChatGPT, Claude, Obsidian and Notion. It also converts Markdown back to PDF.

How much does it cost?

Your first conversion is free without an account. After that, a one-time pack of 50 conversions costs $3.99 with no subscription, and credits never expire.

Are my PDF files kept on your server?

No. Your PDF is written to a temporary file, converted to Markdown, and deleted immediately. We never store, train on, or inspect your documents.

Why convert PDF to Markdown before pasting into ChatGPT or Claude?

Raw copy-paste from a PDF strips heading hierarchy and breaks lines mid-sentence. Clean Markdown preserves # H1/H2/H3 structure and bullet lists so LLMs understand document sections accurately and use fewer tokens.

Does it work on scanned PDFs?

Not yet. We extract and reconstruct the native text layer, so an image-only scanned PDF has no text layer to extract. OCR is not enabled.

Why not just copy-paste from the PDF?

PDF2MD rebuilds heading levels and paragraph flow from font geometry — ready for LLMs, RAG, and Markdown notes.

Popular PDF ⇄ Markdown Workflows

ENZHJA