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.
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": "..."}.
Want an AI agent (Claude Code, claude.ai, or anything else that supports the Agent Skills format) to use this tool for you on request? Download the skill below and add it:
~/.claude/skills/prompt-sanitizer/SKILL.md