PDF to Markdown Converter

Convert PDF documents to clean GitHub-flavored Markdown. Auto-detects headings based on font size, preserves lists, and creates proper paragraphs. Perfect for migrating docs to Hugo, Jekyll, Obsidian, or Notion.

Click to select or drag & drop a PDF file here

Frequently Asked Questions

How does heading detection work?

The tool analyzes font sizes across your document. The most common size is treated as body text. Larger sizes become H1, H2, H3 based on their relative size. Short standalone lines with larger fonts are detected as headings and prefixed with # markers.

Can it preserve bullet and numbered lists?

Yes. With "Detect lists" enabled, lines starting with bullet characters (•, ●, *, -) are converted to Markdown bullet lists. Lines starting with "1.", "2.", etc. become numbered lists.

Does it extract images?

Yes. With "Extract images" enabled, embedded images are extracted page-by-page and inlined as base64 PNG data URLs in the Markdown (![image-1-1](data:image/png;base64,...)). This keeps the output self-contained — no external files needed. Disable this option for text-only output if the PDF has many large images and you want a smaller Markdown file.

Is my PDF private?

Yes. All processing happens in your browser using Mozilla's PDF.js. Your PDF file is never uploaded to any server, making this safe for confidential and personal documents.

Are password-protected PDFs supported?

Yes. When an encrypted PDF is detected, the tool shows an inline password prompt — enter the user/open password and conversion proceeds. The password stays in your browser memory only; it's used once to decrypt the document client-side and is never sent or stored. If the password is wrong, you can retry; if you cancel, conversion aborts cleanly. Owner-password-only PDFs (where reading is allowed but printing/copying is restricted) decrypt without a prompt.

What's the best use case?

Migrating documentation from PDF to static site generators (Hugo, Jekyll, Gatsby), importing into note-taking apps (Obsidian, Notion, Logseq), archiving articles as Markdown, or preparing PDF content for editing and republishing.