# Convert a web page or HTML file to PDF

Source: https://www.mergevanta.com/html-to-pdf
Updated: 2026-10-22

> Convert HTML to PDF online free: save any public web page or .html file as a PDF with no watermark. A4, Letter or one long page, with cookie banners hidden.

Paste a web address or upload an .html file and get a PDF back — free, with no watermark and no sign-up. Choose A4, Letter or one long page, the screen width to lay it out at, and hide cookie banners. Nothing is stored.

## How do I save a web page as a PDF without a watermark?

Paste the page's address into Mergevanta's HTML to PDF tool, or upload an .html file, pick the page size and screen width, and press Convert to PDF. The page opens in an isolated browser on the server and comes back as a PDF with selectable text, no watermark and nothing stored.

## Key facts

- **Price:** Free
- **Watermark:** None
- **Sign-up:** Not required
- **Accepts:** Web page URL or .html (up to 2 MB)
- **You get:** A .pdf (A4, Letter or one long page)
- **Processing:** On our server: the page is opened in an isolated browser and printed to PDF; nothing is stored
- **Files stored:** Never
- **Works on:** Windows, macOS, Linux, iPhone, iPad and Android

## Why use Mergevanta

- **Rendered by a real browser:** Pages are opened in headless Chromium, so modern CSS, web fonts, images and scripts look the way they do on screen. Text stays selectable and links stay clickable.
- **One long page, if you like:** Save the whole page as a single tall PDF page with no page breaks, or fit it onto A4 or Letter pages in portrait or landscape.
- **Cleaner captures:** Hide cookie banners and choose the desktop, tablet or mobile layout. A short wait helps pages that animate in.
- **Isolated and never stored:** Each page opens in a throwaway browser that can only reach public websites. The PDF is sent straight back and nothing is kept.

## How to use it

1. Choose Web page URL and paste the address, or choose Upload an HTML file and pick your .html file.
2. Set the Page size (A4, Letter or One long page), the Orientation and the Margins.
3. Pick a Screen width — Desktop, Tablet or Mobile — and leave Print backgrounds and Hide cookie banners on if you want them.
4. Press Convert to PDF and wait a few seconds while the page opens and renders.
5. Check the preview of page 1, then press Download.

## Frequently asked questions

### Is the web page or my HTML file stored anywhere?

No. The page is opened in a fresh, isolated browser on Mergevanta's server, printed to PDF and sent straight back to you. The browser is thrown away after each conversion, and no copy of the page, the file or the PDF is kept.

### Why can't some pages be converted?

Pages behind a login or paywall can't be reached, some sites block automated browsers, and addresses on private or local networks (such as localhost or 192.168.x.x) are refused for security. Only public web pages work.

### What does One long page do?

It makes a single PDF page as wide as the chosen screen and as tall as the web page, with no page breaks. PDF pages can be at most 200 inches tall, so a longer page is split into a few tall pages.

### Is there a size limit?

HTML files can be up to 2 MB, and the finished PDF can be up to about 4 MB. If a page with many large images comes out bigger, try the Mobile screen width or turn off Print backgrounds, then shrink it further with [Compress PDF](https://www.mergevanta.com/compress-pdf).

### Can an uploaded HTML file use images from my computer?

Only if they're inside the file. Pictures and stylesheets saved next to the .html file can't be read, so embed them or link them with full https:// addresses. Scripts in the file run while it renders, but can only reach public websites.

### Does HTML to PDF work on a phone?

Yes. The conversion runs on the server, so it works in any modern browser on iPhone, iPad, Android and desktop, with nothing to install.

## Related tools

- [Compress PDF](https://www.mergevanta.com/compress-pdf)
- [Merge PDF](https://www.mergevanta.com/merge-pdf)
- [Word to PDF](https://www.mergevanta.com/word-to-pdf)
