How the mapping works
| In the PDF | In the Markdown |
|---|---|
| Line ≈1.6× body size or larger | # Heading 1 |
| Line ≈1.25× body size or larger | ## Heading 2 |
| Short line in a bold font | **Bold line** |
| Line starting with •, -, * or a number | - List item |
| Ordinary lines | Paragraphs (wrapped lines merged, hyphenation rejoined) |
| Page break | Blocks simply continue — Markdown has no pages |
The classification is relative to each page's own most common font size, so a document typeset at 10pt and one at 12pt both map sensibly.
Honest limits
- Scanned PDFs produce nothing — there is no text layer. OCR PDF first, then convert the result.
- Images are not extracted or referenced. Add image links yourself afterwards; Extract Images from PDF can pull the pictures out.
- Tables become plain lines in reading order, not Markdown tables. For data, use PDF to Excel, PDF to CSV or Extract Tables.
- Inline emphasis is partial. A bold word inside a normal line is not wrapped in ** — only lines that are fully bold (and short) are marked. Italics are not marked.
- Multi-column reading order follows the PDF's stored order, which occasionally interleaves columns.
- Footnotes and headers/footers join the flow where they are stored; a quick tidy-up pass is normal.
Where the Markdown can go
| Destination | How |
|---|---|
| GitHub / GitLab | Save as README.md or any .md file — it renders automatically |
| Obsidian / Notion / Logseq | Import or paste — headings become the outline |
| Hugo, Jekyll, Astro, MkDocs | Drop into the content folder as a post or page |
| WordPress | Most editors accept pasted Markdown and convert it |
| AI tools | Markdown is the easiest format for chatbots and RAG pipelines to chunk and cite |
A five-minute tidy-up checklist
- Skim the heading outline — promote or demote anything the font sizes misjudged.
- Delete running headers/footers — page numbers and repeated titles that joined the flow.
- Re-add images where the argument needs them, with alt text.
- Rebuild any real tables as Markdown tables, or link the CSV from PDF to CSV.
- Check hyphenated words at line joins — the converter rejoins split words, but proper nouns deserve a glance.
Common uses
- Blogging a PDF report — white papers and research become posts.
- Documentation migration — manuals into MkDocs, Docusaurus or GitBook.
- Notes and research — papers into Obsidian with a working outline.
- Feeding AI tools — clean, structured text that models chunk and quote well.
- Version control — documents that diff meaningfully in Git.
Privacy: nothing is uploaded
The PDF is read and the Markdown written entirely in your browser. Drafts and internal documents never leave your device.
Troubleshooting
- The .md is empty — scanned PDF; OCR it first.
- No headings appeared — the document's headings may be the same size as its body text (some reports bold instead of enlarging). Fully-bold short lines still come through as **bold**; promote the ones that are really headings.
- A heading is split across two # lines — the PDF set the title on two lines; join them in your editor.
- Strange characters — the file is UTF-8; any modern editor handles it. Ligatures (fi, fl) from the PDF are preserved as characters.
- Protected PDF — remove the password first if it is yours, then convert.