Converter

PDF to Markdown, without the upload.

Drop a PDF and get clean markdown back. Headings, lists, and paragraphs are reconstructed from the document's own typography. Your file is read inside this tab — it is never uploaded.

  • No signup
  • No upload
  • Headings & lists inferred
  • Works offline

Going the other way? Markdown to PDF →

Local converter
pdfno file

Drop a PDF file here

Or to choose one. It never leaves your browser.

0 words
Drop a PDF on the left to see markdown here.

Why this converter

Your documents stay on your machine.

Almost every PDF converter asks you to upload the file to a server you don't control. Contracts, invoices, medical records, draft manuscripts — all of it, handed over to convert a document. This one does the work in your browser instead.

  • Nothing is uploaded

    The PDF is parsed in your browser with Mozilla's PDF.js. No request carries your file anywhere. Check the network panel and see for yourself.

  • Headings from typography

    Finds the size carrying most of your text, calls that body, and ranks everything larger into heading levels — largest first.

  • Lists and paragraphs

    Bullet and numbered lists are recognized from their markers, and wrapped lines are rejoined into paragraphs with hyphenation repaired.

  • Code blocks detected

    Runs of monospaced text become fenced code blocks instead of mangled paragraphs, so technical documents survive the trip.

  • Loads only when needed

    The PDF engine downloads the moment you drop a file, not before. The page itself stays light for everyone who's just reading.

  • Verify with preview

    Flip the output between markdown source and a rendered preview to confirm the conversion before you copy it.

How it works

From .pdf to .md in three steps.

  1. 01

    Drop your PDF

    Drag it onto the drop zone or browse for it. The file is read locally — it never leaves the tab.

  2. 02

    Structure is inferred

    Text is grouped into lines, lines into blocks, and font sizes are ranked to recover headings, lists, and paragraphs.

  3. 03

    Copy or download

    Take the markdown to your clipboard, save it as a .md file, or open it straight in the editor.

What to expect

What converts, and what doesn't.

A PDF describes where to paint glyphs, not what they mean. Some structure can be recovered from that; some can't. Here's the honest split.

Converts well

  • Headings, from relative font size
  • Paragraphs, with wrapped lines rejoined
  • Bullet and numbered lists
  • Fenced code blocks from monospaced text
  • Hyphenated words split across lines
  • Multi-page documents, in reading order

Doesn't convert (yet)

  • Scanned PDFs — no text layer, would need OCR
  • Tables — cells come through as plain text
  • Images, charts, and logos are skipped
  • Multi-column layouts may interleave
  • Footnotes land inline where they sit on the page
  • Form fields and annotations

FAQ

Common questions

Is my PDF uploaded anywhere?
No. The PDF is read and converted entirely inside your browser tab using Mozilla's PDF.js. The file never touches a network request, never reaches a server, and nothing is logged or stored. Close the tab and it's gone. You can verify this by opening your browser's network panel while converting, or by disconnecting from the internet after the page loads — the converter still works.
Does it work with scanned PDFs?
No. A scanned PDF is a picture of a page, with no text layer to extract — converting one would need OCR, which this tool doesn't do. If you drop a scan, you'll get a clear message saying so rather than an empty result. A quick way to check your own file: open it in any PDF reader and try to select the text with your cursor. If you can't select it, there's no text layer.
How does it decide what's a heading?
PDFs have no concept of a heading — only glyphs positioned on a page — so headings are inferred. The converter finds the text size carrying the most words in your document and treats that as body text, then ranks every larger size above it into heading levels, largest first. Lines that are very long or end in sentence punctuation are left as paragraphs, so a large pull quote doesn't become an H1.
Why did my tables come out as plain paragraphs?
Table reconstruction isn't supported yet. A PDF table is just text positioned in columns with no marker saying 'this is a table', so rebuilding one means clustering text by horizontal position and inferring where cells begin and end. It's the part these converters most often get wrong, so rather than emit broken tables the cells come through as regular text. If you need a markdown table, the CSV and JSON table generators can build one from structured data.
What happens to images in the PDF?
Images are skipped. Only the text layer is extracted, so photographs, charts, and logos in the source PDF won't appear in the markdown. The surrounding text is unaffected.
Is there a file size limit?
There's no hard limit beyond what your browser can hold in memory, since nothing is uploaded. Conversion happens page by page and a typical text-heavy report of a few hundred pages converts in a few seconds on a modern laptop. Very large PDFs with complex fonts will take longer, and the page stays responsive while it works.
Why is some text joined together or split oddly?
PDF text is stored as positioned fragments rather than sentences, so the converter infers word boundaries from the horizontal gap between fragments and paragraph breaks from the vertical gap between lines. Unusual typography — heavy letter-spacing, justified text with wide word gaps, or multi-column layouts — can push those gaps outside the expected range. Multi-column layouts in particular are read in position order, which may interleave columns.
Can I edit the markdown afterwards?
Yes. Copy it, download it as a .md file, or open it directly in the Markdown Writer editor for live preview, syntax highlighting, and export to PDF, DOCX, HTML, and more.
How do I go the other way, markdown to PDF?
Use the Markdown to PDF converter, which renders your markdown and saves it as a PDF through the browser's print dialog.

Got the markdown? Now edit it.

Open the converted markdown in Markdown Writer for a focused editor with live preview, syntax highlighting, and export back to PDF.

Open the editor