PDF to Markdown

Convert a PDF to Markdown

Get a Markdown file whose headings are headings, whose lists are lists — not one flat wall of text.

Convert a PDF to Markdown online

A PDF holds no structure. It holds glyphs at coordinates: nothing in the file says "this line is a heading" or "these three lines are a list". That is why extracting text from a PDF gives you a wall of lines where a title reads exactly like a paragraph — fine for searching a string, useless for rebuilding a document. This tool reconstructs the structure from what the page actually shows. A line set noticeably larger than the body becomes a heading, and the more it exceeds the body the higher its level — measured against the document's own dominant size, not a fixed threshold, so a text set in 9pt and one set in 14pt are each read on their own terms. Lines separated by an ordinary leading are rejoined into paragraphs, because a PDF breaks every sentence at the end of each line. Bullets and numbered items become Markdown lists. Bold is detected from the font itself and marked inline, so emphasis in the middle of a sentence survives. What comes out is a .md file you can paste into documentation, a note-taking app, or a retrieval pipeline — the format those tools actually want.

How to convert a PDF to Markdown

  1. Upload the PDF

    Up to 10 MB and 100 pages. The document needs a real text layer — if you can select a word in a reader, it will convert.

  2. The structure is rebuilt

    Headings from relative size, lists from their markers, paragraphs rejoined, bold marked inline.

  3. Copy or download the .md

    Read it on screen, copy it in one click, or save the Markdown file.

Why use it

Headings stay headings

Levels come from the document's own dominant text size, so the hierarchy survives instead of collapsing into one flat block.

The format AI tools ask for

Retrieval pipelines and note apps ingest Markdown far better than raw text: the structure tells them what matters and where a section begins.

It says what it could not do

A table rendered as lines, a scan with no text layer, a document longer than the page limit — each is reported rather than left for you to discover in the file.

Frequently asked questions

How is this different from extracting the text?
Extraction gives you the words with nothing around them — every line looks alike, a title reads like a sentence. This rebuilds the structure: headings become # and ##, bullets become lists, lines that belong to one paragraph are rejoined, and bold is marked. Use extraction to search a string; use Markdown to keep a document readable, or to feed it to something that reads Markdown.
How are headings detected?
By relative size. The tool works out the dominant text size of the document — the size most of the characters use — and treats what clearly exceeds it as a heading, the level rising with the gap. This matters: a fixed threshold would turn every line of a 16pt document into a heading and find none in a 9pt one.
Are tables converted into Markdown tables?
No, and that is deliberate. A PDF table is only an alignment of columns; reconstructing the grid means guessing, and a wrong guess produces a table that looks right and reads wrong. The rows come through as lines of text and the tool tells you it found columns. When you need real cells, the PDF to Excel converter rebuilds them.
What happens with a scanned PDF?
A scan is an image: there is no text layer, so there is nothing to structure. Rather than hand you an empty file, the tool says so and points you to OCR, which adds a text layer. After that, conversion works normally.
Is bold and italic preserved?
Bold is, and it is marked where it occurs — in the middle of a sentence if that is where it sits, not across the whole line. It is detected from the font the document uses. Italic is not marked in this version.
Do I need an account?
Yes — conversion runs on our servers, so it requires sign-in. Creating an account is free.

Related tools