LocalRedact.
Edge AI document redaction. Detects and redacts PII from PDFs entirely in-browser. Names, SSNs, addresses, dates using Qwen3-4B via WebGPU. Tesseract.js OCR fallback for scanned documents with auto-rotation. No uploads, no servers.
Visit LocalRedactInside the engineeringArchitecture, workflow, and implementation notesExplore +
Sensitive documents. Local intelligence.
Privacy at the point of computation
- Document
- Detect
- Review
- Redact & export
Detection in two passes
Pattern matching finds structured identifiers first. Local model inference adds contextual detections, and the review interface lets the user accept or reject each result.
Redaction beyond the overlay
The PDF export renders pages to images with redactions applied, then checks the output bytes for the selected PII strings. This is implemented separately from the visual review layer.
A useful fallback
Regex detection remains available without WebGPU. Scanned documents can use Tesseract.js OCR, including auto-rotation, before the same review workflow.








View GitHub Profile 





