- Learn
- Prompt redaction
AI prompt redaction replaces sensitive values with placeholders before a prompt is sent to a provider. Offthread does it in your browser, with pattern rules for structured values and a small on-device model for names, organizations, and places, then puts your values back into the reply. It still needs your review for unusual private facts, client context, and anything the detectors miss.
Key points #
- Pattern redaction helps with common secrets, credentials, contact details, URLs that contain credentials, and values labelled as account numbers.
- Use stable placeholders such as [CLIENT], [PERSON_1], [TOKEN], [API_URL], or [DATE] when exact values are not needed.
- Manual review is still needed for unusual facts, client context, documents, images, PDFs, and audio.
- Redaction does not avoid provider processing after you send.
What to remove first #
- Secret-like strings, keys, tokens, and credential material.
- Direct identifiers such as contact details, addresses, names, account numbers, private URLs, and hostnames.
- Client details, private project names, customer data, and confidential third-party context.
- Unique facts, long documents, images, PDFs, and audio details that a pattern-based redactor may not classify.
What AI prompt redaction usually replaces #
A useful prompt redaction pass catches structured values first: API keys, access tokens, database URLs, private keys, email addresses, phone numbers, payment-like numbers, IP addresses, and values labelled as account numbers. Ordinary internal URLs, hostnames, and customer IDs have no fixed shape, so review those by hand.
For people, projects, clients, and dates, placeholders work best when they preserve the role of the value without exposing the original. For example, use [CLIENT_A], [PERSON_1], [PROJECT], [API_URL_1], or [DATE_1] consistently throughout the prompt.
What prompt redaction can miss #
Pattern redaction is not the same as full privacy review. A prompt can still identify someone through unusual stories, rare job titles, private events, small-team context, copied documents, screenshots, images, PDFs, audio, or logs with enough surrounding detail.
After automatic redaction, reread the prompt as if the placeholders were public. If the remaining context still points to a person, client, company, or incident, summarize or remove more before sending.
Common questions #
### How does AI prompt redaction work? #
Before the prompt is sent, detected values are replaced with placeholders such as [EMAIL_1]. Offthread uses pattern rules for structured values and a small on-device model for names, organizations, and places.
### Does redaction change the AI's answer? #
It can. Placeholders keep the sentence structure, so rewriting and debugging prompts generally still work, but we have not measured the effect on answer quality, and a redacted value the task depends on will change the result. Offthread restores the original values in the reply locally, using values that never left your browser.
### Can redaction be turned off? #
Yes. Settings has Standard, Strict, Manual (holds a send for review whenever something is detected), and Off. The Offthread server still repeats the pattern rules as a backstop.
Sources and further reading #
- Offthread Privacy PolicyHow Offthread handles local history, provider processing, deletion controls, and privacy limits.