# CasePatch: realistic anonymized copies of real documents

CasePatch anonymizes real statements, ID documents, claims and letters into realistic synthetic copies for AI agent evals, QA, vendor evaluations, training and demos. Identifying details are replaced in place, so OCR, extraction and agent workflows handle the copy the way they handle the original.

- In-place edits: values are rewritten in the original font and position. PDFs stay PDFs.
- Consistent across the case: each person, account and member number maps to one synthetic value in every document.
- Reviewer in control: every change is listed by category; override, revert or keep the original before export.
- No third-party AI on uploads: the hosted beta processes uploads with CasePatch's own engine; files are never sent to an AI provider and are deleted within 15 minutes.

Try it: https://casepatch.com/ (public sample documents, or your own test document; no account needed for 10 pages a day).

## Workflow

1. Upload the case: card statements and dispute packets, KYC documents, insurance and healthcare claims, EOBs, medical records and correspondence, as PDFs, scans or photos.
2. Review each change: detected values are listed by category next to their synthetic replacements. Compare original and copy side by side, override any value, and have it re-checked before it is applied.
3. Export: download files with the original layout, fonts and format, plus a record of reviewer overrides.

## Use case: eval sets for document AI agents

Teams building and evaluating document AI agents need test cases that look like production: real layouts, real scan quality, and the edge cases that generated test data rarely covers. CasePatch anonymizes real case files by replacing identifying details in place, so an eval set keeps the structure and difficulty of production data without carrying customer or patient identities. Because the same person, account or member number maps to the same replacement in every document, multi-document reasoning (for example matching a claimant across a claim form, an EOB and a letter) is still tested correctly. The identity mapping is shown during review, so expected answers can be updated to the replacement values.

## What CasePatch finds and replaces

- PHI (HIPAA identifiers): patient and member names; medical record and member numbers, including Medicare beneficiary IDs; provider NPI and DEA numbers; dates of birth; addresses and ZIP codes; ages over 89. Diagnoses, medications, procedures and lab results are detected and kept by default, since evals often depend on them.
- PCI cardholder data: card numbers (replaced with checksum-valid numbers), last-four references, expiry dates; card verification codes, PINs and track data (always replaced with fresh random digits); account numbers.
- PII: names, SSNs and tax IDs, passport, driver's license and national ID numbers, addresses, phone numbers and email addresses, signatures, faces, vehicle, device and IP identifiers.
- Financial and KYC: bank account, IBAN and routing numbers; ID document numbers and MRZ lines (rewritten with valid check digits); organization names; QR codes and barcodes.

Dates other than dates of birth, such as dates of service, are kept. In hosted-beta uploads, faces are flagged for review rather than replaced.

## Redaction vs. CasePatch

Redaction (black boxes) breaks OCR, extraction and model evaluations, and gives reviewers and vendors nothing realistic to work with. CasePatch writes plausible values in the original font, consistent across the case, so the document still parses and reads like the source.

## Data handling

Uploads to the hosted beta are processed by CasePatch's own engine and never sent to an AI provider. Files, results and overrides are deleted when you choose delete, when you leave the page, or 15 minutes after processing at the latest. Service logs record request types, status codes, counts and timings, not document contents or detected values. Use test or specimen documents in the hosted beta; for production data, run CasePatch in your own environment (self-hosted release planned).

## Limits (free beta)

- File types: PDF, PNG, JPG; up to 10 pages and 20 MB per document.
- 10 pages a day without an account; 100 pages a month with a free account.

## Important

CasePatch helps find and replace identifying data. It does not hold or confer HIPAA, PCI DSS, GDPR or other certifications, and its output is not a compliance or de-identification determination. Automated detection can miss values: review every page before a copy leaves your team.

More: [Pricing](https://casepatch.com/pricing.md) · [Guides](https://casepatch.com/guides/) · [llms.txt](https://casepatch.com/llms.txt)
