Interactive PII Removal Explorer
See PII removal in action! Use the interactive explorer below to step through 6 stages of data transformation. Watch as credit cards, emails, IP addresses, and other PII are progressively removed or anonymized.
How to Use This Explorer
- Navigate using arrow keys (← →) or click the numbered stage buttons
- Compare the Input (left) and Output (right) JSON at each stage
- Observe how fields are removed (red strikethrough) or transformed (green highlight)
- Inspect the YAML code showing exactly what processor was added
- Learn from the stage description explaining the technique and compliance benefit
Interactive Pipeline Explorer
Step 1: Original Input
Raw purchase event containing all PII fields: credit card, email, IP address, user name, and precise location coordinates. This is the baseline we will transform in the following stages.
Use ← → arrow keys to navigate
📥Input
{
"event_id": "evt_20240115_1030",
"timestamp": "2024-01-15T10:30:00Z",
"event_type": "purchase",
"user_name": "Sarah Johnson",
"ip_address": "192.168.1.100",
"payment_method": {
"type": "credit_card",
"full_number": "4532-1234-5678-9010",
"expiry": "12/25",
"last_four": "9010"
},
"location": {
"latitude": 37.7749,
"longitude": -122.4194,
"city": "San Francisco",
"country": "USA"
},
"purchase_amount": 49.99,
"currency": "USD"
}
📤Output
{
"event_id": "evt_20240115_1030",
"timestamp": "2024-01-15T10:30:00Z",
"event_type": "purchase",
"user_name": "Sarah Johnson",
"ip_address": "192.168.1.100",
"payment_method": {
"type": "credit_card",
"full_number": "4532-1234-5678-9010",
"expiry": "12/25",
"last_four": "9010"
},
"location": {
"latitude": 37.7749,
"longitude": -122.4194,
"city": "San Francisco",
"country": "USA"
},
"purchase_amount": 49.99,
"currency": "USD"
}
Added/Changed
Removed
Completed Step
Current Step
Not Done Yet
📄New Pipeline Stepinput.json
# No processing yet - this is the raw input
# Contains PII that violates:
# - PCI-DSS (credit card: full_number, expiry)
# - GDPR (email, IP, precise location)
# - CCPA (personal identifiers: user_name)Try It Yourself
Ready to build this pipeline? Follow the step-by-step tutorial:
Deep Dive into Each Step
Want to understand each transformation in depth?
- Step 1: Delete Payment Data - Learn about field deletion
- Step 2: Hash IP Address - Master hashing techniques
- Step 3: Hash Email - Extract valuable metadata
- Step 4: Pseudonymize User - Create consistent identifiers
- Step 5: Generalize Location - Reduce precision safely
Next: Set up your environment to build this pipeline yourself