Skip to content

textonym/PDF-Redactor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

markdown

⬛ PDF Redactor

A fully client-side PDF redaction tool — no uploads, no server, no data leaves your browser.

🔗 Live Demo

image

Features

  • 📄 Open any PDF — drag & drop or click to upload
  • ✏️ Draw redaction boxes — click and drag to mark sensitive areas with black rectangles
  • 📑 Multi-page support — redactions are tracked independently per page
  • 🔍 Zoom controls — zoom in for precision on small text
  • 🗂️ Redaction list — sidebar tracks all boxes; remove any with one click or right-click
  • 💾 Export — downloads a real redacted PDF with black fills permanently burned in using pdf-lib

Usage

  1. Open the app and upload a PDF
  2. Switch to Redact mode (default)
  3. Click and drag on the document to draw black redaction boxes
  4. Navigate pages and add more redactions as needed
  5. Click Export Redacted PDF to download the final file

Privacy

All processing happens entirely in your browser. No data is sent to any server.

Tech Stack

  • PDF.js — PDF rendering
  • pdf-lib — PDF modification & export
  • Vanilla HTML/CSS/JS — no build step, no dependencies to install

Running Locally

No build step needed — just open the file:

git clone https://github.com/yourusername/pdf-redactor.git
cd pdf-redactor
open index.html   # or double-click the file

License

MIT

About

A PDF editor with bounding box redaction as a React artifact using PDF.js for rendering and pdf-lib for saving.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages