This is a simple Chrome extension that allows users to convert web pages to PDF files. It supports converting the visible page or the full page and lets users customize settings like font size and layout.
- Convert the current web page to a PDF.
- Option to choose between visible content or the full page.
- Exclude unnecessary elements (like navbar, footer, ads) using CSS selectors.
- Customize settings via an options page.
- Store PDFs for later download.
- Click the extension icon.
- Choose options (visible page or full page conversion).
- The content is cleaned (removing unwanted elements like navbars and footers).
- The cleaned content is sent to the backend API for PDF conversion.
- The generated PDF is returned and stored in
chrome.storage
. - The user can download the PDF file when ready.
- Frontend: JavaScript (Chrome Extension APIs)
- Backend: Node.js, Express.js (hosted on Vercel)
- Storage:
chrome.storage
- PDF API: External online PDF conversion API
- Clone this repository:
git clone https://github.com/PratikNayak-DEV/PDFIFY-CHROME-EXTENSION.git
- Open Chrome and go to
chrome://extensions/
. - Enable Developer Mode.
- Click Load Unpacked and select the extension folder.
- The extension is now ready to use!
- Improve PDF layout customization.
- Support for offline PDF generation.
- Enhance CSS selector customization for better content filtering.
This extension is built for learning purposes. Free-tier hosting (Vercel) might have limitations if too many users start using it. If traffic increases, switching to a dedicated backend server may be required.
Feel free to open issues or contribute if you have ideas for improvements!
🚀 Built with passion & curiosity!