HTML to PDF: convert a web page to PDF


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
🔒 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
- Paste the full address of the page (with or without https://).
- Pick the paper size, orientation and style: screen (the page as you see it) or print (the printer-friendly version, often without menus).
- 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:
| Rule | Detail |
|---|---|
| Protocols | http and https only (no file:, ftp:…) |
| Ports | 80 and 443 only |
| Addresses | Private and local addresses are refused (localhost, 127.x, 10.x, 192.168.x, 169.254.x) along with local IPv6 addresses |
| Redirects | Every redirect is checked the same way |
| Limits | 25 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.
- First, copy the full address of the page from your browser bar.
- Next, paste it into the field, with or without https.
- Then pick Letter or A4, and portrait or landscape.
- After that, choose the screen or print style.
- 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 type | Suggested style | Reason |
|---|---|---|
| Blog post | Fewer menus and banners | |
| Recipe | Ingredients and steps stand out | |
| Terms of service | Screen | Faithful record of what showed |
| Product page | Screen | Photos and layout stay |
| Results table | Screen, landscape | Wider 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
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.
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.
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.