Privatiser
Secure data. Anywhere.
Local processing only

Anonymize before
you share with AI

Strip API keys, secrets, IPs, and PII from any text before it reaches an AI tool. Structure preserved. Nothing sent to any server.

Try it now Install extension
pip install privatiser
Zero telemetry Instant redaction Fully reversible GitHub
config.env — before / after
1 DATABASE_URL="postgres://admin:s3cr3t@db.internal:5432/prod"
2 OPENAI_KEY="sk-proj-xK92mNpQr..."
3 SERVER_IP="10.0.4.221"
4 ADMIN_EMAIL="james@company.com"
1 DATABASE_URL=[DB_URL_001]
2 OPENAI_KEY=[API_KEY_001]
3 SERVER_IP=[IP_ADDR_001]
4 ADMIN_EMAIL=[EMAIL_001]
4 values redacted 100% local
30+
Pattern types
30+
AI sites supported
3
Ways to install
0
Bytes sent to server

Live tool

Try it

Input

                    
Output

                    
Settings
Comma-separated. Always redacted, regardless of pattern.
Comma-separated. These values will never be redacted.
Extended detection for crypto, Kubernetes, Terraform, comms, and location data. Get Pro
Save and reuse your settings as named presets. Get Pro
Write regex patterns to redact anything the built-in rules miss. Get Pro
Mapping table (0 items)
PseudonymOriginal
Anonymized text
Restored output
Mapping JSON

How it works

01

Paste your text

Paste a config file, log output, code snippet, or .env file into the input panel.

02

Anonymize

Sensitive values are replaced with consistent pseudonyms. A mapping is stored locally so everything is reversible.

03

Share with AI

Paste the clean output into any AI tool. Structure is preserved — the AI can still help you.

04

Restore

Paste the AI response into the Deanonymize tab with your mapping. Real values are restored instantly.

What it catches

Secrets

API keys (AWS, OpenAI, GitHub, Slack), JWTs, bearer tokens, PEM keys, connection strings, hex secrets, SSH keys

Network

IPv4 addresses with CIDR, domain names, email addresses, MAC addresses, internal URLs with ports

PII

Phone numbers (8 countries), credit cards (Luhn-validated), SSNs, passports, IBANs, names, dates of birth

Cloud

AWS account IDs, ARNs, S3 buckets, Azure subscription IDs, GCP project IDs, cloud resource identifiers

Multi-language

Detects secrets written in 13 languages including French, Spanish, German, Russian, Chinese, Japanese, and Arabic

Real-world IDs

NHS numbers, bank sort codes, SWIFT/IBAN, driving licences, tax references (UTR, NINO, EIN), vehicle plates, VINs

Reversible

Every redaction has a mapping. Paste the AI response back and restore all original values with one click.

100% Local

No servers, no telemetry, no data collection. Runs entirely in your browser or editor.

The engine is open source

The core anonymisation engine is open source. Inspect the patterns, contribute detections, or self-host.

Install

Browser Extension

Auto-anonymizes when you paste into AI chat sites. Auto-restores when you copy the response. Works on 30+ AI tools.

VS Code Extension

Anonymize and deanonymize directly in your editor. Select text, right-click, or use the keyboard shortcut.

Free for individuals.
Built for teams.

The core tool is free, forever. Pro and Enterprise plans add pattern packs, custom regex, and compliance support.

Free
$0
All patterns, all platforms. No account needed.
Enterprise
Custom
Team licence, custom config, MDM deployment.
See full pricing

Privatiser uses pattern-based detection and may not catch every sensitive value, especially those in unusual formats or custom syntax. Always review the output before sharing. Learn more