Out of a document

PDF to Markdown

Headings, lists and tables as text.

On this device

Convert to Markdown

The Markdown appears here first, so you can read it and judge it before anything is downloaded.

    Opened on this device · never transmitted

    What this tool does, exactly

    Reads the document's text layer and rebuilds the structure: type size becomes heading levels, bullets and indentation become lists, aligned columns become tables where they really are tables.

    What it does
    Reads the positioned text a PDF stores and rebuilds structure from it. Type size and weight become heading levels, bullets and indentation become lists, and columns that line up across several lines become a table.
    What it needs
    A text layer. If the PDF is a scan, the tool names the affected pages instead of returning an empty file. It does not perform OCR itself; OCR a PDF does, in one step.
    How far to trust the structure
    Structure is inferred, not read, because a PDF never records that something is a heading. The signals are strong and usually right; check headings and tables before you rely on them, which is why the Markdown is shown first.
    Where Markdown suits better than text
    The text tool returns only lines and words. Markdown also carries headings, lists and tables in a form that pastes into notes, wikis and repositories, and when none of that matters the PDF to text page gives a simpler result.

    About this tool

    Why does my PDF produce no Markdown?

    Because it is a scan, a picture of text with no characters in it. No converter can recover a character that was never in the file. The tool names the pages instead of handing you an empty file.

    How accurate is the structure it finds?

    It is inferred. PDFs record glyphs at a size and a position, not headings. Type size, weight, indentation and column alignment are strong signals and usually right, but check headings and tables before relying on them.

    Why are some tables wrong?

    A table in a PDF is often just text at aligned positions, with no grid in the file at all. Columns are recovered where several consecutive lines start at the same horizontal positions; a table with merged or wrapped cells will come out flatter than it looks on the page.

    Does it use MarkItDown or Docling?

    No. Both are excellent and both are Python, so they run on a server, which would mean uploading your document. This converter runs in your browser, with a PDF text reader bundled in the page and its own heuristics.

    More out of a document tools · All 55 · How they work