How to redact medical records
People share lab reports and discharge summaries with AI tools, patient forums and second-opinion services every day. The results are what matter; your name and patient ID aren't. Here's how to remove the identifiers and keep the medical content.
Open the redaction tool Free, no account. The file stays on your device.Quick steps
- Open maskyourdocs and choose the report.
- Type your name into Find text and press Mask all. Repeat for your patient ID.
- Use Draw box for barcodes, QR codes and signatures.
- Press Export, then Generate, then Download.
Before you start
Your own doctor, hospital or insurer generally needs the identifiers to match the record to you, so send them the original. Redact when the reader only needs the medical content: an AI tool, an online community, a researcher, or anyone you'd rather not give your identity to.
What to hide and what to keep
Usually hide
- Your name
- Patient ID, UHID, MRN or lab number
- Date of birth (keep your age if it matters)
- Address, phone number and email
- Insurance policy and claim numbers
- Barcodes and QR codes, which often encode your patient or sample ID
- Doctors' names and signatures, if you're posting publicly
Usually keep
- Test names, results, units and reference ranges
- Medicines and doses
- Diagnoses and notes
- Age and sex, if they matter for the results
A useful checklist: the 18 HIPAA identifiers
In the US, the HIPAA "Safe Harbor" method treats health data as de-identified once 18 kinds of identifier are removed. It's a thorough checklist even if HIPAA doesn't apply to you:
- Names
- Locations smaller than a state, such as street address and city
- All parts of dates except the year (birth, admission, discharge, test dates), and ages over 89
- Phone numbers, fax numbers and email addresses
- Social Security, medical record, health plan and account numbers
- Certificate and licence numbers
- Vehicle and device identifiers and serial numbers
- Web addresses and IP addresses
- Fingerprints, voiceprints and full-face photos
- Any other number or code that is unique to you
Partial identifiers still count: HHS says patient initials or the last four digits of a Social Security number would fail the Safe Harbor test. This is general information, not legal or medical advice.
Step by step
Step 1: Open the report
Go to maskyourdocs and press Choose a file. Lab reports are usually PDFs with selectable text; prescriptions and older records are often photos or scans.
Step 2: Hide your name and IDs on every page
Lab reports repeat your name and ID in the header of every page. Type each one into Find text and press Mask all to cover every copy at once. Check the amber-outlined marks.
Step 3: Cover barcodes, QR codes and signatures
Choose Draw box and drag over each one. On a phone or tablet, rest a finger on the spot until a ring appears, then drag. A quick swipe still scrolls, and two fingers pinch to zoom.
Step 4: Export and download
Press Export, then Generate. The tool reopens the new PDF and checks that every value you marked is gone. If it says Still readable elsewhere, a value you marked also appears on a page you didn't mark: close the result, use Find text for it, and export again. Press Download. The copy's name starts with maskyourdocs.com-, so you can tell it from the original.
X-rays, scans and other images
Medical images often have your name, ID and date written into the corners. If you have the image as a JPEG or PNG, or a screenshot from a viewer, open it and draw boxes over that text. DICOM files, the format hospital imaging systems use, can't be opened directly: export or screenshot the image first.
Questions
Is it safe to upload my blood test to ChatGPT?
It's much safer with your name, IDs and date of birth removed. The AI still gets the results it needs. Also check your AI tool's data settings.
Can I redact an X-ray or MRI image?
Yes, as a JPEG, PNG or screenshot: draw a box over the name and ID in the corners. DICOM files need to be exported as an image first.
Will a doctor still understand a redacted report?
Yes, as long as you keep the results, units, reference ranges and your age and sex where they matter.
Why hide the barcode on a lab report?
Barcodes and QR codes on lab reports often encode your patient or sample ID, and anyone can scan them.