Back to tools

HTML to PDF Converter

Convert webpages in HTML to PDF. Copy and paste the URL of the page.

Advertisement
Advertisement

What this tool does

Save a webpage as a clean PDF with the layout preserved.

HTML to PDF renders a webpage into a PDF using WeasyPrint. You supply a URL (or HTML source) and get back a PDF that captures the page's visual layout. Useful for archiving articles, saving invoices from a web app, or preparing a printable receipt.

JavaScript-heavy sites may render differently in WeasyPrint compared to a browser — the tool doesn't run a full browser engine.

How to use it

  1. 1Paste a URL, or upload/paste HTML source.
  2. 2Press Convert.
  3. 3Download the PDF and check the layout.

Real-world use cases

  • Archive an article you found online for offline reading.
  • Save an invoice from a SaaS admin panel.
  • Print a receipt that's only shown in the browser.
  • Create a stable copy of a landing page for a portfolio.

Why use this tool

Saving a web page as PDF keeps a fixed copy of receipts, articles or documentation that may change or disappear later, and makes it easy to annotate or print.

Supported formats & limits

Input: HTTPS URL or HTML source. Assets referenced by the page (images, CSS) must be publicly reachable.

Privacy

Your uploaded file is written to a temporary folder on our server, processed, and deleted by the operating system as soon as the request finishes — typically within seconds. Nothing is stored in our database. Traffic is encrypted over HTTPS. We fetch the URL from our server. Auth-only pages behind a login cannot be captured — use your browser's built-in Print → Save as PDF for those.

Full details in the Privacy Policy.

Frequently asked questions

Why does the PDF look different from what I see in Chrome?▾

WeasyPrint is a print-rendering engine, not a browser. Sites that rely heavily on JavaScript or unusual CSS may render differently.

Can I capture a page behind a login?▾

No. WeasyPrint fetches the URL without any browser session. For authenticated pages, use your browser's Print → Save as PDF feature.

Are external images loaded?▾

Yes — any publicly reachable image URL is fetched.

How does HTML to PDF handle pages that need to log in?▾

It can't — the tool visits the URL as an anonymous public visitor. If the page requires a login, save it as HTML from your browser first, then use the 'paste HTML source' option instead of the URL field.

Related PDF tools

Advertisement