MinoPDF LogoMinoPDF

PDF to Markdown

Turn a text-based PDF into Markdown in your browser. Text is extracted and headings are detected from relative font size. Private, no upload.

All processing happens in your browser. Your files are never uploaded.

Key Features

PDF to Markdown

Convert a text-based PDF into an editable Markdown document you can revise, version in Git, paste into notes, or publish in a documentation workflow.

Heading Detection

Lines that are larger than the page's typical body text are detected as Markdown headings using relative font size. This helps preserve basic structure without a layout-analysis model.

Optional Page Markers

Insert a Markdown separator between pages when you need to retain the original page boundaries for review, citations, notes, or page-aware AI workflows.

Editable Plain Text

Download a standard .md file that opens in VS Code, Obsidian, Notion, GitHub, GitLab, and any plain-text editor.

Private & Local

Extraction runs entirely in your browser using PDF.js and WebAssembly. Your PDF is never uploaded to any server.

How to Use

1

Add a Text-Based PDF

Drag and drop or select one PDF with selectable text. For best results, use PDFs exported from Word, Google Docs, browsers, LaTeX, or similar document tools.

2

Choose Options

Decide whether to insert a separator between pages. Page markers are useful when you need to trace extracted text back to its original PDF page.

3

Convert and Download

Run the tool to produce a .md file, review the extracted text and headings, then copy or download the Markdown. No signup and no watermark.

PDF to Markdown Example

A report PDF becomes an editable Markdown file with detected headings and paragraphs.

PDF
report.pdf (5 pages)

A text-based PDF with selectable text, paragraphs, and several visibly larger headings.

Markdown
report-markdown.md

The document text is converted to Markdown, with larger text lines detected as headings and optional page separators.

How to Convert PDF to Markdown

Why Convert PDF to Markdown

Markdown turns a fixed PDF into editable plain text with simple structure. It is easier to revise, compare in Git, publish in documentation systems, organize in note-taking apps, and use as source material for AI or retrieval workflows.

Best PDFs for Conversion

This tool works best with text-based PDFs: documents that contain selectable text rather than page images. Typical examples include files exported from Word, Google Docs, web browsers, LaTeX, and office applications. A quick check is to select a sentence in your PDF and paste it into a text editor. If it pastes as readable text, the PDF is usually a good candidate for conversion.

How Heading Detection Works

PDF files usually store text positions and font sizes, not semantic heading tags. The converter compares each line's font size with the typical body-text size on that page. A line that is noticeably larger is written as a Markdown heading, while ordinary-sized text is treated as paragraph content. This lightweight approach preserves useful structure for straightforward documents, but it cannot always infer a perfect H1–H3 hierarchy from visual styling alone.

Optional Page Separators

You can insert separators between pages to keep the original document boundaries visible in the Markdown file. This is useful when reviewing a long report, tracing a quote to a source page, creating research notes, or preparing page-aware content for an AI or RAG workflow.

What Is Preserved

The converter focuses on readable text and basic structure:

  • Text and paragraphs: Extracted from the PDF's selectable text layer.
  • Headings: Detected when text is noticeably larger than the page's normal body text.
  • Page boundaries: Optionally represented with Markdown separators.
  • Editable output: A standard .md file for text editors, Git repositories, note apps, and documentation workflows.

What Is Not Preserved

PDF is a visual page format, while Markdown is a lightweight text format. This version does not reconstruct tables as Markdown tables, export embedded images, preserve exact fonts and page styling, or reliably rebuild multi-column layouts. Treat the output as an editable starting point, particularly for complex reports, magazines, academic papers, and heavily designed documents.

Scanned PDF Limitation

Scanned PDFs often contain only page images and no selectable text layer. In that case, there is no text for the converter to extract. Run OCR first to create a searchable PDF, then use this tool to generate Markdown. OCR results may still need proofreading, especially for small text, poor scans, or complex layouts.

Common Use Cases

Use PDF to Markdown to:

  • Move legacy reports or technical manuals into a Git-based documentation repository.
  • Turn text-based PDFs into editable notes for Obsidian, Notion, or another Markdown app.
  • Prepare document text for AI prompts, knowledge bases, search indexing, or RAG workflows.
  • Extract a draft from a PDF before revising, republishing, or migrating its content.
  • Convert articles, specifications, and internal documents into a more portable, version-friendly format.

Privacy

Everything runs locally in your browser using PDF.js and WebAssembly. Your PDF is never uploaded to a server, so you can process internal, private, or confidential text-based documents on your own device.

Frequently Asked Questions

Are my PDFs uploaded?

No. Conversion happens locally in your browser using PDF.js and WebAssembly. Your PDF never leaves your device and is not sent to any server.

Which PDFs work best?

Text-based PDFs with selectable text work best, especially files exported from Word, Google Docs, browsers, LaTeX, or other document tools. If you can select and copy readable text from the PDF, this converter can usually extract it.

How are headings detected?

The tool compares each line's font size with the typical body-text size on the same page. Text that is noticeably larger is treated as a Markdown heading. This is a heuristic, so subtle heading styles or unusual layouts may need manual cleanup.

Will it create H1, H2, and H3 heading levels?

The tool detects lines that visually stand out as headings, but font size alone cannot reliably reconstruct a complete document outline. Review the exported Markdown and adjust heading levels if your workflow requires a precise hierarchy.

Why is some text missing or garbled?

The tool reads the PDF's existing text layer. Scanned or image-only pages do not contain readable text and require OCR. Some PDFs also use custom fonts, broken encoding, or unusual character mapping, which can affect extraction quality.

Does it work with scanned PDFs?

Not by itself. A scanned PDF without a text layer needs OCR before its text can be converted to Markdown. Use an OCR PDF tool first, then run the resulting searchable PDF through this converter.

Are tables, images, and multi-column layouts preserved?

No. This version focuses on text extraction, reading order, basic heading detection, and optional page markers. It does not reconstruct tables as Markdown tables, export images, or reliably preserve complex multi-column page layouts.

What are page separators for?

Page separators show where one source PDF page ends and the next begins. They are useful for research notes, citations, review workflows, and AI or RAG pipelines that need page-aware source context.

Can I use the result in Obsidian, Notion, GitHub, or AI tools?

Yes. The result is a regular .md file that you can edit in any text editor, save in a Git repository, import or paste into Markdown-compatible note tools, or use as cleaner text input for AI workflows.