LLM Cost Optimizer

Live Anonymization Demo

Test PII detection and see how anonymization protects data before LLM processing

All processing happens in your browser. No data sent to servers.

⚠️

Demo Limitations

  • This demo uses simplified regex patterns - the actual product has more sophisticated detection
  • Client-side JavaScript implementation - the product runs locally with full Python regex
  • May not catch all PII variants - review output for your specific use case
  • Limited to 1000 characters for demo purposes

1. Input Text

0 / 1000 characters

2. Anonymized Output

Anonymized text will appear here...

Detected PII:

No PII detected yet

How the Full Product Works

🔍 Detection

Regex patterns identify emails, phones, IPs, and numeric sequences. Configurable patterns for custom PII types.

🔄 Replacement

Each PII instance replaced with unique token (e.g., [EMAIL_1]). Mapping saved for later restoration.

💻 Local Processing

All anonymization runs on your machine. 169 lines of Python code. No external services or cloud dependencies.

⚠️ Important Notes

  • This is a simplified demo. The actual product has more sophisticated pattern matching.
  • Regex-based detection may not catch all PII variations. Always review output for your use case.
  • This demo processes data client-side. The product runs locally on your machine with full Python regex.
  • For compliance (GDPR, HIPAA, etc.), consult with legal counsel in addition to using anonymization.