Use AI. Protect data. Analyze company data in a GDPR-compliant way — without personal data ever leaving your organization.
Personal data is automatically replaced with placeholders before AI analysis. The AI never sees real values.
The AI response is automatically enriched with the original data. You get a readable, complete analysis.
Use Ollama for maximum data privacy (fully local) or Claude API for best quality — you decide.
Pure Python 3.10+ — no external dependencies. Runs instantly, anywhere, without setup overhead.
Detects emails, IPs, phone numbers, IBANs, addresses, domains, file paths, MAC addresses and more.
Preview mode shows you exactly what gets anonymized — before anything is sent to an AI.
Pipe log files, emails, or any text via stdin, or load a file with -f.
datenschild detects personal data via regex and replaces it with placeholders like EMAIL_1, IP_1.
The anonymized text is sent to Ollama (local) or Claude (API). The AI only sees placeholders, never real values.
The AI response is automatically merged with the original data. You get the complete result.
datenschild automatically detects and anonymizes:
EMAIL_n Email addressesIP_n IPv4 addressesIPV6_n IPv6 addressesTELEFON_n Phone numbersIBAN_n IBAN numbersADRESSE_n ZIP + cityDOMAIN_n Domain namesPFAD_n File pathsMAC_n MAC addressesDATUM_n Dates