The Healthcare Privacy Gap: Redacting HIPAA-Compliant Patient Records Without Cloud Uploads

The tool you use to remove PHI is part of your compliance posture. If it uploads the file, you have disclosed the very thing you were trying to protect.

RedactLocal's in-browser editor with the NPI, MRN and Patient ID redacted on a discharge summary

A records clerk has forty discharge summaries to release to an attorney's office. Each one needs the account numbers and internal identifiers removed first. So they search for a PDF redaction tool, find a free one, and upload forty patient records to a server they have never heard of.

The redaction step, the one that existed to protect those patients, is where the disclosure happened. Whatever the tool does with the file afterward, the protected health information has already crossed the boundary of your organization and landed on infrastructure you do not control, run by a company you have no agreement with.

This is the healthcare privacy gap. It is not a gap in the rules and it is not usually a gap in intent. It is the quiet assumption that "redacting a document" is a safe, local, clerical act, when the tool doing it may be shipping the file somewhere first.

The Gap Between "Redacted" and "Compliant"

Two things have to be true for a released record to be handled correctly, and they are independent. The information that should be removed has to actually be gone from the file. And the file must not have been disclosed to anyone unauthorized in the course of removing it.

A cloud redaction tool can get the first one right and the second one badly wrong. It can return a beautifully redacted PDF, with the identifiers genuinely destroyed, and still have created a breach the moment you uploaded the original. The clean output does not undo the upload.

Most guidance for healthcare staff focuses entirely on the first question and is silent on the second. That silence is the gap.

What Counts as PHI, and Why It Is Broader Than You Think

Under the HIPAA Privacy Rule, protected health information is individually identifiable health information held or transmitted by a covered entity or its business associate. The Safe Harbor method of de-identification at 45 CFR § 164.514(b)(2) lists eighteen categories of identifier that must be removed for a record to be considered de-identified. They are worth having in front of you, because they are far broader than "name and social security number."

A selection of the 18 Safe Harbor identifiers
Names
All geographic subdivisions smaller than a state, including street address and most ZIP codes
All dates directly related to an individual (birth, admission, discharge, death) except the year
Telephone and fax numbers, email addresses
Medical record numbers, health plan beneficiary numbers, account numbers
Certificate and license numbers
Device identifiers and serial numbers, URLs, IP addresses
Biometric identifiers, full-face photographs, and any other unique identifying number or code

The important consequence for anyone choosing a redaction tool: most of these are not pattern-detectable. A name is just words. A street address is just words. "The patient's daughter, admitted the same night" is an identifier in context with no format at all. No scanner, in any tool, finds those reliably. Anyone selling you automatic, hands-off HIPAA de-identification is selling you a model that will miss the identifier a human would have caught in a second.

What can be found mechanically is the small set of identifiers that carry a defined structure: the provider's National Provider Identifier, and record and account numbers that appear next to a label. Those are worth automating precisely because they are easy to overlook by eye in a dense chart. Everything else is human review, and honest tooling says so.

The Upload Is the Breach

Here is the part that turns a routine release into a reportable event.

When you send a patient record to a third-party web tool, you are making a disclosure of PHI to that vendor. Under HIPAA, a vendor that receives PHI to perform a service on your behalf is a business associate, and a covered entity may only disclose PHI to a business associate under a signed Business Associate Agreement (45 CFR § 164.502(e)). A free redaction site you found through a search engine has no such agreement with you.

You cannot wave this away with the conduit exception. That exception is narrow, and it is meant for transient transporters of data such as an ISP or a courier. A tool that receives your file, opens it, renders it and processes it is not a conduit. It is handling the PHI.

So the exposure is not hypothetical, and it is not really about whether the vendor is malicious:

The cleanest way to answer every one of those concerns is to remove the vendor from the picture entirely. If the file never leaves the workstation, there is no disclosure, no business associate, no BAA to chase, and no third-party breach that can ever reach it.

Why a Black Box Is Not a Redaction

Before the workflow, the other half of the problem: even offline, a redaction has to actually destroy the underlying text.

Drawing a black rectangle over text in a standard PDF editor removes nothing. It appends one more drawing instruction that paints over the words, while the text operators, character codes and fonts remain in the file at known coordinates. Anyone can recover them by selecting and copying, by running pdftotext, or by pushing the file through a converter. This is the mechanism behind essentially every publicized redaction failure — the box was on top, the words were never gone.

We covered the mechanics in The Black Box Flaw. The short version: only rasterization — flattening each page to an image and burning the mask into the pixels — genuinely removes the content, because afterward there is no text layer left to recover.

Redact a record in your browser →

Local, Browser-Native Redaction Is the Safer Standard

Put the two halves together and the requirement is clear. The redaction has to be real, and the file has to never leave your control. A tool that runs entirely inside the browser meets both by construction.

RedactLocal is a PDF redactor that runs on your device. The record is read into the browser's memory by the file API, rendered locally, and exported by the browser's own download mechanism. There is no upload endpoint, because there is no backend that accepts files. You can prove it in about ten seconds: open the tool, disconnect from the internet, and redact a record. It keeps working, because there is nowhere for the file to go. No cloud tool survives that test.

That single property resolves the compliance question at its root. RedactLocal never receives PHI, so it is not a business associate, and there is no agreement to sign and no vendor to vet. Redaction returns to being what staff always assumed it was: a local, clerical act.

How the "US Healthcare: HIPAA" Preset Works

Selecting 🏥 US Healthcare: HIPAA from the compliance preset selector configures the scanner for the two structured identifiers most common in a released record. Everything below runs against text already held in your browser's memory. Nothing is transmitted, and it all works with the network off.

National Provider Identifiers, verified by checksum

The NPI is the ten-digit provider identifier standardized under HIPAA Administrative Simplification. Crucially, it is not just any ten digits: its final digit is a Luhn check digit computed over the number with a fixed 80840 prefix, the rule used by NPPES. RedactLocal validates that checksum before it flags anything, so a ten-digit phone number, an amount, or a random string of digits is not reported as a provider ID. That checksum step is the difference between a usable healthcare sweep and one that lights up every number on the page.

Medical record numbers, anchored to their label

There is no universal MRN format — every facility assigns its own — so a blind numeric search would be meaningless. The preset instead looks for a number that sits next to a label such as MRN, Medical Record No. or Patient ID, and covers the value while leaving the label readable. It follows that an unlabelled record number will be missed, which is exactly the kind of limit worth knowing before you rely on it.

You confirm every hit before anything is drawn

The scanner lists each match with the surrounding line of text, and nothing is redacted until you approve it. That review is the point. An automatic sweep either over-redacts a chart into uselessness or quietly misses something, and only the person who knows the record can tell the difference. A twelve-digit account number that happens to look like something else is offered as a match, and you decline it.

The redaction is destroyed, then verified

On export, every page is rasterized and the boxes are burned into the pixels. The new PDF is assembled from images alone, then re-opened and inspected before the download appears, reporting the flattened page count alongside the number of selectable characters, text operators, font objects and annotations found. On a correct export those counts are zero — the closest thing to a receipt you can attach to a release log.

A HIPAA-Minded Redaction Workflow

  1. Keep the unredacted original under your normal controls. Never transmit it to an outside tool to have it cleaned.
  2. Work on a machine you control. If a tool requires an upload, it has become a business associate that received PHI. A browser-native tool never does.
  3. Scan for the structured identifiers. Let the preset catch checksum-valid NPIs and labelled record and account numbers, which are easy to miss by eye in a dense chart.
  4. Read for the identifiers no scanner can find. Names, addresses, dates other than the year, and identifying context are human work. Reread the record with the Safe Harbor list beside you.
  5. Apply the minimum necessary. Release only what the purpose requires, and no more of the chart than that.
  6. Flatten the output so the removed text is destroyed rather than covered.
  7. Verify before release. Run pdftotext over the finished file, or open it and search for an identifier you removed. If it appears, do not release it.
  8. Check the attachments, not just the summary. The leak is usually in an appended lab report, billing statement or intake form, not the cover page.

What This Does Not Do

Three limits to be clear about, because a tool asking for your trust should be candid about its edges.

This is not automatic de-identification. The preset finds two structured identifiers. Safe Harbor lists eighteen, and Expert Determination is a separate statistical method entirely. Removing NPIs and labelled MRNs is a useful, reliable step; it is not, by itself, a de-identified record. The names, dates and addresses still require your eyes.

Scanned and photographed records are not pattern-scanned. The identifier search reads a PDF's text layer. A faxed or photographed chart is an image with no text to match, so the preset will find nothing on it — and finding nothing is not the same as there being nothing. Draw the boxes by hand and flatten as normal. Where a scan has been run through OCR by your document system, it does contain recoverable text, which is exactly the file people wrongly assume is safe because "it's only a picture."

The site loads page analytics. Loading redactlocal.org records a page view, as most websites do. It has no access to your documents, which never leave your tab's memory. We state that plainly, because a tool asking you to trust its handling of data you cannot see should be candid about the data you can.

This guide is for informational purposes and does not constitute legal or compliance advice. It summarizes provisions of the HIPAA Privacy, Security and Breach Notification Rules and the Safe Harbor de-identification standard as of publication. Regulations are amended and their application depends on your organization's role, your data and the facts of a given disclosure. RedactLocal is a redaction tool, not a certification of compliance; achieving and documenting HIPAA compliance is the responsibility of the covered entity. Always confirm the current text of the applicable rule and consult your privacy officer or counsel before setting policy.

Redact the Record Without Sending It Anywhere

No account, no installation, and no server that receives your patient records. Open the tool with the HIPAA preset armed, turn off your Wi-Fi if you want proof, and redact with the file never leaving your machine.

Redact Local (HIPAA Preset)