Open-source desktop & web app for PII detection, data masking, and document redaction. Protect personal information before sharing with AI, cloud services, or third parties.
Try Online • Screenshots • Features • Installation • Usage • Formats • Contributing
#pii-detection #data-masking #document-redaction #privacy-tool #gdpr-compliance #data-protection #sensitive-data #ocr #nlp #electron-app #web-app #open-source #offline-first
No installation required! Try maskr directly in your browser:
The web version runs 100% client-side in your browser - no data is sent to any server. It supports:
- Direct text input for quick sanitization
- File upload (TXT, MD, JSON, CSV, HTML, DOCX, XLSX, PDF)
- Image OCR (PNG, JPG, WebP)
- All 23 entity detection types (names, emails, phones, credit cards, IBANs, SSNs, passports, and more)
The Problem: Before sharing documents with ChatGPT, Claude, cloud services, or external parties, you need to ensure PII (Personally Identifiable Information) is properly masked. Manual redaction is time-consuming and error-prone.
The Solution: maskr automatically detects and masks sensitive data including names, emails, phone numbers, SSNs, credit cards, IBANs, and more. It runs 100% locally on your machine - no data ever leaves your device. Perfect for GDPR compliance, HIPAA requirements, and privacy-conscious workflows.
- AI Safety - Sanitize documents before uploading to ChatGPT, Claude, or other AI assistants
- Data Sharing - Remove PII before sharing with contractors, partners, or vendors
- Compliance - Meet GDPR, CCPA, HIPAA data protection requirements
- Development - Create anonymized test datasets from production data
- Legal - Redact sensitive information in legal documents
Drag and drop or browse to select any supported document format. The sidebar shows what types of sensitive information will be detected.
| Dark Theme | Light Theme |
|---|---|
![]() |
![]() |
See all detected sensitive information organized in a table with categories, confidence scores, replacements, and context. Filter by type and toggle items on/off.
| Dark Theme | Light Theme |
|---|---|
![]() |
![]() |
Preview the sanitized document with all sensitive data replaced by placeholders. View a summary of masked items by category, then export.
| Dark Theme | Light Theme |
|---|---|
![]() |
![]() |
- 100% Local Processing - All analysis happens on your device
- No Internet Required - Works completely offline
- No Telemetry - Zero data collection or tracking
- No Cloud Services - Your documents stay on your machine
- Direct Text Input - Paste text directly without uploading a file
- Light/Dark Theme - Toggle between themes with persistent preference
- Drag & Drop - Simply drop files to start scanning
- Person Names - NLP detection for English names + 150+ Arabic names (Mohammed, Ahmed, Fatima, etc.)
- Email Addresses - Personal and corporate emails
- Phone Numbers - US, UK, Saudi (+966), UAE, and international formats
- Social Security Numbers - US SSN format (XXX-XX-XXXX)
- Saudi National IDs - 10-digit IDs starting with 1 (citizens) or 2 (residents/Iqama)
- Credit Cards - Visa, Mastercard, Amex, Mada (Saudi debit cards) with Luhn validation
- IBANs - SA (Saudi), AE (UAE), and international bank account numbers
- IP Addresses - Both IPv4 and IPv6
- URLs & Domains - Full URLs and standalone domain names
- Financial Amounts - USD, SAR, EUR, GBP, and 20+ currency formats
- Dates of Birth - Multiple date formats with context detection
- MAC Addresses - Network hardware identifiers
- API Keys & Tokens - AWS, Stripe, GitHub, and generic API keys
- License Plates - US, UK, Saudi, and EU formats
- GPS Coordinates - Latitude/longitude pairs
- VIN Numbers - Vehicle identification numbers
- Custom Names - Add your own names to detect (100% confidence)
- Custom Keywords - Define project-specific terms
- OCR Support - Extract and scan text from images using Tesseract.js
- Logo Detection - Detect and remove company logos from DOCX files using perceptual hashing
- Confidence Scores - Each detection includes a confidence rating
- Entity Consistency - Same entity always maps to the same placeholder
- Configuration Profiles - Save and switch between detection settings
| Format | Parse | Export | OCR | Logo Detection |
|---|---|---|---|---|
| TXT | Yes | Yes | - | - |
| MD | Yes | Yes | - | - |
| JSON | Yes | Yes | - | - |
| CSV | Yes | Yes | - | - |
| HTML | Yes | Yes | - | - |
| DOCX | Yes | Yes | - | Yes |
| XLSX | Yes | Yes | - | - |
| Yes | Yes | - | - | |
| PNG | Yes | - | Yes | - |
| JPG | Yes | - | Yes | - |
| WebP | Yes | - | Yes | - |
Download the latest release for your platform from the Releases page.
- Download
maskr-1.3.15-arm64-mac.zip(Apple Silicon) ormaskr-1.3.15-mac.zip(Intel) - Extract the zip file
- Important: Remove the quarantine flag before first run:
For example, if extracted to Downloads:
xattr -cr /path/to/maskr.app
xattr -cr ~/Downloads/maskr.app - Drag to Applications folder (optional)
Why is this needed? macOS quarantines apps downloaded from the internet. Since maskr is not yet notarized with Apple, you need to manually remove this flag.
maskr-1.3.15-setup.exe- Standard installermaskr-1.3.15-portable.exe- Portable version (no installation required)
.AppImage- Universal format, make executable withchmod +xand run.deb- For Debian/Ubuntu:sudo dpkg -i maskr_1.3.15_amd64.deb
- Node.js 24+ (LTS recommended)
- npm (comes with Node.js)
# Clone the repository
git clone https://github.com/iYassr/maskr.git
cd maskr
# Install dependencies
npm install
# Start development server
npm run dev# Build and package the application
npm run buildThe packaged application will be available in the release directory.
The build process automatically creates installers for your current platform:
- macOS:
.dmgfile - Windows:
.exeinstaller - Linux:
.AppImageand.debpackages
- Upload - Drag and drop a document or click to browse
- Review - See detected sensitive information with confidence scores
- Customize - Toggle individual detections on/off
- Export - Save the sanitized document
Click the sliders icon to add:
- Custom Names - Employee names, client names, etc.
- Custom Keywords - Project names, confidential terms
These will be detected with 100% confidence.
- Click the gear icon
- Upload your company logo (PNG, JPG, WebP)
- Adjust similarity threshold (default: 85%)
- Enable detection
| Shortcut | Action |
|---|---|
Cmd/Ctrl + O |
Open file |
Cmd/Ctrl + S |
Export sanitized document |
Cmd/Ctrl + 1 |
Original view |
Cmd/Ctrl + 2 |
Sanitized view |
Cmd/Ctrl + 3 |
Side-by-side view |
| Category | Color | Examples |
|---|---|---|
| PII | Red | Names, emails, phones, SSNs, Saudi IDs |
| Company | Blue | Organization names, logos |
| Financial | Green | Credit cards, IBANs, amounts |
| Technical | Purple | IP addresses, URLs, domains |
| Custom | Yellow | User-defined keywords |
maskr includes preset profiles:
- Default - Balanced detection for common PII
- Strict - Maximum detection, lower confidence threshold
- Minimal - Only emails and phone numbers
Create custom profiles via the Profiles menu.
| Technology | Purpose |
|---|---|
| Electron 39 | Cross-platform desktop |
| React 19 | UI framework |
| TypeScript 5 | Type safety |
| Vite 7 | Build tool |
| Tailwind CSS 4 | Styling |
| Zustand | State management |
| compromise | NLP for name detection |
| Tesseract.js | OCR engine |
| Sharp | Image processing |
| mammoth | DOCX parsing |
| ExcelJS | XLSX handling |
| pdf-lib | PDF handling |
If you see "maskr.app is damaged and can't be opened", run:
xattr -cr /path/to/maskr.appThis removes the quarantine flag that macOS adds to downloaded apps.
# Using nvm
nvm install 24
nvm use 24- Ensure Sharp is installed:
npm install sharp - Logo detection only works with DOCX files
- Try lowering the similarity threshold
- Use clear, high-resolution images
- Supported: PNG, JPG, JPEG, GIF, BMP, WebP, TIFF
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
# Run in development mode
npm run dev
# Type checking
npm run typecheck
# Linting
npm run lint
# Run tests
npm testThis project is licensed under the MIT License - see the LICENSE file for details.
- Tesseract.js for OCR capabilities
- Radix UI for accessible components
- Tailwind CSS for styling
- PII detection tool free download
- Mask sensitive data in PDF DOCX XLSX
- Document redaction software open source
- Remove personal information from documents
- GDPR compliance document sanitizer
- HIPAA compliant data masking
- Offline data masking tool
- Credit card number masker Mada Visa Mastercard
- SSN redaction software
- Email address anonymizer
- Phone number masking tool
- Saudi National ID detector (رقم الهوية)
- Iqama number masking (رقم الإقامة)
- Saudi IBAN masking tool (SA IBAN)
- Arabic name detection (أسماء عربية)
- Mada card number detector
- NLP name entity recognition
- OCR text extraction privacy
- Electron React TypeScript desktop app
- Data anonymization tool
- Personal data protection software
- Document sanitization before AI upload
maskr - Protect sensitive data before sharing documents
PII Detection • Data Masking • Document Redaction • Privacy Protection • GDPR Compliance • Offline Processing






