Skip to content

About

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

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Latest commit

Β 

History

48 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“„ Offline PDF Tools – Private PDF Editor

License: MIT Version Chrome Extension

Tagline: Merge, split, compress, watermark, protect, 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

πŸ”“ Unlock PDF

  • Remove password security from encrypted PDFs locally
  • Instant password entry decryption

πŸ”’ Protect PDF

  • Set custom user and owner passwords completely offline
  • Restrict printing, content copying, editing, or form-filling permissions

πŸ› οΈ Repair PDF

  • Reconstruct cross-reference tables (xref) and trailers of broken PDFs
  • Local stream byte offset recovery

✍️ Edit Metadata

  • Modify document metadata (Title, Author, Subject, Keywords) offline
  • Auto-populates existing metadata fields for quick edits

πŸ“‰ Compress PDF

  • Deflate stream size losslessly to optimize PDF files locally

πŸ’§ Watermarks & Page Numbers

  • Draw custom text watermarks (color, size, opacity, rotation angle)
  • Stamp dynamic page numbers at 6 standard alignments
  • Supports simultaneous dual overlays

↩️ Global Undo/Redo

  • Step backward or forward through page selections, rotations, and reorder steps
  • Bound to Ctrl/Cmd + Z and Ctrl/Cmd + Y shortcuts

πŸ“‹ Action Presets (Blueprints)

  • Save actions (rotations and deletions) as custom local blueprints to apply to new uploads

πŸ“Š Privacy Scoreboard

  • Track cumulative stats (total processed files, bandwidth saved in MB) in the footer scoreboard

πŸ–₯️ 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 - Main Page Light Mode - Crop Tool Light Mode - Rotate Tool Light Mode - Security Tool

πŸŒ‘ Dark Mode

Dark Mode - Home


πŸ›  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

πŸ”§ 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 βœ” Unlock password-protected PDFs βœ” Encrypt and restrict PDF permissions βœ” Repair corrupted/damaged PDF structures βœ” Edit PDF metadata tags βœ” Compress file sizes losslessly βœ” Apply text watermarks and page numbers simultaneously βœ” Undo/Redo stack with keyboard shortcuts βœ” Action preset blueprints βœ” Local privacy scoreboard βœ” Light / dark theme βœ” Full offline processing


πŸ›£οΈ Roadmap (Planned Enhancements)

  • πŸ“ Multi-file batch processing for conversion tools
  • πŸ–ŠοΈ Interactive PDF signing and form editing
  • πŸ” Offline Optical Character Recognition (OCR) text extraction
  • 🌐 Internationalization support (i18n) for more languages
  • βš™οΈ Global extension configuration settings panel

🀝 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

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages