Skip to content
Outilix: all your free online tools, one click away, with Kroma the chameleon

HTML to PDF: convert a web page to PDF

HTML to PDF: convert a web page to PDF
Kroma

Paste the address of a public page and this HTML to PDF converter prints it as a PDF. A headless Chrome browser on our server loads the page like you would, waits for it to finish and prints it (Letter or A4, portrait or landscape). Only pages reachable without logging in work, with a 25-second limit. The PDF isn't stored.

  • ✅ Free
  • 🔒 No sign-up
  • 📱 Works on mobile
  • ⚡ Instant results
Loading the tool…

🔒 This conversion runs on our secure server. Your files are deleted automatically after 1 hour and are never read or kept.

📌 Key facts

  • The tool opens the address in a headless Chrome browser on our server, then prints the page to PDF.
  • Only http and https addresses on ports 80 and 443 work.
  • Limits are 25 seconds of loading, 80 MB of data and 12 pages per hour per person.
  • The server refuses private or local addresses (localhost, 127.x, 10.x, 192.168.x) and pages that need a login.
  • Two styles exist: screen (the page as you see it) and print (the printer stylesheet).
  • The PDF is not stored after you download it.

How to turn a web page into a PDF

  1. Paste the full address of the page (with or without https://).
  2. Pick the paper size, orientation and style: screen (the page as you see it) or print (the printer-friendly version, often without menus).
  3. Click the button: the PDF is ready in 5 to 20 seconds.

The browser used is Chrome in headless mode. Images, web fonts and JavaScript are loaded; cookie banners may still show up in the PDF.

What is allowed, and why

A server that opens addresses for you could be abused to read private pages. To prevent that, the tool applies strict rules:

RuleDetail
Protocolshttp and https only (no file:, ftp:…)
Ports80 and 443 only
AddressesPrivate and local addresses are refused (localhost, 127.x, 10.x, 192.168.x, 169.254.x) along with local IPv6 addresses
RedirectsEvery redirect is checked the same way
Limits25 seconds, 80 MB of data, 12 web pages per hour per person

Pages that need a login (email, social networks, intranets) therefore don't work: the server's browser doesn't have your session.

Screen or print: which to choose

The screen style reproduces the page as it appears, with menus and banners. The print style applies the stylesheet made for printers: often easier-to-read text without navigation. For a blog post or a recipe, try "print" first. Background colors are kept in both cases.

HTML to PDF in five steps

An HTML to PDF job takes seconds. Follow these steps in order.

  1. First, copy the full address of the page from your browser bar.
  2. Next, paste it into the field, with or without https.
  3. Then pick Letter or A4, and portrait or landscape.
  4. After that, choose the screen or print style.
  5. Finally, start the conversion and wait 5 to 20 seconds.

So your HTML to PDF file is ready to email or save. If the page is very long, the PDF has several sheets. When you want fewer pages, try landscape.

Screen or print: which style fits which page?

The right setting depends on the content. Here are simple rules of thumb for HTML to PDF work.

Page typeSuggested styleReason
Blog postPrintFewer menus and banners
RecipePrintIngredients and steps stand out
Terms of serviceScreenFaithful record of what showed
Product pageScreenPhotos and layout stay
Results tableScreen, landscapeWider columns

For example, a recipe often fits on 2 sheets in print style, against 6 in screen style. However, some sites ship no print stylesheet. In that case, the screen style is the safer pick.

When an HTML to PDF conversion fails

A few causes come up again and again. Each one has a fix.

  • The page needs a login: the server's browser does not have your session. Use your own browser's Print command instead.
  • The address is local: localhost and private networks stay blocked to protect everyone.
  • Loading takes more than 25 seconds: try again later, or pick a lighter page.
  • You hit 12 pages per hour: wait a little before the next one.
  • A cookie banner shows up: the server cannot click it, so it may stay on the first sheet.

On the other hand, images, web fonts and JavaScript load normally. So most public pages work on the first try with HTML to PDF.

Ideas for using HTML to PDF, and tools that help

You can keep a dated copy of a policy, a price list or a listing. Also, an article saved as a PDF reads offline, for example on a flight. For a research file, join several pages with Merge PDF. If the file gets heavy, slim it down with Compress PDF.

When you only need a picture of the page, try the website screenshot tool. In addition, for a document you write yourself, use Word to PDF. Finally, remember that an HTML to PDF copy shows the page at that moment. Run the conversion again if the page changes.

Good habits before you start

First, open the page in your browser. That way you confirm it loads without a login. Next, copy the address from the bar, not from a shortcut. If the address has parameters, keep them. Then the right version of the page prints. When a page changes often, put the date in the file name. For example, rates-10-30-2026.pdf. Also, pick Letter for US mail and A4 for most other countries. So the paper copy looks right. If you want better readability, use the print style. But to keep the original colors, pick screen. Finally, read your HTML to PDF result before you send it. You will spot a banner stuck at the top of the page.

3 real-life examples

1

Keep a recipe or an article

You paste the article address, choose Letter portrait and "print". The PDF is 3 pages, with no menus or ads, ready to send or file away.

2

Archive a terms of service page

A terms page changes from time to time. A PDF dated today is a record of what was displayed. Choose "screen" to keep the original layout.

3

A page that asks you to sign in

You paste your account page address. The PDF shows the login page, not your account: the server isn't signed in. In this case use your own browser's Print, Save as PDF.

Frequently asked questions

How do I convert a web page to PDF?
Paste the page address into the field, choose the format and click the button. A headless Chrome loads the page and turns it into a PDF you can download.
Why is my URL rejected?
Local or private addresses (localhost, 127.0.0.1, 192.168.x.x…), ports other than 80 and 443, and addresses with a username are refused for security. Only public pages are accepted.
Does the PDF keep clickable links?
Yes, the links on the page stay clickable in the PDF.
Can I convert a page behind a password?
No. The server's browser doesn't have your session. Use Print, Save as PDF in your own browser.
Is the URL I enter stored?
No. The address is used only to produce the PDF. Neither the address nor the file is saved.

How we calculate

Share this page