Skip to content
TryDocsy
No upload — works in your browser

PDF to Markdown Converter

Extract selectable PDF text into structured Markdown with headings, tables, list items, and bold/italic formatting.

Markdown to PDF

Drop a PDF here

Text-based PDFs up to 100 MB. Your file remains on this device.

Max file size: 100MB

Structural Markdown

Converts font sizes into real Markdown headings (# H1, ## H2, ### H3).

GFM Tables & Formatting

Rebuilds PDF tables as GFM pipe tables and preserves bold/italic styles.

Scans Handled Honestly

If there is no text layer, we direct you to PDF OCR instead of creating empty files.

Portable Document Format files are engineered for print fidelity rather than semantic editing, locking textual content behind rigid coordinate systems and fragmented character runs. This converter transforms selectable text inside PDF documents into structured GitHub Flavored Markdown (GFM) directly inside your web browser. Everything runs strictly on your device using client-side WebAssembly and PDF parsing routines, ensuring your documentation, research notes, and company manuals remain completely confidential.

Unlike basic text scrapers that dump disjointed character streams, the underlying parser analyses typographic hierarchies, paragraph spacing, and coordinate bounding boxes. Larger display text is automatically classified into hierarchical Markdown headings (# through ###), tabular cell clusters are assembled into formatted pipe tables, bullet enumerations are normalised, and font weights are translated into standard bold and italic syntax.

How it works

  1. 1. Drop a PDF here

    Select or drop your PDF document into the upload zone. The tool accepts digital, text-based PDF files up to 100 MB and parses pages immediately upon selection.

  2. 2. Configure Markdown formatting options

    Use the toggle checkboxes to enable or disable page markers (“## Page N”), top-level document titles, bold and italic font styles, and automatic table reconstruction.

  3. 3. Review the formatted preview or raw code

    Switch between the “Formatted” tab to preview rendered HTML typography and the “Raw Code” tab to inspect the generated Markdown syntax and character count.

  4. 4. Copy or Download .md

    Click “Copy Markdown” to copy the formatted text directly to your clipboard, or click “Download .md” to save a standalone UTF-8 Markdown file to your computer.

When you'd use it

  • Migrating technical whitepapers to GitHub or static sites

    Software engineers and technical writers frequently receive API guides, RFC specifications, or product roadmaps as PDFs that must be transferred into Git repositories and Markdown documentation sites.

  • Importing academic papers into Obsidian or Logseq

    Researchers building personal knowledge graphs can extract reading-order notes from downloaded journal articles without wrestling with broken line wraps and disconnected section headers.

  • Feeding clean structured text into LLMs and prompt workflows

    Large language models parse structured Markdown with headings and pipe tables far more accurately than raw, unformatted text dumps that lack semantic hierarchy.

  • Pasting structured PDF summaries into Notion wikis

    Project managers can convert status reports, financial summaries, and meeting briefs into clean Markdown blocks ready for instant pasting into collaborative workspaces.

How semantic heading and table reconstruction works

Standard PDF documents store individual glyphs with absolute X and Y coordinates rather than semantic markup tags like headings or table cells. This tool reads the text content stream across every page and calculates the modal body font size for the entire document. When a line of text exhibits a significantly larger font size than the surrounding body text, the layout engine elevates it to a Markdown heading level corresponding to its typographic weight.

Similarly, the table detection module inspects horizontal and vertical text alignments. When multiple items align across consistent column boundaries on consecutive lines, the parser groups them into a structured GitHub Flavored Markdown table complete with header divider bars and escaped pipe characters.

Multi-column reading order and scanned documents

In two-column research papers and magazine articles, naive text extraction frequently interleaves sentences across columns because it sorts solely by vertical coordinate. This tool computes spatial column regions to follow the natural reading order down the left column before proceeding to the right column.

Note that this converter requires an embedded text layer to extract text. If your PDF consists of scanned document images, camera snapshots, or flattened raster artwork, the character count will be zero. In that scenario, the tool detects the missing text stream and directs you to our optical character recognition utility to generate a searchable text layer first.

Customising output toggles for your workflow

Different Markdown editors have different formatting preferences. The “Add Page Headings” checkbox inserts an H2 delimiter before each page, which is invaluable when referencing specific page citations in legal or academic contexts. If you are compiling an uninterrupted chapter or essay, unchecking this option produces smooth continuous prose without artificial page divides.

You can also toggle document titles, bold and italic formatting, and table parsing. If a complex layout produces cluttered pipe tables, unchecking table reconstruction cleanly flattens the row entries into sequential text lines.

Frequently asked questions

Can this tool convert scanned paper documents to Markdown?

No. The converter relies on an embedded digital text layer. For image-only or scanned PDFs, run the file through our private PDF OCR tool first to extract selectable text.

How are complex PDF tables represented in the output?

When the table reconstruction option is active, aligned tabular data is converted into GitHub Flavored Markdown pipe tables with escaped cell dividers and header separator lines.

What is the maximum PDF file size supported?

The tool accepts PDF files up to 100 MB. Processing occurs entirely in your browser memory without uploading bytes to an external server.

Are hyperlinks inside the PDF preserved in Markdown?

If the source text contains literal URL strings, they are preserved as plain text. Visual annotation links embedded as PDF metadata are not converted into inline Markdown links.

Can I use the output directly in Obsidian or Notion?

Yes. The generated syntax adheres to standard CommonMark and GFM conventions, making it immediately compatible with Obsidian, Notion, GitHub READMEs, and static site generators.