HTML to PDF

Convert HTML files or code to PDF with a real browser engine

Click or drop an HTML file hereChoose an HTML file

Max 100 MB of HTML

About HTML to PDF

HTML to PDF prints HTML to a PDF with Chromium, the engine behind Chrome, on our own conversion service. It takes three kinds of input: the address of a public web page, an .html or .htm file, or HTML code you paste. Scripts never run, for safety, so anything JavaScript would build is missing; the page warns you when your HTML has scripts or when a web page seems to depend on them. A font our servers do not have is replaced by a similar one, which can move line breaks. Headers and footers are not offered.

How to convert HTML or a web page to PDF

  1. 1Choose "From URL" and type a page address, "Upload file" to pick an .html file, or "Paste code".
  2. 2Set "Page size", "Orientation", and "Margins"; for an address, also pick a "Screen size" and, if you like, "One long page".
  3. 3Click "Convert to PDF"; when "PDF ready" appears, "Download" saves the printed page.

Formats and limits

Input
A public http:// or https:// address, an .html or .htm file, or pasted HTML
Output
PDF on A4, Letter, Legal, A3, or A5, portrait or landscape, or the page size set in the document
File or code size
100 MB of HTML
From an address
Page HTML up to 5 MB, at most 150 resources of up to 3 MB each and 25 MB in all; ports 80 and 443 only; up to 5 redirects
Usage limits
From an address: 20 conversions an hour and 60 a day per visitor, and 300 an hour for all visitors together. File or code over 4 MB: a limit per network per hour and per day.

Where your file is processed

For an address, our server downloads the public page with its style sheets, images, and fonts, refuses private-network addresses, and checks every redirect, then our Chromium service prints it. A file or pasted code is sent over HTTPS to that same Chromium service, which runs no script. HTML larger than 4 MB passes first through our server, which deletes it once the PDF exists and removes the PDF as soon as this page has downloaded it, or after 15 minutes.

Frequently asked questions

Can I convert a web page from its URL?

Yes. Choose "From URL" and type the address. Only public http and https pages on ports 80 and 443 work, and private-network addresses are refused. Pages behind a login show only what a visitor without an account sees, and a page built by JavaScript can come out incomplete because scripts are not run.

Does the PDF look like what Chrome prints?

Yes, in our test of September 19, 2026: a page with CSS grid, flexbox, a gradient with a shadow, a merged table cell, two columns, an inline SVG, print-only CSS, and French accents had the same layout as Chrome's print. The differences were the fonts: Georgia became Liberation Serif and Arial became Liberation Sans.

How many pages can I convert from addresses?

20 an hour and 60 a day per visitor, plus a ceiling of 300 an hour for all visitors together. Uploaded files and pasted code have no such count up to 4 MB; above that size, a separate hourly and daily limit per connection applies.

Do images with relative paths work in an uploaded file?

No. Only the HTML itself is sent, without the files stored next to it, so a relative path cannot be found. Use full https:// addresses for images and style sheets, or embed them in the HTML as data URLs.

Tips and tricks

  • ✓For a site that has a print layout without menus and ads, check the print-style box before converting its address.