Scrub sensitive names and secrets from text
Remove personal names, client details, passwords, and API keys from raw logs or text while keeping technical context intact.
You getSanitized Text and redaction Summary
Prompt
Act as a data privacy specialist. Redact all sensitive identifiers, secrets, and client details from the text provided below.
- Replace person names with generic functional labels like CLIENT_USER_A or TECH_LEAD_B.
- Replace secrets, API tokens, passwords, and private keys with REDACTED_SECRET.
- Replace client company names, internal project code names, and private domains with generic equivalents.
- Preserve error codes, timestamps, structural syntax, and technical logic so the context remains debuggable.
Output format:
1. Sanitized Text (clean copy ready to paste)
2. Redaction Summary (bulleted list of categories removed and generic labels applied)
Text to sanitize:Example output
Paste your log file, email thread, or ticket directly after the prompt in ChatGPT, Claude, or Gemini. As a follow-up, ask the model to highlight any ambiguous strings it wasn't certain should be redacted.
Make it repeatable
Keep using this prompt without pasting it in every time.
Prompt details
- By
- Prompts-GPT editors
- Published
Did this prompt work?
Keep exploring
More like this
Evaluate task safety and privacy for AI drafting
Assess whether a specific task or text draft is safe to process with an AI model based on privacy, accuracy, and professional stakes.
Audit text for indirect personal identifiers
Scan drafted text for subtle quasi-identifiers, niche titles, and contextual details that could de-anonymize individuals.
Compress bloated instructions while preserving accuracy
Trim wordy system prompts down to their essential constraints. Use this to reduce token consumption, lower API latency, and eliminate confusing prompt contradictions.
Turn messy raw data into balanced few-shot pairs
Transforms unstructured real-world operational logs or drafts into standardized input-output demonstration pairs. Use it to prepare reliable few-shot prompts.
Answer questions while highlighting unknown facts
Get accurate answers based strictly on your source text while preventing guesswork. Use it for contract review, technical specs, or detailed notes.
Translate technical text into everyday language
Strip academic or technical jargon out of confusing explanations and replace it with clear, concrete language anyone can grasp.