MarkdownPDF

HTML to PDF

Drop an HTML file or paste a web page, and get a clean, readable PDF with real text — without the menus, sidebars and clutter. Free, and nothing is uploaded.

Or drop an .html file, or browse

Your file never leaves your device

PDF

Paste HTML or drop a file on the left.

Images with a relative path (like img/photo.jpg) need the files: .

A document, not a screenshot

Printing a web page usually gives you the cookie banner, the menu, three sidebars and an article squeezed in the middle. This converter keeps what you came for: the article, documentation page, email template or report is turned into a plain, well-spaced document, with tables and code blocks that do not get cut off at the edge of the page.

Under the hood it uses the same steps as two other tools on this site: HTML to Markdown pulls out the structure, and Markdown to PDF lays it out. Want to edit the text before it becomes a PDF? Convert to Markdown first, adjust it, then export.

Which approach to use

  • Readable copy of the content — to read later, archive, annotate or send: this tool.
  • Exact look of the page — for a design review or a legal record of how it appeared: your browser's Print → Save as PDF.
  • A whole e-book — use EPUB to PDF, which follows the book's chapter order.

Frequently asked questions

Still stuck? Ask us.

Will the PDF look exactly like the web page?

No, and that is deliberate. The converter keeps the content — headings, paragraphs, lists, tables, code, links and images — and lays it out as a clean A4 document, without the site's colours, columns or menus. For an exact copy of how a page looks on screen, open it in your browser and use Print, then Save as PDF.

Can I just enter a URL?

No. Browsers do not let one website read another site's pages, and fetching them through our server would mean your browsing goes through us. Instead, save the page (Ctrl+S or Cmd+S) and drop the .html file here, or select the text on the page, copy it and paste it into the box — the formatting comes with it.

What does “Main content only” remove?

Navigation menus, site headers and footers, sidebars, forms, scripts and styles. When the page marks its main area with <main> or <article>, only that part is kept. Untick the option if something you need disappears.

Why are some images missing?

Images with a relative path, like img/chart.png, point to files next to the HTML on the original site; attach them with “add images” and they are matched by file name. Images on other websites load only when that server allows it. Images that cannot be loaded are replaced by their description and listed.

Is the text in the PDF selectable?

Yes. The PDF is built from real text and vector shapes, not a screenshot, so it can be searched, copied and read by screen readers, and stays sharp at any zoom.

Is my HTML uploaded?

No. The HTML is parsed and the PDF is written in your browser. Scripts in the HTML are never run.

Limitations

Guides