Replace, Mask, Redact, Hash, Encrypt, or Custom. Each method serves different compliance requirements and use cases. Try any method free on anonym.legal.
What it does: Substitute PII with realistic fake values using a pattern-based or dictionary lookup.
Example:
"John Smith" → "Max Mueller"
"(555) 123-4567" → "(718) 945-8273"
When to use: Testing environments, analytics, data sharing with external partners who need realistic but fictional data.
Data utility: High — data structure and relationships preserved.
Compliance fit: GDPR Art. 89 HIPAA
Fully reversible if mapping table is retained. Meets quasi-identifiers under GDPR anonymization Safe Harbor.
What it does: Partially obscure sensitive values by replacing characters with placeholders (* or •).
Example:
"DE12 3456 7890 1234" → "DE** **** **** 1234"
"john@example.com" → "j*@e******.com"
When to use: Customer service displays, support ticket systems, call center interactions where staff needs context but not full data.
Data utility: Medium — format and last digits preserved.
Compliance fit: PCI DSS FINRA HIPAA
Reversible if original mapping retained. Often sufficient for PCI DSS scope reduction (Credit Card masked display).
What it does: Complete removal or replacement with a fixed placeholder like [REDACTED], [REMOVED], or ████.
Example:
"SSN: 123-45-6789" → "SSN: [REDACTED]"
"Patient: Jane Doe" → "Patient: [REDACTED]"
When to use: FOIA responses, court document production, regulatory submissions, e-Discovery where full PII removal is required.
Data utility: Low — context only, exact value unknown.
Compliance fit: FOIA e-Discovery Legal Hold
Not reversible. Strongest de-identification under GDPR and HIPAA. Required for FOIA 200K+ annual backlog processing.
What it does: Apply one-way cryptographic hash functions. Same input always produces same output (deterministic).
Example:
"john@example.com" → "a1b2c3d4e5f6g7h8..."
"123-45-6789" → "9z8y7x6w5v4u3t2s..."
When to use: De-duplicated analytics, fraud detection, cohort analysis where you need to match same person across datasets without re-identification.
Data utility: Very High — preserves one-to-one mapping for aggregation and matching.
Compliance fit: HIPAA Safe Harbor GDPR Recital 26
Irreversible cryptographically. Deterministic hashing satisfies HIPAA "Safe Harbor" de-identification standard when salt is kept secret. Ideal for building anonymized lookup tables.
What it does: Reversible encryption using AES-256-GCM for data, RSA-4096 for key exchange. Only authorized parties can decrypt.
Example:
"John Smith, DOB: 1990-01-15" → (encrypted blob, ~200 bytes)
Decryptable only with matching private key.
When to use: Long-term archival, regulatory retention, multi-party sharing with selective decryption rights. Supports delayed release of PII to authorized auditors.
Data utility: Maximum — decrypted data identical to original.
Compliance fit: GDPR Art. 32 HIPAA Technical Safeguards
Fully reversible. Multi-party key sharing supported. Meets encryption-at-rest + encryption-in-transit requirements. Compatible with HSM (Hardware Security Module) key management.
What it does: Define your own anonymization logic: regex patterns, format-preserving encryption, lookup tables, conditional rules.
Example:
Custom rule: "Keep first letter + length, replace middle" for names
FPE: "Preserve credit card format while scrambling digits"
When to use: Domain-specific requirements, legacy system integration, proprietary redaction standards, industry-specific presets.
Data utility: Tunable — depends on custom logic.
Compliance fit: GDPR Art. 89 Custom Policies
108+ presets included (PCI, HIPAA Safe Harbor, FOIA, GDPR, LGPD, PIPL). Build once, apply across all 7 platforms. Shareable across teams.
| Method | Reversible? | Data Utility | Primary Use Case | Compliance |
|---|---|---|---|---|
| Replace | ✓ Yes | High | Testing, Analytics | GDPR Art. 89 |
| Mask | ✓ Yes | Medium | Customer Support, Call Center | PCI DSS, HIPAA |
| Redact | ✗ No | Low | FOIA, e-Discovery, Legal | FOIA, Legal Hold |
| Hash | ✗ No* | Very High | Analytics, De-duplication | HIPAA Safe Harbor |
| Encrypt | ✓ Yes | Maximum | Long-term Archive, Multi-party Sharing | GDPR Art. 32, HIPAA |
| Custom | Tunable | Tunable | Domain-specific Rules | Customizable |
* Hash is cryptographically irreversible, but deterministic (same input = same output)
Watch how anonym.legal detects and anonymizes PII in real time
Also from anonym.legal