Skip
Custodis
Back to guides
Professionals redacting scanned or photographed documents

How to Redact a Scanned Document Before AI

Read a scanned PDF with OCR in your browser, correct misread text, add missing redactions, and review the protected text before using 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

Custodis runs OCR on your device and does not send the scan to an AI provider during this reading step. Correct misread lines, resolve unread flags, add any redactions OCR or detection missed, and review the full protected text before sending it.

What to do

  • Open the scanned PDF and let the 'Scanning images with OCR' step finish on your device.
  • Open 'Fix OCR text', correct any misread lines, then click 'Apply OCR edits' so redaction re-runs on the right text.
  • Add 'Mark on PDF' highlighter strokes over anything OCR split, wrapped, or missed.
  • Run a specialized scan (Pro/Team) if the document is veterinary or insurance.
  • Compare every 'review unread' field with the original and enter the correct value on your device.
  • Check 'Review hidden fields' and the 'What AI Will See' tab before you approve with 'Looks ready.'
  • Inspect the browser's Network request and confirm it contains the protected text you approved rather than the original scan or restoration map.

Step by step

  1. 1

    Open a scanned PDF

    Choose the scanned PDF from your computer or drop it on the document card. Custodis reads its page images with OCR on your device. Wait for reading to finish, then compare the recognized text with the original pages. If a page is dark or blurry, create a clearer scan and save it as a PDF before trying again.

    Open a scanned PDF
  2. 2

    Fix any misread lines with 'Fix OCR text'

    Once the page opens, find the 'Fix OCR text' button in the tools panel. This control is for scanned or photographed documents, where text is estimated from the image. Click it, expand 'Page 1', and compare each recognized line with the original. Edit misread text, then click 'Apply OCR edits.' Custodis re-checks the corrected text for values to protect. For example, correcting 'Aaliyah 0konkwo' with a zero allows the person detector to evaluate the intended name on the re-run.

    Fix any misread lines with 'Fix OCR text'
  3. 3

    Check the identifiers and add highlighter marks

    Check the page for anything OCR split across lines or missed — a wrapped name, an ID with an inserted space, a stamp, or a signature. On the PDF tab, click 'Mark on PDF' and highlight any sensitive content automatic detection missed. Confirm each mark appears as a token in the protected-text view, then continue reviewing the rest of the page.

  4. 4

    Run a specialized scan if your plan offers it

    On Pro and Team plans, a 'Specialized scans' button opens additional detectors for Veterinary and Insurance documents. They run on the text already read and can add detections such as microchip IDs or policy numbers. Which detectors appear depends on your plan and document. A specialized scan adds findings to the general scan rather than replacing it.

  5. 5

    Review hidden fields, preview what the AI sees, then ask

    Open 'Review hidden fields' to see the values Custodis detected and decide which should remain hidden. Then switch to 'What AI Will See' and read the full protected text, where detected private values appear as tokens such as ⟦PERSON_8F2A1C⟧. Repeated detected values use consistent tokens, but missed or allowed values can remain visible. Approve with 'Looks ready' only after review. In the built-in flow, the provider receives the protected text, prompt, and request details you approve; Custodis can restore matching tokens in the answer on your device.

Before and after local tokenization

Before

Raw prompt

Patient: Aaliyah Okonkwo DOB: 04/18/1979

Member ID: RM-4928-1183

Summarize the visit and draft a follow-up message.

After

Protected prompt

Patient: ⟦PERSON_8F2A1C⟧ DOB: ⟦DOB_B13C5E⟧

Member ID: ⟦MEMBER_ID_44ED9A⟧

Summarize the visit and draft a follow-up message.

OCR runs on your device

Save a scan or document photo as a PDF before opening it in the web app. Custodis runs OCR (optical character recognition) in your browser to turn the page images in that PDF into text. This reading step does not send the scan to an AI provider.

Next, correct the OCR, review detected values, and add manual redactions. If you use the built-in Ask AI flow, the provider receives the protected text, prompt, and request details you approve. The original scan and restoration map stay on your device in this flow.

Remove identifiers the model does not need, while keeping the dates, amounts, roles, and other context required for the task. Review the entire protected text because OCR and automatic detection can both miss information.

Why a scan behaves differently from a normal PDF

A native digital PDF or Word file can include embedded text and character positions that Custodis reads directly. A scan or photo is an image, so Custodis must estimate its text with OCR, which can misread or omit characters.

Scanned documents therefore include a 'Fix OCR text' control. Correct a misread line and Custodis re-checks the text for values to protect. The precise layout view is unavailable for scans because OCR estimates text positions rather than reading native coordinates, so use the highlighter for manual marks.

Handwriting requires extra review

Handwriting accuracy varies with the writing and image quality, and cursive or crowded fields can be difficult to read. When Custodis marks a region as unreadable, review that region and enter the correct value on your device so the protection can be applied to the right text.

A review-unread flag requires a decision from you. Compare the recognized text with the original image and review the final protected text before it is used or sent.

Inspect what Custodis sends

Open your browser's developer tools, use the Network tab, and confirm what is sent when you ask the AI. The request should contain the protected text and prompt—not the scanned image, layout, or restoration map.

This page is general information, not legal advice. If your work is governed by rules such as IRS §7216 or a professional confidentiality duty, confirm your own obligations with your counsel or professional body — Custodis is a privacy tool, not a law firm.

Common questions

Is my scan uploaded to a server to be read?

The OCR that turns your scan into text runs in your browser, and this reading step does not send the scan to an AI provider. If you use the built-in Ask AI flow, the provider receives the protected text, prompt, and request details you approve; the original scan and restoration map stay on your device. Inspect the browser's Network tab to verify the request.

Why can I edit the OCR text but not on a normal PDF?

A native digital PDF or Word file can include embedded text that Custodis reads directly. A scan or photo is an image, so Custodis estimates the text with OCR, which can misread or omit characters. The 'Fix OCR text' panel appears for scanned and photographed documents so you can correct that text and re-run detection.

What happens to handwriting Custodis can't read?

Handwriting accuracy varies. When Custodis marks a region as 'review unread', compare it with the original image and enter the correct value on your device. Then review the entire protected text because an unflagged handwritten value can also be misread or missed.

Can I redact a photo taken on my phone?

Save the document photo as a PDF first, then open that PDF in the web app. Review the recognized text, correct misreads with 'Fix OCR text', and check the protected copy before sending. For capture and review on the phone itself, use the Custodis iPhone or Android app.

Custodis is a privacy app for your documents

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