HTML to PDF

Select an HTML file

or drag and drop here

Accepted formats: HTML, HTM, ZIP, MHTML, MHT

Quick facts

What it does
Draws a web page — from its address or from an uploaded file — in a real browser and saves it as a PDF that looks like the page.
Input
HTML, HTM, ZIP, MHTML or MHT
Output
PDF
Processing
On our server
Files uploaded?
Yes, temporarily
Account required?
No
Best for
Turning a generated report, an invoice template or an exported article into a fixed document.
Main limitation
A web address is opened as an anonymous visitor, so pages behind a sign-in cannot be reached — save those as a single file (.mhtml) in your own browser and upload that. A bare .html file without its folder has no styles to show.
Secure server processing — automatically deletedThis tool requires server-side processing. Your file is sent over an encrypted connection to iBuildPDF’s processing server, held only for the moments it is being converted, and deleted automatically afterwards.

How to use this tool

  1. Paste the page’s web address — or upload the page: an .mhtml (Save as → “Webpage, Single File”), an .html file, or a .zip of the page with its folder.
  2. Press “Convert to PDF” to send it for rendering over an encrypted connection.
  3. Choose the screen (desktop, tablet or phone), the paper — A4, US Letter or one long page — and the margins.
  4. Download the PDF.

Why use iBuildPDF

A web page is drawn for a screen, not for paper. The only way to get a PDF that looks like the page is to draw it the way a browser does — so that is what happens here: the page is opened in a real browser, at the screen width you choose, with its own styles, fonts and pictures, and then put on paper. Choose one long page and nothing is cut at all.

How it works

The page is opened in a fresh, isolated copy of the Chromium browser on our server and printed to PDF. Text stays text, so the PDF is searchable and selectable rather than a screenshot. An uploaded page cannot reach the internet at all; a web address is opened through a gateway that only reaches public websites. Nothing is kept afterwards.

Frequently asked questions

Can I give it a URL instead of a file?

Yes — choose “Web address”, paste it and press Preview to see the page first. It is opened as an anonymous visitor would see it today; for a page behind a sign-in, save it in your own browser as “Webpage, Single File” (.mhtml) and upload that instead.

My PDF came out unstyled.

The page was uploaded without its stylesheet: a page saved as “Webpage, HTML only”, or an .html file without its “_files” folder, points to its CSS and pictures by a path that was not in the upload. Convert its web address instead — the result offers that in one click — or save it as “Webpage, Single File” (.mhtml).

Will JavaScript run?

Yes. The page is opened in a real browser, so its scripts run and whatever they draw is in the PDF — menus, charts, content loaded as you scroll. An uploaded page’s scripts cannot reach the internet, so anything they would fetch from elsewhere is missing.

How do I control page size and margins?

On this page: choose A4, US Letter or one long page, portrait or landscape, and no, small or large margins. The page is laid out at the screen width you choose and scaled to fit the paper, so a desktop layout stays a desktop layout.

Can I add page numbers, a header or a footer?

Not here — the PDF has exactly what the page shows. Add page numbers afterwards with Add page numbers, which lets you choose the position and format.

Read more about this