PDF to Markdown Converter
Convert PDF to Markdown (.md) free, entirely in your browser. Headings, lists, tables and code blocks are detected from the PDF's own font and position data — no upload, no signup, great for Obsidian, docs and LLM/RAG notes.
Drop a PDF here
or click to browse — files are parsed locally, never uploaded
Convert PDF to MD online — free and private
This free PDF to Markdown converter extracts the text layer of your document and rebuilds it as clean .md. Because the conversion runs on font size, glyph and x-position metadata — not just raw characters — it recovers structure most plain-text extractors lose: # headings, - list items, pipe tables and fenced code blocks.
Everything happens locally with pdf.js in your browser. Your file is never uploaded to a server, which makes it safe for contracts, financial statements, medical records and other sensitive documents.
Obsidian users: drop a report or paper in, download the .md, and move it into your vault — headings become outline entries and tables stay tables.
How the conversion works
Each page's text is grouped into lines from x/y coordinates, then:
- Lines set ≥70% larger than the page's median font size become
#headings (≥40% becomes##, short ≥15% lines###). - Leading bullet glyphs (•, ▪, ·) and
1.-style numbering become Markdown list items. - Consecutive lines whose items share ≥2 aligned x-column positions are emitted as pipe tables.
- Runs of monospace-font text (Courier, Consolas…) become fenced code blocks.
- Remaining lines are reflowed into paragraphs; page breaks can be kept as
---.
Scanned PDFs contain no text layer — run them through OCR first, then convert here.
Frequently asked questions
How do I convert a PDF to Markdown?
Is this PDF to Markdown converter free?
Is it good for Obsidian?
Does it work on scanned PDFs?
Do tables survive the conversion?
Related tools: PDF to Text · HTML to Markdown · Markdown to PDF · All PDF Tools