PDF to Markdown
Convert a PDF's text layer to Markdown — headings from type size, lists from markers, paragraphs from gaps — entirely in your browser.
Image, PDF and Documents↑↓ to navigate · Enter to open · Esc to close
Paste HTML, get an A4 PDF of how it renders.
Runs in your browser. Nothing is uploaded — your input is processed on this device and discarded when you close the tab.
This tool takes an HTML snippet — a formatted announcement, a simple invoice layout, a styled table, a piece of documentation — renders it the way a browser would draw it, and turns that rendering into an A4 PDF. It is for quick, visual jobs: freezing a styled fragment into a file you can email, archiving how a component looks, or producing a simple printable handout from markup you already have.
Read this part before you rely on it: the PDF is a picture of the rendered HTML, not a text document. Each page holds a rendered image of your content, so the words cannot be selected, searched or copied out of the file, links are not clickable, and the result is an approximation of the on-screen render rather than a print-perfect reproduction. For many sharing jobs that trade is fine; for contracts and accessible documents it is not, and a real document editor is the right tool there.
Suppose your snippet renders to a block 794 pixels wide — the width of A4 at 96 CSS pixels per inch — and 2,000 pixels tall. One A4 page at that width is 1,123 pixels tall, so the planner cuts the render into two slices: the first 1,123 pixels and the remaining 877. The PDF gets two pages: page 1 filled edge to edge by the first slice, and page 2 showing the 877-pixel remainder scaled to the page width with white space below it. If the total height were exactly 2,246 pixels, the result would be two completely full pages with no remainder. These slice numbers are asserted by the tool's automated tests, as is the assembly of a real two-page A4 PDF from test images.
No, and this page will not pretend otherwise. The PDF contains a picture of your rendered HTML on each page, so text cannot be selected, searched or copied. If you need a text-based PDF, build the document in an editor and export it from there.
They are removed before anything renders. Script, iframe, object, embed and form tags are stripped entirely, inline event-handler attributes are removed, and javascript: links are neutralised, so pasted markup — including a hostile snippet — stays inert.
The rendered page is one tall picture that is sliced at exact A4-height boundaries. A line or image straddling a boundary is cut in two. Shorten the content, or add page-sized spacing in your HTML where you want the breaks to fall.
No. This tool converts an HTML snippet you paste or type here. It does not fetch web pages, and external stylesheets, fonts and images referenced by a full page will usually be missing from the render.
No. Sanitising, rendering and PDF assembly all happen in your browser. The snippet you paste never leaves your device.
Convert a PDF's text layer to Markdown — headings from type size, lists from markers, paragraphs from gaps — entirely in your browser.
Image, PDF and DocumentsCombine up to 10 PNG, JPEG or WebP images into a single PDF with fit, A4 or Letter pages — built entirely in your browser.
Image, PDF and DocumentsTurn each page of a PDF into a numbered JPG at your choice of DPI and quality — rendered entirely in your browser, zipped when there are several.
Image, PDF and DocumentsAssemble up to 10 scanned or photographed pages into one PDF, with per-page rotation and a document-cleaning enhancement — all in your browser.
Image, PDF and DocumentsPrefer everything on one page? The original PDF Toolkit merges, splits and rearranges with one shared file list. The full suite is indexed on the PDF Tools hub.