markdown
A fully client-side PDF redaction tool — no uploads, no server, no data leaves your browser.
- 📄 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
- Open the app and upload a PDF
- Switch to Redact mode (default)
- Click and drag on the document to draw black redaction boxes
- Navigate pages and add more redactions as needed
- Click Export Redacted PDF to download the final file
All processing happens entirely in your browser. No data is sent to any server.
- PDF.js — PDF rendering
- pdf-lib — PDF modification & export
- Vanilla HTML/CSS/JS — no build step, no dependencies to install
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 fileMIT