Haven PDFA safe haven for your PDFs
Home › Convert PDF to Markdown (.md) Offline in Your Browser
● Files never leave your device

Convert PDF to Markdown (.md) Offline in Your Browser

Developers, researchers, and writers using Obsidian, Notion, Logseq, or feeding technical documents into AI / LLM prompts need clean `.md` files rather than raw, unformatted text dumps.

Haven PDF analyzes font sizes, line baselines, and bullet markers across every page of your PDF right inside your browser tab and exports a structured Markdown (`.md`) file with `#` / `##` / `###` headings, bulleted lists, and page sections — without uploading your documents to any server.

Choose a PDF

Drag & drop or browse · Your files are never uploaded

How to

  1. Open your PDF in Haven PDF. Drop the PDF onto the page — it loads locally in browser memory.
  2. Run OCR first if the PDF is a scan (optional). For scanned papers without selectable text, run the built-in OCR tool first.
  3. Click Download → Markdown (.md). Open the Download menu in the top-right corner and select Markdown (.md) under the Text section.

How font-scale heading and list reconstruction works

Haven PDF computes the median body font size on each page using the PDF content stream coordinates. Lines significantly larger than body text are automatically promoted to `#`, `##`, or `###` Markdown headings, bullet glyphs (`•`, `▪`, `–`) are normalized to `- ` list items, and multi-page documents are cleanly separated.

FeaturePlain Text (.txt) exportHaven PDF Markdown (.md) export
Section headings (`#`, `##`, `###`)Lost — flat textReconstructed from font-size ratio
Bullet & numbered listsInconsistent symbolsNormalized to standard `- ` and `1. ` Markdown lists
Obsidian / Notion / GitHub readyRequires manual formattingDrops directly into your vault or repo
Privacy100% local100% local (0 bytes uploaded)

Frequently asked questions

Are my research papers or internal docs uploaded to an AI server?
No. Markdown conversion is deterministic and runs 100% locally in your browser using PDF coordinate and font metrics.
Can I export only specific pages to Markdown?
Yes. Select the pages you want in the left thumbnail sidebar before clicking Download → Markdown (.md).

Related tools