Skip
Custodis
Back to guides
Claude users handling confidential files

How to de-identify documents before using Claude

Steps for using Claude or another AI assistant with confidential documents after redacting and reviewing them on your device.

2 own documents free on iPhone (no account), Web (free account), and ChatGPT Plugin 0.6.2. Failed attempts do not count. Review every hidden field before saving or sharing.

Quick Answer

Before providing confidential text to Claude or another AI assistant, replace names and other private values on your device. Keep the replacement map on the device, review the protected text, and decide what to share.

What to do

  • Remove identifiers before sending the prompt.
  • Keep category-based replacement labels consistent so the answer remains useful.
  • Do not send the private map between replacement labels and real values to the model.
  • Read the protected text before sending.
  • Review the answer and put real values back only on your device if needed.

Before and after local tokenization

Before

Raw prompt

Summarize this contract dispute for Natalie Reed at Northline Foods, project code M-4481.

After

Protected prompt

Summarize this contract dispute for [[PERSON_8F2A]] at [[BUSINESS_19C2]], project code [[PROJECT_ID_A91D]].

De-identification should happen before the prompt

If a document contains client, patient, taxpayer, or business-confidential details, a cautious approach is to de-identify it before an AI provider receives text from it.

That means replacing names, account numbers, dates of birth, addresses, IDs, and other sensitive values on your device, reviewing the protected text, and then deciding whether to provide it to the model.

Keep the document useful

De-identification for AI should not erase all context. The model needs roles, sequence, topics, and relationships. Category-based replacement labels preserve those relationships without exposing the original value.

For example, the same witness can have the same replacement label throughout a document, so the AI can follow the story without learning the witness's name.

Use the same pattern for any AI provider

This is not specific to one product. The same approach can be used before providing reviewed protected text to Claude, ChatGPT, Gemini, Perplexity, or a local model.

Custodis shows the user the exact protected text before anything is copied or sent. If a supported answer comes back with replacement labels, Custodis can put the reviewed real values back on the user's device.

Common questions

Is de-identifying text enough for every document?

No single process fits every duty or risk. De-identification can reduce exposure, but users still need professional judgment and should not send material they are not allowed to disclose.

Can I copy protected text from Custodis into Claude?

Yes. Custodis is designed to work with AI tools the user chooses. Review the protected text first, then copy it only if it is appropriate to provide to that service. Do not copy the raw document or the private replacement map.

Custodis is a privacy app for your documents

Don't paste sensitive details into a chatbot. Tokenize with Custodis first.