PII masking for AI that keeps AI working

Protecto finds PII in structured and unstructured data, including Arabic and other languages, and swaps it for tokens your AI can still use. Real values stay with you.

SOC 2 Type II · ISO 27001 · HIPAA, BAA available

Trusted by regulated enterprises & agentic platforms
Inovalon
Automation Anywhere
Citrix
Bank Of Muscat Logo
Dell
Case study result

A SaaS company protects 13M+ long texts per day with Protecto

13M+

Long texts per day

90%

Below the in-house cost estimate

1 week

To deploy

Why PII holds up AI projects

An insurer builds a support assistant. An agent asks for the status of Priya Shah’s claim. Send the name to the model as is, and security won’t sign off. Replace it with “[REDACTED]”, and the assistant calls the claims system with that placeholder, finds nothing and answers “no record found”.

Nothing leaked, and the assistant is useless. Teams end up choosing between safe and useful.

Fear of leaks stalls the launch.

Names, IDs and health details can reach a model provider. Until someone can show that they don’t, security and compliance hold the project.

PII is hard to find.

It sits in tables, and also in emails, PDFs, tickets and call notes, often in more than one language. Rules written for clean columns miss it in free text.

Basic masking breaks the AI.

Placeholders mean nothing to a model, so it loses track of who is who and may hallucinate. If one reaches a tool without authorized resolution, the lookup can fail.

PII masking that keeps the context AI needs

One question, three ways to handle the name. Protecto protects the data and the assistant still finds the claim.

A support agent asks: “What’s the status of Priya Shah’s claim?”

ApproachThe model seesThe claims tool receivesWhat happens
No masking“…Priya Shah’s claim?”Priya ShahThe claim is found, and the name has reached the model provider.
Redaction or random tokens“…[REDACTED]’s claim?”[REDACTED]The lookup finds no match. The assistant says “no record found” or hallucinates an answer.
Protecto“…[PERSON_7a1]’s claim?”Priya Shah, revealed for the approved tool and loggedThe claim is found. The model only saw a token, and the agent reads the real name.

The same person gets the same token in every message and document, and a tokenized ID keeps its format. Protecto Gateway reveals real values for authorized tool calls automatically. Without the Gateway, your application handles that step.

See this on a workflow of your own.

PII detection across structured data, free text and languages

DeepSight, Protecto’s agentic data classifier, reads each value in context. It detects, disambiguates and verifies, so a name is told apart from a place with the same spelling.

  • 50+ entity types across PII, PHI and PCI, plus your custom entities
  • Seven tested languages: English, German, French, Spanish, Dutch, Arabic and Japanese. Others on request, tested on your data
  • Independent benchmark: higher F1 than AWS Comprehend and Microsoft Presidio (UT Dallas, DataXpert)
  • Arabic in production: 99% recall and 96% precision on mixed Arabic and English data at Bank Muscat

One integration point to see and control where PII goes

Deploy Protecto on-premises or in your private cloud. PII passes through Protecto before it reaches a model, a search index or a tool, and you set what each receives.

Real timeProtects model input, retrieval, logs, tool calls and agent memory as data moves.
Architecture: data from business apps, data stores, documents and AI agents passes through Protecto, which runs on-premises or in your private cloud. Protecto sends tokens to AI models, a search index and other agents, releases real values to approved tools and people by policy, and logs every decision.On-premises or your private cloudModel providersYour dataBusiness appsCRM, ERP, APIsData storesTables, warehousesDocuments and filesPDFs, tickets, emailAI agentsRequests, tool resultsProtectoOne integration point1DetectPII in fields and free text2TokenizeConsistent, format-preserving3Apply policyA rule for each recipient4LogEvery mask and every revealToken mappings and keys stay with youFlow reportWhere PII went and who received it.How each policy was enforced.Search index (RAG)TokensOther AI agentsTokensApproved toolsReal ID, loggedApproved peopleUnmask by roleTokens onlyAI modelsAny providerGoogleOpenAIAnthropicSees tokens onlyAnswers come back with tokens.Protecto restores real values only forthe people and tools your policy names.Priya S.[PERSON_7a1]CLM-88213[CLAIM_c42]CLM-88213[PERSON_7a1]Architecture: data from business apps, data stores, documents and AI agents passes through Protecto, which runs on-premises or in your private cloud. Protecto sends tokens to AI models, a search index and other agents, releases real values to approved tools and people by policy, and logs every decision.On-premisesor your private cloudBusiness appsData storesDocumentsAI agentsProtecto1DetectPII in fields and free text2TokenizeConsistent, format-preserving3Apply policyA rule for each recipient4LogEvery mask and every revealSearch indexTokensOther agentsTokensApproved toolsReal ID, loggedApproved peopleUnmask by roleFlow reportWhere PII went and who got it,how each policy was enforced.Tokens onlyModel providersAI modelsGoogleOpenAIAnthropicSees tokens only. Answers come backwith tokens, and Protecto restores real values.
Real valuesTokensAnswers coming back

On-premises · Private cloud · Air-gapped · SaaS. When Protecto runs in your environment, token mappings, keys and logs stay on your servers.

Masking is one part of the control

Once PII is masked, you still decide who gets real values back and need to show what happened.

01

A rule for each recipient

Decide which agents, models and tools receive tokens and which receive real values.

02

Tool calls that still work

Protecto Gateway reveals real values to authorized tools at the boundary, so a lookup finds the record while the model only sees tokens.

03

Real values back by role

Context-Based Access Control (CBAC) decides who sees real values. Everyone else keeps seeing tokens.

04

Reports your reviewers can read

See where sensitive data flows and report how your data policies were enforced.

“Protecto enabled us to deliver data security, privacy, and compliance for our AI features at scale across 5,000+ enterprise clients, strengthening customer trust in our AI automation solutions.”

SS
Steve Shah
SVP Product, Automation Anywhere
Security & compliance

Built for regulated data at enterprise scale.

Protecto combines data protection, audit logs, and ready-to-use policies for regulated data, whether deployed as SaaS, on-prem, in a private cloud, or air-gapped.

SOC 2 Type II

Audited controls

ISO 27001

Certified ISMS

HIPAA

BAA available

GDPR

EU data ready

DPDP

India privacy law

CCPA / CPRA

US privacy
Independently verified to outperform AWS Comprehend and Microsoft Presidio · audit logs on every scan, mask, and unmask.

Questions about PII masking for AI

What is PII masking for AI?

PII masking replaces personal data such as names, IDs and card numbers with tokens before it reaches an AI model, search index or tool. Protecto’s tokens stay consistent and keep their format, so the AI can still work with the text while real values stay under your control.

It can, when placeholders carry no meaning and the model loses track of who is who. Consistent, format-preserving tokens keep those relationships. Why simple masking hurts accuracy.

Redaction removes the value. Masking hides it behind a substitute. Tokenization is a form of masking that uses a token you can map back to the real value when policy allows. Masking and tokenization compared.

Protecto Gateway reveals real values for authorized tool calls automatically, and the model keeps seeing tokens. Without the Gateway, your application handles that step using Protecto’s APIs.

50+ entity types across PII, PHI and PCI, plus custom entities you define. India’s PAN and Aadhaar numbers are built in. Detection covers structured fields and free text such as documents, tickets and emails.

Detection is officially tested in seven languages: English, German, French, Spanish, Dutch, Arabic and Japanese. Other languages are available on request and tested on your data.

On-premises or in your private cloud, air-gapped if you need it. A SaaS option is also available. When Protecto runs in your environment, token mappings, keys and logs stay on your servers, and external models only receive tokens.

Usually, yes. Tokenization is pseudonymization, not anonymization: while a mapping exists, a token can be linked back to a person. Your counsel decides what that means for each AI path.

Protecto is API-first. Your application calls Protecto before a model, retrieval or tool call, and again before the answer goes back.

No. DLP keeps guarding email, endpoints and file transfers. Protecto covers where it falls short: AI traffic, context and unstructured data moving to models and agents.

See your own PII masked

Bring a sample document or AI workflow, with test data if you prefer. We will show you what each model and tool receives.

Download Privacy Vault Datasheet

This datasheet outlines features that safeguard your data and enable accurate, secure Gen AI applications.

By submitting you agree to Protecto’s privacy policy.

Cover of the guide Protect Sensitive Data Without Breaking AI Workflows
Technical guide

Protect sensitive data without breaking AI workflows

A practical guide to privacy controls for AI assistants, RAG, and agents. One workflow traced from request to CRM update, with what each destination may see.

By submitting you agree to Protecto’s privacy policy.

Cover of the PII/PHI identification benchmark study by UT Dallas and DataXpert
Benchmark study

PII/PHI detection, benchmarked by UT Dallas and DataXpert

A third-party study compares how accurately Protecto, Microsoft Presidio, and AWS Comprehend find personal and health data in unstructured text.

By submitting you agree to Protecto’s privacy policy.

Protecto Privacy Gateway for AI Chat is LIVE!
See how it works