HTML to PDF: Convert a Webpage or URL to PDF

Paste a public link or upload an .html file and get a print-ready PDF in seconds.

  • ✓Free account, no card
  • ✓No watermark

How to HTML to PDF

  1. 1Paste the address of a public web page, or drop an .html file into the box.
  2. 2Choose the page size (A4 or Letter) and portrait or landscape orientation.
  3. 3Click Convert to PDF and wait while the page is rendered.
  4. 4Download the finished PDF; your URL or file is deleted from our server right away.

How our URL to PDF converter renders a page

Most "save webpage as PDF" tricks rely on your browser's print dialog, which works until a site hides half its content behind print styles or you need the same result on a phone. We built HTML to PDF around a real headless Chromium browser running on our server in Germany. It opens the page the way a first-time visitor would, waits for it to load, and prints it to a PDF at A4 or Letter size, portrait or landscape. Because it is an actual browser engine, modern layouts, web fonts and images come through the way you see them on screen.

You can give it a URL or an .html file of up to 10 MB on the free plan (up to 50 MB on paid plans). Uploading a file is the better choice for pages you generated yourself, such as an exported report, an invoice template or an email saved as HTML. Everything travels over HTTPS and is deleted as soon as the PDF is returned; we keep no copy.

There are honest limits. The converter can only reach public http and https pages, so anything behind a login, on a private network or on localhost is blocked on purpose, for security. Cookie banners and paywalls may appear in the PDF exactly as they would to a new visitor, and very heavy pages that take longer than about 60 seconds to render will time out. For a logged-in page, we suggest saving it as HTML from your own browser and uploading that file instead.

Which page size and orientation should you pick when you convert a webpage to PDF? Our rule of thumb: portrait A4 or Letter for articles, documentation and online receipts, landscape for wide tables, dashboards and timelines. Responsive sites lay themselves out for the width they are given, so the same page can look noticeably different in the two orientations. If the first result looks cramped or cuts off a table, flip the orientation before trying anything more complicated.

For HTML you write yourself, such as an invoice template or a report produced by a script, a few habits give a clean PDF. Reference images with absolute https URLs or embed them as data URIs, because a single uploaded .html file cannot bring local image files along with it. Add a print stylesheet that hides navigation and sets sensible margins, and use CSS rules such as break-before: page to start each section on a new page. Need several pages in one document? Convert each URL, combine the results with Merge PDF, and run Compress PDF if the images made it heavy.

Our take

We reach for HTML to PDF when we need a frozen copy of something online: a product page before a price changes, terms of service on the day we agreed to them, or an article we want to annotate offline.

Our habit is to try the URL first and switch to an uploaded HTML file if the result shows a cookie wall or a login screen. Landscape tends to suit wide dashboards and tables, while portrait A4 reads better for articles.

What we would not use it for: archiving pages that only load after you sign in, or sites that keep loading content while you scroll. Those need a saved HTML file or a screenshot, not a remote render.

Related tools

Guides & comparisons

Frequently asked questions

How do I convert a webpage to PDF?+

Paste the page's public URL, pick A4 or Letter and an orientation, then click Convert to PDF. The rendered PDF downloads when it is ready.

Can I convert a page that needs a login?+

No. Our server only sees public pages. Save the page as HTML in your own browser and upload that file instead.

Why is there a cookie banner in my PDF?+

The page is opened like a first visit, so consent banners and paywalls can show up. Uploading a saved HTML file usually avoids this.

Is my file or URL stored?+

No. It is processed over HTTPS on our server in Germany and deleted immediately after the PDF is created.

Can I convert localhost or intranet pages?+

No. Private networks and localhost are blocked for security. Upload the HTML file instead.

What is the size limit?+

HTML uploads can be up to 10 MB on the free plan, 25 MB on Bronze and 50 MB on Silver and Gold, and a page must finish rendering within about 60 seconds.