Free

Free coded apps to suit all. No sign up, no email, usable offline, updates when I can, feedback welcome. Send feedback

How-to

Saving a web page or HTML file as a PDF

PDF by Zaweba prints an HTML file or a web page to A4 with the WebView2 component already in Windows 10 and 11, so there is nothing more to install.

Saving a web page or HTML file as a PDF

Web pages change and disappear. A recipe you liked, an article you want to read later, a page of terms you agreed to, a receipt shown in a browser. Saving them as PDFs keeps a fixed copy that opens anywhere. HTML files on disk, such as reports exported by other programs or saved emails, benefit in the same way.

In PDF by Zaweba you use File > New > From an HTML file or From a web page. The app prints the page to A4 using WebView2, the web component that Windows 10 and 11 already have. You do not need to install anything else.

Two routes, one result

From an HTML file is for pages already on your PC. Many programs export reports as HTML, and some save web pages or emails as HTML too. Point the app at the file and you get an A4 PDF.

From a web page is for pages on the internet. Give the app the address and it prints the page to A4. This is the only route in this part of the app that reaches outside your PC, because it has to fetch the page. Everything else, from editing to saving, still happens locally.

Why WebView2 matters

Web pages are complicated. Layout, fonts, styles and pictures all have to be drawn the way a modern browser would draw them. WebView2 is the same kind of engine that modern browsers use, and it is part of Windows 10 and 11, so the app can draw pages properly without carrying a browser of its own. The result looks like the page you would see on screen, laid out for A4 paper.

Getting a good PDF

Pages designed for screens are not always designed for paper. Wide layouts may be squeezed, and some sites hide menus or adverts when printed while others do not. It is worth looking over the result before sending it on.

If you only need part of the page, use Crop pages afterwards, or delete the pages that hold menus and footers in the Organise pages grid. If you need a different paper size, Change page size will scale or centre the content.

For pages that ask you to sign in, or that load their content slowly, saving the page as an HTML file from your browser and using the file route can give a more reliable result, because the content is already there.

What to do with it next

A saved web page is a normal PDF. Highlight the parts that matter, add sticky notes, combine several pages into one research pack with a bookmark each, or export the text if you want to quote it elsewhere.

For a set of HTML files, such as a folder of exported reports, the Convert many files to PDFs option makes one PDF each into a folder you choose.

Things to keep in mind

Respect what you save. Keeping a copy of a page for your own reference is one thing; sharing someone else's content is another, and depends on the page's terms.

Be aware that pages differ. A simple article usually comes out cleanly, while a page built around interactive features may not look the same on paper, because a PDF is a fixed picture of the page at one moment.

And check the date. A saved page shows what the site said when you saved it. If that matters, such as with terms or prices, note the date in a sticky note or the file name.

For quick, dependable copies of web content, this route turns a page into a PDF in a few seconds using what Windows already provides.