How to Save a Web Page as a PDF (HTML to PDF)

How to Save a Web Page as a PDF (HTML to PDF)

Written by

in

You find an interesting article and want to read it later offline. You buy something online and need to keep the receipt. Or you have to document what a web page looked like on a specific date. In all these cases the solution is to convert the web page to PDF.

Why Save Web Pages as PDF

  • Read offline on a plane, the subway or anywhere without coverage.
  • Keep proof of purchases, bookings and payments.
  • Archive content that may change or disappear from the internet.
  • Share a full article in a single file.
  • Annotate and highlight the text with any PDF reader.

How to Convert HTML to PDF With PDFcrea

  1. Open the HTML to PDF tool.
  2. Paste the page’s address (URL), paste its HTML code directly or upload an .html file saved on your device.
  3. Choose the screen width (desktop, tablet or mobile), the page size (A4 or Letter), the orientation and the margin.
  4. Click Convert to PDF and download the result.

Tip: some pages load content as you scroll (infinite scroll) or sit behind a login. In those cases, the browser method explained below usually works better.

How the PDFcrea Tool Works

When you enter a URL, the PDFcrea server only downloads the HTML code of that public page and hands it to your browser. From there, everything happens on your device: the page is laid out in an isolated frame without running its scripts, split into pages while trying not to cut paragraphs or images in half, and each page is drawn as an image. An invisible text layer is added on top, so you can search for words and copy passages in the PDF.

This approach has clear advantages: the result looks very close to what you see on screen and nothing needs to be installed. But it also has limits worth knowing. Since JavaScript isn’t run, content the page loads later (comments, dynamic galleries, some prices) may not appear, and certain images hosted on other sites may come out blank. For those pages, the browser printing method explained next is the best option.

Alternative: Print to PDF From Your Browser

Every modern browser can save a page as PDF:

  1. Open the page and press Ctrl+P (or Cmd+P on Mac).
  2. Under “Destination,” choose Save as PDF.
  3. Adjust margins, orientation and whether to include background graphics.
  4. Click Save.

This method is useful for private pages, like your customer area or online banking, because it uses the session you already have open.

How to Get a Cleaner PDF

ProblemFix
Ads and menus appearUse the browser’s reader mode before printing
Text is cut offSwitch to portrait and default margins
Images are missingWait for the page to load completely
Lots of blank pagesRemove them afterwards with Remove pages
The PDF is heavyShrink it with Compress PDF

Which Screen Width to Choose

The width option decides how the page “looks” before it is turned into a PDF, just as if you opened it on different devices:

  • Desktop (1280 px): shows the full layout, with sidebars and menus. It’s the best choice for pages with wide tables or for documenting exactly how a site looks.
  • Tablet (820 px): a middle ground; many sites already hide secondary elements and the text looks larger.
  • Mobile (400 px): most sites show a single-column version, which is very comfortable for reading long articles in the PDF.

If the PDF will be printed, combine the desktop width with landscape orientation; if it’s for reading on a phone, try the mobile width and portrait orientation.

Practical Uses

Research and study

Save articles and sources for your academic work. You’ll keep the exact version you consulted, even if the page changes later.

Shopping and bookings

Convert order confirmations, hotel bookings or tickets to PDF and keep them in a trip folder.

Work and documentation

Archive policies, terms or announcements published on a specific date for reference.

Example: Saving a Booking Confirmation

You’ve just booked a holiday apartment and the site shows a confirmation page with the code, the dates and the cancellation terms. Since that page lives inside your account, URL conversion can’t see it, so press Ctrl+P, choose Save as PDF and save it with a clear name such as “apartment-booking-july.pdf”. If instead you want to keep the public page with the property’s general terms, paste its URL into HTML to PDF with the mobile width to get a document that’s easy to read. Finally, if you’d like the whole trip in one file, combine tickets, bookings and insurance with Merge PDF.

Respect Copyright

Saving a page for personal use is common, but if you want to redistribute the content, check the author’s or website’s rights first.

Frequently Asked Questions

Do links still work in the PDF?

No. The tool draws each page as an image with an invisible text layer, so you can search and copy the text, but links aren’t clickable. If you need working links, use your browser’s print-to-PDF option, which usually keeps them.

Can I convert pages that require a login?

URL conversion can’t access your account. For those pages, use your browser’s print-to-PDF option.

Can I convert an HTML file saved on my computer?

Yes. Upload it directly to the tool or paste its HTML code. If the file uses images with paths on your computer, they may not appear; in that case, open it in the browser and print it as PDF.

Why does the page look different in the PDF?

Because the tool doesn’t run the page’s scripts. Elements that depend on JavaScript, such as carousels, maps or cookie banners, may be missing or appear static. On the plus side, the PDF usually comes out cleaner.

Is the page stored on your servers?

The server only downloads the HTML of public pages and keeps it cached for a few minutes to speed up repeated conversions. The PDF is created in your browser and isn’t uploaded anywhere.

Conclusion

Turning a web page into a PDF is the easiest way to keep it exactly as it is today, read it offline or share it. Use the online tool for public pages and browser printing for private ones. Try it with PDFcrea HTML to PDF.

Back to blog

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *