Skip to content

Kartikpatkar/offline-pdf-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📄 Offline PDF Tools – Private PDF Editor

License: MIT Version Chrome Extension

Tagline: Merge, split, and edit PDFs — 100% offline, private, and fast.


✨ Overview

Offline PDF Tools is a modern, privacy-first Chrome Extension (Manifest V3) that opens as a full-page app and lets you modify PDFs entirely within your browser.

All PDF operations are performed locally in memory — 📌 no uploads, no servers, no tracking.

Built for users who need reliable PDF tools without trusting online services, this extension focuses on privacy, performance, and simplicity.


🚀 Key Features

📑 Merge PDFs

  • Combine multiple PDF files into a single document
  • Drag-and-drop file upload
  • Reorder input files before merging
  • Automatic filename generation

✂️ Split PDF (Page Ranges)

  • Split PDFs using flexible range syntax:

    1-3,5,7-10
    
  • Validate ranges against total page count

  • Export only the pages you need

📋 Extract Pages

  • Select individual pages using thumbnail grid
  • Create a new PDF from selected pages
  • Visual selection indicators and page numbers

🔀 Reorder Pages

  • Drag-and-drop page thumbnails
  • Reorder pages intuitively
  • Export reordered PDF instantly

🗑️ Delete Pages

  • Remove unwanted pages from a document
  • Prevents deleting all pages (safe guard)
  • Works seamlessly with preview grid

🔄 Rotate Pages

  • Rotate pages by 90°, 180°, or 270°
  • Per-page rotation controls
  • Visual rotation preview before export

🖥️ UI Philosophy

Offline PDF Tools is designed with:

  • Privacy-first UX
  • Full-page workspace (not a popup)
  • Clear visual feedback
  • Minimal distractions
  • Fast, responsive interactions
  • Keyboard-friendly navigation
  • No forced login or account setup

📸 Screenshots

🔷 Light Mode

Light Mode - Home Light Mode - Page Tools

🌑 Dark Mode

Dark Mode - Home Dark Mode - Page Tools


🛠 Built With

  • HTML5, CSS3, Vanilla JavaScript
  • pdf-lib – PDF manipulation engine
  • PDF.js – Page thumbnails & previews
  • Chrome Extensions API (Manifest V3)
  • Modular, service-based architecture
  • CSP-compliant & review-safe design

📦 Installation

🌐 Install from Chrome Web Store (Recommended)

📥 Get it on Chrome Web Store

  1. Click the link above or visit the Chrome Web Store
  2. Click "Add to Chrome"
  3. Confirm the installation
  4. Navigate to any Salesforce org and click the extension icon

🔧 Load Offline PDF Tools Manually (Developer Mode)

  1. Clone or Download this Repository

    git clone https://github.com/Kartikpatkar/offline-pdf-tools.git
  2. Open Chrome Extensions Page

    chrome://extensions/
    
  3. Enable Developer Mode

    • Toggle Developer mode (top-right)
  4. Click “Load unpacked”

    • Select the project root folder (contains manifest.json)
  5. Done 🎉

    • Launch the extension from Chrome’s extensions menu

✅ Works completely offline ✅ No internet connection required ✅ No external services or uploads


🧪 Current Capabilities

✔ Merge PDFs ✔ Split PDFs using page ranges ✔ Extract selected pages ✔ Reorder pages visually ✔ Delete unwanted pages ✔ Rotate pages ✔ Light / dark theme ✔ Full offline processing


🛣️ Roadmap (Planned Enhancements)

  • 📉 PDF compression & optimization
  • 💧 Watermark support
  • 🔢 Page numbering
  • 🔐 Password protection
  • 📁 Batch processing
  • ⌨️ Keyboard shortcuts
  • ↩️ Undo / Redo support
  • ⚙️ Settings panel
  • 🧪 Automated tests & build tooling

🤝 Contributing

Contributions, bug reports, and feature suggestions are welcome!

  • Fork the repository
  • Create a feature branch
  • Submit a pull request

Please keep changes modular, offline-safe, and aligned with privacy-first principles.


🧠 Author

Built by Kartik Patkar 🔗 GitHub • LinkedIn • Developer & Salesforce Consultant


📜 License

This project is licensed under the MIT License — free to use, modify, and distribute.


Offline PDF Tools — powerful PDF editing without compromising your privacy.


About

A 100% offline, privacy-first Chrome extension for merging, splitting, rotating, and managing PDF pages in the browser.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors