Convert a PDF to Markdown

Get a .md file you can edit in Obsidian, GitHub or any notes app — with headings, paragraphs and bullets, not a wall of text.

Convert a PDF to Markdown

Drop a PDF here

Or choose a file from your device

One PDF at a time · max 50 MB

The text layer is read in this tab — nothing is uploaded.

    No PDF added yet.

    Extracted text

    Three steps — nothing to install

    1. Add the PDF

      One file up to 50 MB. The page count appears before you choose a range.

    2. Choose the pages

      All pages, or a range such as 1-5, 8. Each page is read separately.

    3. Download the .md

      Copy the preview or download the file and open it in your editor.

    How headings are chosen

    Markdown needs structure, and a PDF only has font sizes and positions. This tool takes the median line height on each page as body text, then promotes a line to ## when it is at least 55% larger and ### when it is at least 28% larger. Lines that begin with a bullet character or a dash become - items, and a vertical gap wider than about 1.7 line heights becomes a paragraph break.

    That is a good guess for a report with consistent styling, and a bad one for a cover page with one huge title or a page where every line is the same size. Read the first page before trusting the whole file: the heading levels are the part most likely to need a quick pass.

    What Markdown cannot carry

    Bold and italic runs are not recovered — the PDF records a font, not an intention, and a bold face used for a heading is already handled by the heading rule. Links are not reconstructed either, because a PDF link is an annotation over an area, not a property of the words. Tables become lines of text, and code blocks lose their monospace convention unless the source happened to use one.

    Images are skipped entirely. If the document's meaning lives in its diagrams, Markdown is the wrong target; extract the images as well, or keep the PDF.

    Good uses for the result

    Markdown is the right output when the words matter more than the layout: turning a report into notes, moving a policy into a wiki, or giving a document to a tool that reads text. Every paragraph is separated by a blank line and the file starts with the document as it reads, so a diff between two exports is readable.

    It is the wrong output for a scanned page (there is no text), a form (the answers are fields, not prose) or a design-heavy brochure. Those are honest limits, not bugs: text extraction without OCR can only work with text that is already there.

    Frequently asked questions

    Are my files uploaded?No. Everything runs in this browser tab, and the .md file is created on your device.
    Why are some headings wrong?Heading levels come from font size relative to the page's median line. A cover page or a page with unusual styling will be guessed wrong; edit those lines after conversion.
    Are links and bold text kept?No. PDF links are annotations, not text, and bold/italic runs are not reliably recorded as such. The words are kept; the styling is not.
    Can it convert a scanned PDF?No. A scan has no text layer and this tool does not do OCR. It will say it found almost no text.
    Does it work for tables?It produces the cell text as lines. Column alignment, merged cells and row structure are lost — a spreadsheet export is a better source for tabular data.
    Is the PDF modified?No. The file is read only; the Markdown is a new file.