EasyRedact is a Word add-in that allows you to quickly and accurately redact sensitive information from documents. It is designed to handle emails, phone numbers, social security numbers, and other patterns you may need. Minimal bugs exist, and the code is easy to extend and maintain with more time.
- Detects and redacts:
- Email addresses
- Phone numbers (various formats)
- Social Security Numbers (SSNs)
- Other numeric patterns (optional)
- Adds a CONFIDENTIAL banner automatically at the top of the document.
- Compatible with Microsoft Word on the web (Office 365) and desktop.
- Minimal bugs, easy to extend for additional patterns.
- Node.js and npm installed
- Microsoft Word (Office 365)
- Modern web browser for Word web add-in testing
- Clone the repository:
git clone <your-repo-url>
cd <your-repo-folder>/DocumentRedactor- Install dependencies:
npm install- Start the local server (default port 3000):
npm start- Sideload the add-in in Word:
- Open Word (web or desktop)
- Go to Insert > My Add-ins > Manage My Add-ins > Add a custom add-in > Add from file
- Select the provided
manifest.xml
- Run EasyRedact:
- Once loaded, click the Run button in the task pane.
- The add-in will scan your document and redact detected information.
- Works best on Word documents with text content.
- Overlapping patterns may occur in complex numeric sequences — easily fixable with minor regex adjustments.
- The code is structured for maintainability and extension for additional redaction patterns.
npm start– Start the local development server on port 3000.npm run build– Build production-ready code (if needed).
Alec Overman – Developer