PDF to Markdown

Extract the text of a PDF into Markdown in your browser, free and with no sign-up. Lines and paragraphs are rebuilt from the text positions on each page, and scanned PDFs are read with OCR. Tables and headings come out as plain paragraphs.

Example

PDF (text layer)
Quarterly Review
Revenue grew across all regions.
Markdown
Quarterly Review

Revenue grew across all regions.

What it keeps

  • The readable text of each page, in reading order
  • Lines rebuilt from text positions, with paragraphs split at larger gaps and font size changes
  • Words broken with a hyphen at a line end are joined back up, keeping the hyphen
  • Works on any PDF that has a real text layer
  • Scanned and image-only PDFs are read page by page with OCR

Where it struggles

  • OCR on scanned pages is slower and can misread small or faint text
  • Multi-column pages flatten to a single column
  • Headings and tables come out as plain paragraphs

Frequently asked questions

Does it work on scanned PDFs?

Yes. A scan has no text layer, so the pages are read with OCR instead. That is slower, and the result is plain text without headings.

Why didn't my headings become # headings?

A PDF stores positioned text, not document structure, so heading styles can't be detected. Add the # marks after extracting.

Is my PDF uploaded?

No. It's parsed with pdf.js in your browser; the file never leaves your device.

Something not working? Let us know.

Need a format we do not convert? Tell us which one.