To remove personal data before AI input, screen the complete material before sending it to a model: pasted text, extracted attachment text, filenames, and supporting context. Remove unnecessary details, replace needed references with consistent placeholders, and check the resulting content for indirect identification. Hold uncertain cases for review before releasing the screened version.
Define what the model needs before screening begins
Start with the intended output. A model asked to summarize a delivery complaint may need the sequence of events and the requested remedy. It may not need the complainant’s name, account reference, precise location, or signature. Write a short list of necessary information before deciding which details to retain.
Separate the source record from the model input. Keep the original in its approved system and build a reduced working copy for screening. This gives reviewers a clear comparison without making the original the default payload. Set a boundary around the material included in the request, including conversation history and retrieved passages.
If the task cannot be completed without identifying someone, pause the workflow for a decision about whether that input is appropriate. Redaction is a preparation step, not permission to use otherwise restricted information. Use AI use case discovery to clarify the task and the minimum information its output requires.
Find personal details in free text and attachments
Screen beyond fields labeled with names or contact information. People describe themselves through job history, family relationships, shift patterns, medical circumstances, travel plans, and unusual incidents. A narrative can identify a person through a combination of details even after direct identifiers disappear.
Inspect the material in the form that will reach the model. A document viewed on screen and the text extracted from that document may expose different content. Plan separate checks for the readable document, its extracted representation, and the request assembled from it.
- Free text: check greetings, signatures, quoted replies, copied tickets, handwritten transcriptions, and references to colleagues or relatives.
- Documents: inspect headers, footers, comments, tracked revisions, document properties, and embedded objects that the preparation route might include.
- Images and scans: examine badges, labels, faces, screenshots, handwriting, and text recognized during extraction.
- Spreadsheets: check additional worksheets, hidden rows, cell notes, filenames, and identifiers embedded in descriptions rather than dedicated columns.
- Request context: inspect attachment names, retrieval snippets, earlier messages, and supplementary fields added after the main text was screened.
For example, removing a name from an incident report may leave a unique job title, a precise shift, and an unusual event. Replace or generalize that combination if the task needs the incident pattern rather than the person’s identity. Assess the combined payload, not isolated sentences.
Use a staged process to remove personal data before AI input
1. Inventory and extract the permitted material
List the input types the workflow accepts and the extraction method used for each. Treat unreadable, encrypted, damaged, or unsupported files as unresolved. A successful upload does not establish that its contents were screened. Route files that cannot be inspected to a review queue instead of passing them through unchanged.
Keep extraction ahead of the release decision. If a later step adds recognized image text, expands an embedded file, or retrieves another record, screen that addition before it joins the input. Make the boundary explicit: the version approved for release must be the version actually sent.
2. Detect candidates using complementary checks
Combine recognizable patterns with context review. Pattern checks can flag structured identifiers, while contextual checks can flag references such as a named person’s health condition or a description of a specific employee. Maintain a vocabulary for local abbreviations, internal identifiers, and recurring document layouts.
Do not equate a detector’s silence with a completed privacy review. Short names can look like ordinary words, and an account reference may resemble an unrelated code. Define which categories require a reviewer and which can be handled through an approved automatic transformation.
3. Transform and inspect the screened copy
Remove details that contribute nothing to the task. Where a relationship matters, substitute a stable label such as Person A or Customer B. Where precision adds identification risk without analytical value, generalize it: an approximate period may serve better than an exact event time.
Keep substitutions consistent within the request so the model can distinguish participants. Then inspect the transformed copy for leftover identifiers, misleading grammar, and clues created by the remaining combination of facts. Rerun screening after manual edits because a reviewer may accidentally restore a sensitive detail.
Make redaction effective in the transmitted representation
Choose the transformation for the data being sent. A visible covering on a document is not enough if the transmitted text still contains the concealed words. For text input, inspect the actual text payload. For attachments, verify that the submitted copy excludes the material intended for removal across the representations the workflow accepts.
Pay attention to partial replacements. Removing a name from a signature while leaving a unique identifier in a quoted reply creates a false sense of completion. Search for variants and repeated references throughout the request, including initials, shortened names, and references inside filenames.
If placeholders need a lookup table, keep that table outside the model request with restricted access and an explicit retention purpose. A reversible substitution preserves a route back to identity. Do not describe the result as anonymous merely because readable names have been replaced.
Align access to originals, screened copies, and lookup material through AI security and access design. Screening reduces what enters the request; access controls govern who can inspect the material around that request.
Set release decisions and handle screening failures
Give the workflow three clear outcomes: release the screened copy, hold it for review, or reject it from this route. Assign an accountable owner for ambiguous cases and document the reasons that require a hold. Examples include incomplete extraction, uncertain references, remaining sensitive context, and transformations that destroy the task’s meaning.
Keep review records short. Record the source reference, screening outcome, transformation category, reviewer decision, and approved version identifier. Avoid copying the removed details into an audit note. Review queues, diagnostic traces, and failed request records need the same attention as the main input path.
If screening fails or the review service is unavailable, hold the material. Provide a clear explanation to the submitting user and a route to resubmit a reduced copy. Do not make bypassing screening the convenient way to finish an urgent request.
For help planning this work, see AI and ML services.
Test coverage and preserve enough meaning
Build a test set with synthetic examples that resemble the material users submit. Include identifiers split across lines, misspelled names, scanned pages, nested quotations, and narratives that identify a person indirectly. Add harmless terms that resemble identifiers to expose excessive removal as well as missed details.
Check both privacy and task quality. A complaint summary should still distinguish what happened, who acted in each role, and what remains unresolved. If screening removes the central fact, reconsider the use case or route the case to a person rather than silently accepting an unreliable model response.
Test the assembled request after retrieval and preprocessing, not just the individual source files. For workflows that draw on stored documents, coordinate this boundary with AI knowledge retrieval readiness. A clean initial prompt can still receive identifying content through a later retrieval step.
Repeat targeted checks when input formats, extraction methods, screening rules, or retrieval sources change. Track missed details and unnecessary removals by category without retaining the exposed values in routine reports. Use those findings to improve detection and reviewer instructions.
Questions about difficult screening decisions
Should fictional character names be removed?
Consider whether the material clearly describes fiction and whether it also contains information about real contributors. A character name may be needed for literary analysis, while an author’s private notes may need removal. Ambiguous documents belong in review rather than receiving a blanket exception.
How should translation affect screening?
Screen the original language before translation and inspect the translated result before release. Include reviewers or detection checks suited to the languages accepted by the workflow. If translation would require sending unscreened content to another model, that step needs the same input boundary.
Can a user declare that a file contains no personal details?
A declaration can help route the request, but it should not replace inspection. Users may overlook quoted material or information about someone else. Keep the screening decision tied to the contents and the intended task rather than the declaration alone.
What if several documents use conflicting placeholders?
Resolve placeholder identities before combining the screened documents. Person A in one file may be unrelated to Person A in another. Use request-specific labels and verify the relationships so the combined material does not merge different people’s actions or circumstances.