How to Use AI With Confidential Documents
Steps for protecting sensitive values on your device before using reviewed text with ChatGPT, Claude, or another AI.
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
Redact on your device, review the protected text, choose what to send, and restore the answer locally. Detection can miss values, so the review step is required.

What to do
- Review the proposed on-device redactions and confirm that sensitive values you intend to hide appear as tokens.
- Clear the 'Needs review' flag: check anything Custodis could not confidently read and mark or confirm it.
- Open the hidden-fields review, keep sensitive values hidden or show only fields you have decided are appropriate for the task, then tap 'Looks ready.'
- Complete the stage labeled 'Safe to send' and read its banner, while remembering that this app status is not a guarantee that detection found every value.
- Open 'What AI Will See' and read the full protected text, including any value you chose to show.
- Inspect the browser's Network request for the built-in AI flow.
- Confirm that the built-in request contains the protected text and request details rather than the original file or restoration map.
- Restore the real values locally, and review the AI's output yourself before relying on it.
Step by step
- 1
Drop in the confidential file
Open Custodis in your browser and use 'Drop a document to redact' to add a PDF, Word file or text file. Save a scan as a PDF first. Processing runs locally in the browser - the file is not uploaded to a server to be read.
- 2
Review the proposed redactions on your device
Custodis reads the document and proposes tokens for the private values it detects. The review summary reports the detected items and a confidence reading. Treat this as a first pass and check the full document yourself.
- 3
Clear anything flagged for review
Check the 'Needs review' count and the visible review flag on anything Custodis could not confidently read (for example, 'OCR field value needs review'). Open the review drawer and mark or confirm each spot before moving on.
- 4
Review the hidden fields and approve
In 'Review hidden fields' you see values Custodis detected. Keep each sensitive value hidden, or show a field only after deciding it is appropriate for this task. Use 'What AI Will See' to read the full protected text and mark anything detection missed, then tap 'Looks ready.'
- 5
Complete the final review
Open Ask AI. The stage bar reads Review > Safe to send > Ask AI > Return. Resolve each card with 'Hide from AI' or 'Allow - AI can see this.' The green banner reads 'Safe to send - the AI sees tokens only,' but this status reflects your completed review decisions and is not a guarantee that detection found every sensitive value.
- 6
Review the protected text and choose your AI
Open 'What AI Will See' and read the full protected text. Then choose the built-in Custodis chat or 'Copy for external chat.' If you copy the text, review it again and remember that the outside provider receives everything you paste.
- 7
Ask your question and check what is sent
Ask your question. The status badge shows when the app moves from local review to the selected outside AI. Keep the browser Network tab open if you want to inspect the protected request.
- 8
Restore the answer locally
The reply comes back with tokens intact. Custodis restores supported values on your device, either directly in the workspace or after you paste an external AI return block back in. Review the output and export a redacted copy if you need to share it.
Before and after local tokenization
Before
Raw prompt
Client: Priya Nair
Matter: Nair v. Cascade Health, file 26-3391
Reach her at [email protected] or (415) 555-0132.
Draft a plain-English status update on the settlement timeline.
After
Protected prompt
Client: [[PERSON_8F2A]]
Matter: [[CASE_2FB1]], file [[MATTER_ID_A91D]]
Reach her at [[EMAIL_5C7D]] or [[PHONE_B13C]].
Draft a plain-English status update on the settlement timeline.
Redact before you send
Custodis analyzes a confidential document on your device and proposes tokens for the sensitive values it detects. Review the entire protected text, decide whether to use a built-in AI provider or copy the text, and review the response before restoring matching values on your device.
Consistent tokens can preserve labels and relationships that help the model follow the document. In the built-in flow, the provider receives the protected text, prompt, and request details you approve; the original file and restoration map stay on your device. Detection can miss values, and context may still identify someone, so review before sending.
Ways professionals currently use AI with confidential documents
Different approaches send different amounts of the document outside your device. Check where the original is processed, what the provider retains, and what you must review.
Pasting or uploading the original to ChatGPT, Claude, or another hosted AI gives that provider the file and its readable content under the provider's current terms and settings.
Enterprise controls or private deployments may provide different processing, retention, and contractual protections. They can be appropriate for some organizations, but require cost, configuration, and verification of the exact architecture.
A cloud redaction service receives the original before it removes values. Custodis instead proposes replacements on your device, then lets you review the protected text and decide what, if anything, to send.
Send only the context needed for the task
The goal is not to erase the document. It is to remove the values the model does not need and keep the context that makes the answer useful.
A model may not need a real name, account number, address, or tax ID to summarize a file, rewrite a letter, explain a line item, or draft a follow-up. It may need roles, sequence, dates, amounts, and topic.
Consistent tokens use the same replacement for repeated detected values, which can help the model track roles without placing the original value in the token. Review the surrounding context because it may still identify someone.
Do it step by step
The walkthrough below covers adding a file, reviewing proposed redactions, choosing whether to use AI, and restoring matching tokens in the response. The same steps apply to tax, legal, clinical, and business documents, with different sensitive fields in each.
For the exact clicks on a specific file type, use the focused guides: how to redact a PDF with the highlighter, how to redact a scanned document, how to redact a tax return before AI, and how to export a redacted PDF.
Check what Custodis sends
You can check the protected text in the app and inspect the request in your browser.
Inside the app, open 'What AI Will See' and read the full protected text. Detected values kept hidden appear as tokens. Mark any sensitive value that remains as real text, and review context that could still identify someone.
For the built-in flow, open the browser's developer tools, switch to the Network tab, and inspect the request. Check the protected text, prompt, provider, model, system instructions, and other details, and confirm that the original file, layout data, and restoration map are absent.
Before you send
Before sending to a cloud model, complete the checklist below. It maps to the review flag, hidden-fields review, the stage labeled 'Safe to send,' and 'What AI Will See.' The label confirms that you completed the required app steps; it does not guarantee that automatic detection found every sensitive value.
What this does not replace
Custodis is a privacy tool, not a law firm. This page is general information, not legal advice. On-device redaction can reduce what you send to an AI provider, but it does not determine compliance with section 7216, health privacy rules, confidentiality duties, contracts, or consent requirements. Confirm the rules for your work with your counsel or professional body.
AI is a drafting assistant, not the authority. A responsible professional reviews the final output before it is filed, sent, or relied on.
Custodis recognizes supported IRS forms by document text rather than the filename and is strongest on recognized digital forms. A visible 'needs review' marker identifies low-confidence content, while scans and handwriting require a full comparison with the original for unflagged values it may have missed.
Common questions
Which documents can I protect before using AI?
Custodis can work with supported documents that contain names, IDs, dates of birth, addresses, account numbers, and other private details. It is strongest on recognized digital forms and flags text it cannot read confidently. You must review the result and decide whether the remaining content is appropriate for the AI provider you choose.
Does redaction hurt the quality of the AI's answer?
It can if you remove context the task needs. Consistent tokens use the same replacement for repeated detected values, which can preserve relationships without placing the original value in the token. Keep the dates, amounts, roles, and other necessary context, and review for missed values or context that could still identify someone.
Does this replace my compliance obligations?
No. Custodis can reduce the information sent to an AI provider, but it does not determine whether a use or disclosure complies with section 7216, health privacy rules, confidentiality duties, contracts, or consent requirements. This page is general information, not legal advice. Confirm your obligations and review every AI output before relying on it.
Can I use my existing ChatGPT or Claude account?
Yes. Custodis has a built-in chat and also lets you choose 'Copy for external chat.' Review the copied protected text before deciding whether to paste it into ChatGPT, Claude, Gemini, or another AI. You can paste a compatible return block back into Custodis to restore matching tokens on your device. The outside provider receives everything you paste, including any missed or allowed value.
Custodis is a privacy app for your documents