How to save a webpage as PDF exactly as it looks on web browser (no need for selectable text)
Sophia Terry
I want to save a webpage as pdf file. A lot of tools for this task change the look/format of the webpage. I'm looking for printing the webpage to PDF as is (as on web browser) without any manipulation on style or alignment, or loss of any webpage's static components. A similar question is this
However, that question has an added criteria that the text must remain selectable. I don't need that. The pdf pages can be simply screenshots of the webpage. Currently, I do this manually. I take screenshot of the entire page, then divide it into several smaller images using Paint and save each image. Finally, I convert the images into one pdf file. This is tedious for very large webpages. So, I am basically looking for a tool to automate this.
This is a webpage I want to save exactly as it looks in the browser.
53 Answers
There are Firefox addons (and possibly Chrome addons) that take full webpage screenshots and can save them to PDF.
For example:
You can probably find more by googling something like: chrome/firefox screenshot plugin/addon PDF
1Have you tried a virtual PDF printer like pdforge
If there is an issue with it, dozens of other companies make similar products.
2Firefox 97.0.2 (at least in macOS) if you right-click the web page there is a screenshot function in which you can select either "Save full page" or "Save visible".
This creates a PNG file with "screenshot", the current date and time, and the title from the page (not the URL). While I would have preferred a PDF with selectable text and links in it, this is the most faithful method I have just found.
Warning regarding some other solutions, a browser extension required access to passwords of web sites!!! I didn't install it!
Just saving as full page was fine for some websites, but not for something like an OpenSea listing of your own NFTs. Also, I really wanted to find an alternative that did not run scripts after launching the page. Right-clicking and select Quicklook (in Finder on macOS) actually renders those pages fine, that otherwise replaces the saved content when you open it in a modern browser. Opening such a page with another browser that won't run the javascripts was also fine, but my search today had me really not wanting any scripts to run, yet the currently displayed information to be saved.