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.
Drag & drop or browse · Your files are never uploaded
How to
- Open your PDF in Haven PDF. Drop the PDF onto the page — it loads locally in browser memory.
- Run OCR first if the PDF is a scan (optional). For scanned papers without selectable text, run the built-in OCR tool first.
- 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.
| Feature | Plain Text (.txt) export | Haven PDF Markdown (.md) export |
|---|---|---|
| Section headings (`#`, `##`, `###`) | Lost — flat text | Reconstructed from font-size ratio |
| Bullet & numbered lists | Inconsistent symbols | Normalized to standard `- ` and `1. ` Markdown lists |
| Obsidian / Notion / GitHub ready | Requires manual formatting | Drops directly into your vault or repo |
| Privacy | 100% local | 100% 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).