You want a web page as a PDF — to archive a receipt, file a confirmation page, save an article to read offline, or attach a page to an email. There are two routes, and they suit different situations. One is built into your browser; the other gives you control over page size, margins, and layout. This guide covers both, and when each is the right call.
Route 1 — Your browser's Print to PDF (the quick way)
Every modern browser can save the page you're looking at straight to PDF:
- Open the page.
- Press Ctrl+P (Windows/Linux) or Cmd+P (Mac) to open Print.
- In the Destination dropdown, choose Save as PDF.
- Adjust paper size and margins if you want, then Save.
This is the fastest option and it works on any page you can load, including ones that need a login or build themselves with JavaScript — because you're capturing what's already rendered on screen.
Where it falls short: long pages get sliced across page breaks in awkward places, fixed headers and sticky banners can repeat or overlap, and you get whatever the site's print stylesheet decides — sometimes a stripped-down version, sometimes ads and navigation you didn't want.
Route 2 — Convert the page's HTML (more control)
When you need a cleaner result — exact page size, your own margins, backgrounds preserved — convert the page's HTML source instead with HTML to PDF. The catch worth being upfront about: this takes the page's HTML, not a live web address, so there's one extra step to grab the markup:
- On the page, right-click and choose View Page Source (or press
Ctrl+U / Cmd+Option+U), then select all and copy — or use
Save As → Webpage to download the
.htmlfile. - Open HTML to PDF, then either paste the HTML code or upload the saved file.
- Set Page size, Orientation, Margins, and turn Background graphics on so shaded areas and colours survive.
- Click Convert to PDF and download.
This gives you a predictable, print-clean PDF — useful for invoices, receipts, and templated pages where the layout matters.
Which one should you use?
- Just need a quick copy of what's on screen (a confirmation page, an article, a page behind a login) → browser Print to PDF. It captures the rendered page as-is.
- Need control over the output — a specific page size, your own margins, backgrounds kept, a template that has to look exact → convert the HTML with HTML to PDF.
Common questions
Why does the converter need the HTML instead of just the URL?
It renders HTML and CSS into a fixed page. A live URL might sit behind a login, change every time it loads, or build itself with scripts — feeding the actual HTML source removes that uncertainty and gives a repeatable result. For a page you simply want a snapshot of, the browser's Print to PDF is the more direct route.
My saved PDF is missing images or backgrounds.
Two causes. In browser Print, enable Background graphics in the print dialog's "More settings." In the HTML converter, turn Background graphics On, and make sure any images linked by URL are publicly reachable — images on a private/local server won't load.
The page got cut off across page breaks.
That's the nature of paginating a long, flowing page. Converting the HTML with a chosen page size and margins usually breaks more cleanly than the browser default. For a very long page, Landscape or a larger page size (A3) can help wide content fit.
Can I save several pages into one PDF?
Save or convert each page to its own PDF, then combine them with Merge PDF.
How do I make the saved page searchable / selectable?
Both routes keep the page's real text, so the PDF is already selectable. If you instead saved a screenshot of the page (an image), run it through OCR PDF to add a text layer.
Wrap-up
Two routes, by need:
- Quick snapshot of what's on screen → browser Print to PDF (Ctrl/Cmd+P → Save as PDF).
- Clean, controlled output → grab the page's HTML and convert it with HTML to PDF, with Background graphics on.
For combining several saved pages into one file, finish with Merge PDF.
