Prompt privacy

Redacting an AI prompt is not the same as anonymising it

Work through a fictional support note to remove unnecessary identifiers while preserving enough context for a useful prompt.

By Prompt Redaction Desk editorial · Published

Original worked examples are hypothetical, not measured product results. Sources checked 2026-11-09.

Start with what the task actually needs

Replacing a name with PERSON_1 can make a prompt less revealing, but it does not prove that nobody can identify the person. A job title, a small location and an unusual incident may still point to one individual. Redaction is a preparation step, not a permission slip to share the remaining text.

Suppose you want help rewriting a support response. The model needs the customer’s problem, the relevant policy and the tone you want. It may not need the customer’s name, home address, account identifier or full conversation history. Removing entire unnecessary passages is often clearer than masking dozens of details one by one.

Prompt Redaction Desk helps review candidates and manual selections locally in the browser. It cannot decide whether you are allowed to share a document with a particular AI service or whether the result is anonymous. Make those decisions using your organisation’s approved process.

A fictional note with more than one identifying clue

Consider this invented note: “Mara Vale, the only night-shift supervisor at our island depot, emailed mara.vale@example.com about a badge failure after the 03:17 ferry cancellation. Account C-1842. Please draft a polite reply explaining the replacement process.” None of these details represents a real person or event.

Replacing the name and email alone leaves the unique role, location, time and incident. Someone familiar with the depot might still recognise the person. A candidate detector can catch a familiar email shape without understanding that the rest of the sentence is distinctive.

For the rewriting task, a smaller version could be: “A customer reported that an access badge stopped working after a delayed journey. Draft a polite reply explaining the replacement process below. Do not promise a completion time that the policy does not provide.” Supply only the relevant policy excerpt. This is an editorial reduction, not an anonymisation certification.

Preserve the relationship the answer depends on

Not every detail should be removed mechanically. If two people have different responsibilities, replacing both names with the same placeholder could produce an incorrect reply. If a date determines eligibility, deleting it without an alternative may make the question impossible to answer.

Use role labels when the role is all the task needs: CUSTOMER and SUPPORT_AGENT, for example. When distinct identities matter, keep distinct neutral placeholders. If elapsed time matters more than the exact date, state the elapsed time when doing so accurately preserves the relevant rule.

Do not generalise evidence in a way that changes its meaning. “Several days” is not a safe substitute for “one day” when a policy has a two-day deadline. When the sensitive fact is essential and you lack an approved destination, stop and use an authorised internal process instead.

Review in two passes

First review direct identifiers and credentials: names, email addresses, account references, addresses and secret values. Add literal terms for known names or internal labels, and use manual selections for important spans that a detector missed. The desk detects selected patterns, not every kind of personal information.

Then read the reviewed document as a whole. Look for combinations, distinctive events, small teams and unnecessary narrative. A passage can remain revealing even after every detected candidate has a decision. Zero pending candidates means review actions are complete, not that the document is safe.

The desk reuses placeholders for repeated exact values of the same kind. That is useful for following a conversation, but it does not resolve nicknames, spelling variants or two different strings that identify the same person. Check those relationships yourself.

Understand what placeholders do and do not establish

Anonymisation and pseudonymisation are not interchangeable labels. KU Leuven’s research-data guidance distinguishes coded data from information that is no longer identifiable, and warns about combinations of attributes and small populations. That distinction is a useful caution here; it is not a legal assessment of your prompt.

Keep any identity mapping separate from the prompt and do not send it along as an explanatory appendix. Also inspect filenames, quoted message headers and attached context. A carefully reviewed paragraph can be undermined by an original document attached beside it.

Technical references: KU Leuven: anonymisation and pseudonymisation

Before copying the reviewed text

Read the exact version you intend to send, including unmatched text and any candidates you chose to keep. Ask whether every remaining detail helps the stated task, whether the recipient is approved, and whether the answer can be checked without restoring unnecessary identifiers.

Copying places text on the system clipboard. Clearing the desk cannot retract previous copies or messages already sent elsewhere. If the task only needs a fictional example, use one from the beginning. A minimal synthetic prompt is often easier to review than a transformed record about a real person.

Sources and scope

Provider rules and supported features can change. These sources support the technical background; the worked examples and decision checklists are authored for this article.

Read next

All articles →
Privacy