Illustration of a prompt with an email and API key being replaced by redaction placeholders

Prompt Sanitizer

Paste a prompt and get back a version with emails, IP addresses, API keys, private key blocks, JWTs, credit card numbers, phone numbers, and password/token assignments replaced by placeholders (<EMAIL>, <API_KEY>, <IP_ADDRESS>, ...) — safe to paste into an AI chat. Heuristic, not a guarantee: review the result before sending. Runs entirely in your browser. Want a report instead of a rewrite? See the PII / Secret Scanner.


💻 Show API usage examples (cURL)
curl -sS -X POST https://devops.majbase.com/prompt-sanitizer/api -H "Content-Type: application/json" -d '{"text":"Contact john@example.com, key sk-live-abc123"}'

Returns {"sanitized_text": "...", "matches": [...], "counts": {...}, "total_matches": N}, or {"error": "..."}.