Neon Harbor Labs Redact LocalPrivate PDF redaction

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

  1. You choose a PDF. The scan runs in your browser: text is read with MuPDF; pages that are images are read with OCR (Tesseract).
  2. 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.
  3. You review the detections and uncheck anything that is not personal data. Nothing changes until you click Redact Selected Information.
  4. 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.
  5. 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

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

ComponentVersionLicenseUsed forFull text / source
Redact Local1.0.0AGPL-3.0-or-laterthis applicationlicense
MuPDF.js (MuPDF WebAssembly build), © 2004-2026 Artifex Software, Inc.1.28.1AGPL-3.0-or-laterreading, redacting and writing PDFslicense · source
pdf.js, © Mozilla Foundation6.4.299Apache-2.0independent verification of the resultlicense · source
Tesseract.js7.0.0Apache-2.0OCR in the browserlicense · source
tesseract.js-core (WebAssembly build of Tesseract OCR with Leptonica, zlib, libtiff, giflib, libpng, libjpeg, libwebp, OpenLibm)7.0.0Apache-2.0 (Tesseract); the bundled libraries have their own permissive licenses (see below)OCR enginelicense · Tesseract OCR license · source
Tesseract English language data (“tessdata_best”, integerized)4.0.0_best_intApache-2.0OCR language modellicense · source
compromise, © Spencer Kelly14.19.0MITsuggesting personal nameslicense · source
Poppins (typeface), © 2020 The Poppins Project AuthorsLatin subset, WOFFSIL OFL 1.1page 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.