PDFit is a Chrome extension to convert a website to PDF, splitting it into individual A4 pages.
What you see is what you get!
If you have ever tried printing a webpage or converting it to a multipage PDF, you've probably encountered this issue: More often than not what you end up printing looks quite different to the actual website.
This extension is for when your browser's built-in print function fails you.
How can it be that in a world of self-driving cars and quantum computers, you still can't properly print websites? That is why, together with my good friend Alexandra, I decided to tackle this very problem and develop a simple Chrome extension that enables the printing of webpages as is.
To convert the current tab to PDF, just click on the extension in your address bar and a print dialogue will open in a pop-up window. You can now either print the website or save it as a pdf.
- Clone the repo
- Open Chrome
- Go to
chrome://extensions
- Enable Developer mode in the top right corner
- Load unpacked extension
- Select the directory that was created when cloning this repo
Default Chrome print dialogue | PDFit print dialogue | |
---|---|---|
apple.com | ![]() |
![]() |
github.com | ![]() |
![]() |
store.google.com | ![]() |
![]() |
- Dynamically slice the screenshots to completely fill the A4 pages
- Create a logo/icon
- Automatically open the print dialogue in new window
- Close window once printed
- Only capture the middle portion of the screen. That way the navbar will be captured only once.
- Delete duplicated section at the bottom of the document
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Logo icon made by Freepik from www.flaticon.com