How PrivacyScrubber Removes PII from AI Prompts
The AI data privacy tool that lets you redact PII and anonymize data in ChatGPT, Claude, and Gemini prompts — with zero trust architecture, zero bytes sent to servers, and zero data residue. See the 4-step local pipeline across all product planes.
Intercepting Data at the Local Browser Boundary
When employees paste raw client emails, medical records, or source code into cloud LLMs, the data is logged into remote model providers. PrivacyScrubber acts as an air-gapped cryptographic proxy executing inside the user's browser, replacing PII with secure tokens before network transmission.
Traditional cloud DLPs add 800–1,500ms roundtrip delays. PrivacyScrubber's client-side regex and NER engine runs in local browser memory at 8.4 MB/s, eliminating API bottleneck delays completely.
Because 0 bytes of confidential data are transmitted to PrivacyScrubber servers, no third-party data processor relationship is created, eliminating procurement bottlenecks for Data Processing Agreements (DPAs) and Business Associate Agreements (BAAs).
Session token maps exist strictly in browser tab memory. Closing the tab or reloading permanently overwrites memory buffers (Uint8Array.fill(0)), leaving zero forensic trails for breaches.
The 4 Zero-Trust Planes: Real Capabilities & Workflows
PrivacyScrubber operates across four distinct technical planes, delivering unified data sanitization whether you are working in a web browser, inside an AI chat, writing code in an IDE, or managing enterprise fleet governance.
Zero-Trust Web Workspace
A standalone, zero-installation browser workspace running entirely in local memory. Input and output containers operate within a closed Shadow DOM (#inputTextHost), preventing malicious extensions or third-party scripts from key-sniffing raw text.
.xlsx/.csv while preserving mathematical formulas, column headers, and sheet schema for ChatGPT Advanced Data Analysis.Uint8Array.fill(0) upon sanitization completion.Browser AI Shield & In-Page Injectors
A lightweight Google Manifest V3 extension that embeds native protection controls directly inside ChatGPT, Claude, and Gemini interfaces without requiring copy-pasting to separate tabs.
.ps-floating-shield) for instant in-place sanitization and inspection.Local MCP Prompt Security Gateway
An official Model Context Protocol server (@privacyscrubber/mcp-server) running locally over stdio JSON-RPC. It connects natively to Cursor IDE, Windsurf, Cline, and Claude Desktop.
Cryptographic Fleet & Attestation
Enterprise governance tools that synchronize security baselines across departments without a central database, delivering signed compliance receipts for SOC 2, HIPAA, and GDPR auditors.
The 4-Step Zero-Trust Pipeline
How sensitive data moves from input to AI and back without ever leaving your computer.
1. Source Input
Data enters via direct text paste, document upload (.docx, .pdf, .xlsx, .csv), browser text selection popover, or typing natively inside ChatGPT/Claude via our Chrome Extension.
Supports: Text, DOCX, PDF, XLSX, MCP2. In-Memory Scrub
The local Javascript client detects PII, financial metrics, and credentials offline. Sensitive entities are securely swapped with cryptographic tokens like
[NAME_1]or[PATIENT_1].Speed: ~13ms · 0 Server Requests3. Safe AI Dispatch
You submit the sanitized prompt (containing only safe tokens) to ChatGPT, Claude, Gemini, or local models. Neural networks analyze the problem without logging real corporate PII.
Result: Zero PII in Remote Model Logs4. Local Reveal
The AI's generated response is pasted into Reveal Originals. PrivacyScrubber re-hydrates tokens with original data locally using the ephemeral session map stored in browser RAM.
1-Click Symmetric Recovery in RAM
Two Distinct Modes for Two Distinct Workflows
PrivacyScrubber separates generative AI prompt sanitization from legal document redaction. Select the exact output format your task requires.
AI Tokens Mode
LLMs, Prompts & Teams Replaces sensitive entities with structured, context-preserving surrogate badges like [NAME_1], [EMAIL_1], and [PHONE_1].
- Context Preserved: AI models understand syntactic roles and actor relationships without knowing real identities.
- 1-Click Symmetric Restore: Paste AI output back into Reveal to re-hydrate real data in browser RAM.
- Team Handoff Ready: Encrypt session maps with Argon2id + XChaCha20 for colleague collaboration.
Classic Blackout Mode
Legal, Court & FOIAApplies solid black rasterized bars directly over sensitive pixel coordinates, obliterating underlying text layers, vector fonts, and hidden document metadata.
- Zero Underlying Text: Destroys vector characters to prevent copy-paste leaks via
Cmd+Aorpdftotext. - Court & FOIA Compliant: Satisfies Federal Rules of Civil Procedure 5.2 and HIPAA Safe Harbor redaction guidelines.
- Metadata Stripped: Purges author names, modification timestamps, and revision tags from PDF headers.
Interactive Execution Simulator
Three professionals. Three tiers. One zero-trust engine. Test how each plan protects real workflows.
Sarah — Marketing Manager
40-person SaaS startup · Uses ChatGPT daily for client emails and campaign copy
Need to sanitize complex spreadsheets (.xlsx), PDFs, or custom corporate codes?
Batch document parsing, offline OCR, spreadsheet table masking, and unlimited custom regex rules are unlocked under PRO.
Marcus — Compliance Analyst
Mid-size financial services firm · Reviews NDAs, vendor spreadsheets, and deals
Need to enforce organization-wide policies across 10+ employees?
Encrypted session handoff (Argon2id + XChaCha20-Poly1305), MDM Blueprint locking, and CISO SHA-256 PDF audit receipts are included in TEAMS.
Diana — VP of Information Security
500-person fintech · Board mandate: "Zero raw PII in any external AI tool"
Require full air-gapped on-premise source code deployment?
Enterprise Source License provides complete on-premise execution behind internal VPNs for defense and banking sectors.
Ready to Remove PII from Your AI Prompts?
Start protecting confidential data in ChatGPT, Claude, and Gemini. Free tier available — no sign-up required.
Frequently Asked Questions
Comprehensive technical answers on how PrivacyScrubber sanitizes data across all 4 planes.
Does PrivacyScrubber send my prompt or file data to any server?
What happens to the session map when I close or reload the browser tab?
What is the difference between AI Tokens mode and Blackout mode?
[NAME_1], [EMAIL_1]). This allows AI models (ChatGPT, Claude, Gemini) to comprehend entity roles and logical flow while preventing personal data ingestion, and enables 1-click original recovery via Reveal. Blackout mode is designed for court filings, legal discovery, and FOIA disclosures: it renders permanent, solid black raster bars over pixel coordinates and completely purges the underlying vector text layer to ensure zero copy-paste leakage. Why do standard PDF blackout tools leak data, and how does PrivacyScrubber prevent it?
Cmd+A → Copy, or extract it with command-line tools like pdftotext. PrivacyScrubber executes true Secure Raster Flattening: each page is rendered onto an off-screen graphics canvas in local RAM, PII coordinates are overwritten at the pixel level (either with solid blackout bars or contextual AI Tokens), and a brand-new PDF is synthesized from clean raster bitmaps. The original text layer is physically destroyed and cannot be recovered. Do I need a HIPAA BAA or GDPR DPA with PrivacyScrubber?
What is the CISO Procurement Memo and how do enterprise teams use it?
What is the difference between the Free and PRO tiers?
How does the Excel Spreadsheet Scrub work without corrupting table formulas?
How does the Chrome Extension In-Page Selection Popover work?
.ps-floating-shield). Clicking it immediately tokenizes the selected text in-place and opens a clean popover showing all identified entity chips with 1-click false-positive unmasking. Can I use PrivacyScrubber as a PII MCP Server for Cursor or Claude Desktop?
@privacyscrubber/mcp-server that integrates directly with Cursor IDE, Windsurf, Cline, and Claude Desktop. It acts as an offline pre-flight prompt security gateway, intercepting API keys, connection strings, and PII locally in RAM before they leave your workstation. How does TEAMS encrypted session handoff work without a server database?
What rights does a Team Administrator have compared to Managed Team Members in TEAMS?
[PATIENT_ID]), and default compliance profiles in the Teams Dashboard. When the Admin exports a cryptographically signed Blueprint with Lock Rules enabled, Managed Team Members receive a locked, read-only configuration across their Web App and Chrome Extension (badged as 🔒 Enterprise), preventing employees from altering or bypassing corporate DLP policies. How does closed Shadow DOM sandboxing protect my data from malicious scripts?
How does PrivacyScrubber prevent data residue in system RAM (V8 memory wiping)?
Uint8Array.fill(0) in local memory immediately after use, ensuring zero sensitive residue remains in RAM before garbage collection. What is the difference between Token Labels and Custom Regex Rules?
NAME → PATIENT or ID → CASE_NUMBER) so that the LLM receives domain-accurate semantic context in its prompt without custom regex code. Can corporate accounts pay via manual invoice or wire transfer (SWIFT/SEPA)?
How does license key custody, non-transferability, and emergency revocation work without user tracking?
What are the exact operational boundaries between Personal PRO, Team Workspace, and Developer SDK licenses?
- PRO ($15/mo or $110 Lifetime): Single-user personal license valid on up to 3 personal devices (Web, Chrome, IDE MCP). Strictly non-transferable.
- TEAMS ($99/mo flat): Organization-wide internal workspace covering unlimited internal staff with Master Key Isolation. Staff access the tool via encrypted Magic Links or managed Chrome policies without exposing master credentials.
- DEVELOPER SDK ($299/mo): Headless execution across unlimited internal backend nodes, microservices, ETL pipelines, and internal RAG vector databases. Embedding into customer-facing commercial SaaS for third-party resale requires an OEM/Enterprise contract.
Is the PrivacyScrubber MCP Server completely air-gapped and zero-network?
@privacyscrubber/mcp-server package executes strictly in local machine memory over standard stdio JSON-RPC transport. It makes zero outbound network requests, transmits zero telemetry, and performs all PII sanitization and token mapping exclusively in your local volatile RAM, satisfying stringent IDE security policies across Cursor, Windsurf, and Claude Desktop. 