About Redact Local
A free, private PDF redaction tool that automatically finds names, addresses, phone numbers and other sensitive information—even in scanned documents.
How it works
- You choose a PDF. The scan runs in your browser: text is read with MuPDF; pages that are images are read with OCR (Tesseract).
- Patterns and context rules find SSNs, card and bank numbers, phone numbers, emails, dates of birth, addresses and ID numbers. A small language-analysis library (compromise) suggests personal names. Everything it finds is highlighted and pre-selected, and uncertain matches are marked possible.
- You review the detections and uncheck anything that is not personal data. Nothing changes until you click Redact Selected Information.
- The selected content is removed from the PDF itself (text is deleted from the page content and image pixels under each box are blanked), then comments, form fields, attachments, bookmarks, links, scripts and metadata are stripped. A second program (pdf.js) re-opens the result and checks it.
- You download the new file. Your original is never modified.
Privacy
Your PDF is processed on your device. The page makes no requests to other websites: all code, WebAssembly files and the OCR language data are served from this site, and the page’s security policy forbids connections to anywhere else. There are no cookies, no analytics and no accounts, and your document is never stored or sent. Closing the tab discards everything.
What to expect, and what is not guaranteed
- Detection can miss information. Names and addresses are the hardest; unusual names, non-English text, handwriting and faint or skewed scans are often missed. Some detections will not be personal data.
- Inspect the result. Open the downloaded file and check every page before sharing it.
- “Verified” means the items you selected were removed and hidden data was stripped. It does not mean every sensitive item in the original was found.
- Names marked partial? may be only part of a person’s name.
- Small images (under about 2% of a page, such as logos or stamps) are not read by OCR.
- Not supported: password-protected PDFs, PDFs with optional-content layers, XFA forms. These are rejected with a message instead of being processed.
- Limits: 50 MB and 100 pages per PDF; pages that need OCR: 20 pages and 25 MB per PDF (about 10 seconds per page). Exported scans can be several times larger than the original.
- OCR needs a current browser with WebAssembly SIMD (recent Chrome, Edge, Firefox or Safari). If it is missing you are told, and scanned pages are not read.
- This is free software provided without warranty. It has not been independently security-audited.
Source code
Redact Local is free software under the GNU Affero General Public License, version 3 or (at your option) any later version. The complete corresponding source of this site, including the build and test scripts, is at github.com/Neon-Harbor-Labs/redact-local. You may copy, modify and run it under the same license; if you run a modified version for others over a network you must offer them your modified source.
The MuPDF engine is shipped as the unmodified WebAssembly build from the MuPDF.js 1.28.1 npm package (vendor/mupdf/). Its complete corresponding source is MuPDF release 1.28.1: the official source archive, or git tag 1.28.1 at cgit.ghostscript.com/mupdf.git (mirror: github.com/ArtifexSoftware/mupdf). The WebAssembly build scripts are in platform/wasm of that source (BUILDING.md, tools/build.sh, Emscripten 4.0.8).
The MuPDF WebAssembly build also contains these third-party libraries under their own licenses (texts in mupdf-third-party-licenses.txt): FreeType, HarfBuzz, jbig2dec, Little CMS, OpenJPEG, libjpeg, gumbo-parser, cmark-gfm and zlib. Portions of this software are copyright © 2026 The FreeType Project (www.freetype.org). All rights reserved. (FreeType 2.14.3.)
A copy of the MuPDF 1.28.1 source archive is also attached to the v1.0.0 release of this project (mupdf-1.28.1-source.tar.gz, SHA-256 dc94c60b2537e2ac9a2d379dd3801545f84a3a302d15c9da358362a1270707c3).
Third-party components and licenses
| Component | Version | License | Used for | Full text / source |
|---|---|---|---|---|
| Redact Local | 1.0.0 | AGPL-3.0-or-later | this application | license |
| MuPDF.js (MuPDF WebAssembly build), © 2004-2026 Artifex Software, Inc. | 1.28.1 | AGPL-3.0-or-later | reading, redacting and writing PDFs | license · source |
| pdf.js, © Mozilla Foundation | 6.4.299 | Apache-2.0 | independent verification of the result | license · source |
| Tesseract.js | 7.0.0 | Apache-2.0 | OCR in the browser | license · source |
| tesseract.js-core (WebAssembly build of Tesseract OCR with Leptonica, zlib, libtiff, giflib, libpng, libjpeg, libwebp, OpenLibm) | 7.0.0 | Apache-2.0 (Tesseract); the bundled libraries have their own permissive licenses (see below) | OCR engine | license · Tesseract OCR license · source |
| Tesseract English language data (“tessdata_best”, integerized) | 4.0.0_best_int | Apache-2.0 | OCR language model | license · source |
| compromise, © Spencer Kelly | 14.19.0 | MIT | suggesting personal names | license · source |
| Poppins (typeface), © 2020 The Poppins Project Authors | Latin subset, WOFF | SIL OFL 1.1 | page typography (self-hosted) | license · source |
The Neon Harbor Labs logo in the header (img/) is a brand asset of Neon Harbor Labs. It is shown to identify the publisher; whether and how it is covered by the AGPL grant is an open point listed in the repository’s docs/LEGAL-NOTES.md.
The OCR engine also contains Leptonica, zlib, libtiff, giflib, libpng, libjpeg, libwebp and OpenLibm; their license texts are in tesseract-core-bundled-libraries.txt. This software is based in part on the work of the Independent JPEG Group.
Notices bundled inside Tesseract.js (worker, loader) cover the MIT/BSD-3-Clause code it includes (buffer, ieee754, regenerator-runtime, zlib.js). See NOTICES.txt for the full attribution text.
Not legally reviewed. The license information on this page was compiled in good faith from the upstream projects’ own materials. It has not been audited or reviewed by a lawyer. See docs/LEGAL-NOTES.md for what was checked and what is uncertain.
Warranty: this software is provided “as is”, without warranty of any kind. Redaction is a safety-critical task: always check the output yourself.