AI Log and Prompt Redactor

Remove emails, bearer tokens, API keys, JWTs, and cookies from prompts or logs before sharing them.

Also useful for: ai prompt redactor ai log redactor prompt secret scanner llm prompt sanitizer AI Log / Prompt Redactor

AI Log / Prompt Redactor

Runs in your browser. Inputs are not uploaded.
Input
Results
Summary: 3 sensitive-looking items redacted.

Stats
- Redactions: 3

Issues
- Warning: 1 email redacted.
- Warning: 1 bearer token redacted.
- Warning: 1 API key redacted.

Output
Authorization: Bearer [REDACTED_TOKEN]
Contact [REDACTED_EMAIL] with key [REDACTED_SECRET] before sharing.

AI Log / Prompt Redactor Example Run

Sanitize a support prompt before sharing it with another AI tool.

Sample inputs
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.secret.payload
Contact ada@example.com with key sk-live-1234567890abcdef before sharing.

Generated result
Summary: 3 sensitive-looking items redacted.

Stats
- Redactions: 3

Issues
- Warning: 1 email redacted.
- Warning: 1 bearer token redacted.
- Warning: 1 API key redacted.

Output
Authorization: Bearer [REDACTED_TOKEN]
Contact [REDACTED_EMAIL] with key [REDACTED_SECRET] before sharing.

What the AI Log / Prompt Redactor Checks

  • Bearer tokens and JWTs

    Common authorization token shapes are replaced before output is copied.

  • API keys

    OpenAI-style and other high-entropy key-looking strings are flagged and redacted.

  • Email addresses

    Personal email addresses are removed from logs and prompt snippets.

  • Cookies and passwords

    Cookie and password-like values are treated as sensitive even when labels vary.

  • Plain text preservation

    Only matching sensitive spans are replaced; surrounding debugging context is left in place.

AI Log / Prompt Redactor Questions

  • Q: Does the AI log and prompt redactor upload my logs or prompts? A: No. Inputs are processed in your browser, and pasted content is not sent to analytics or a server.
  • Q: What should I paste into the AI log and prompt redactor? A: Paste text that may contain API keys, emails, bearer tokens, cookies, or other sensitive fragments.
  • Q: What can I copy or download? A: You can copy or download the redacted text.
  • Q: What does the AI log and prompt redactor not verify? A: It does not classify every form of PII, guarantee perfect redaction, or decide whether the remaining context is safe for a third party.

Use AI Log / Prompt Redactor with an LLM

Copy the prompt or pass the llms.txt contract link to your assistant.

Prompt
Use the CleanUtils AI Log / Prompt Redactor tool for this request.
Tool contract: https://cleanutils.com/developer-tools/ai-log-prompt-redactor/llms.txt

Read the llms.txt contract, ask me for any missing required input, then follow the contract exactly. If the contract includes JavaScript, run `runCleanUtilsTool(userInput)` in a sandboxed JavaScript runtime and return the result with any warnings or errors.