How to Redact Medical Records in a PDF (Safely)

Redact medical records so names, dates, record numbers and other identifiers are deleted from the PDF instead of covered. Mac, iPhone and final checks.

To redact medical records, use a real redaction tool that deletes the text under each mark, not a black box or highlighter drawn on top. On a Mac, open the PDF in Preview, choose the Redaction Selection tool in the Markup toolbar, select every name, date, record number and other identifier, then save and close; Apple says the redaction becomes permanent when you close the document. Then check your work: search the PDF for each redacted word, try to copy text from the black bars, and remove metadata and comments. iPhone and iPad have no redaction tool in Preview or Markup, so cover the text and then convert the pages to images, or use a PDF app with true redaction.

Updated 7 November 2026. Apple steps were checked against Apple's Preview User Guide for Mac and the iPhone User Guide on that date. The identifier list is from 45 CFR 164.514(b)(2), read at Cornell's Legal Information Institute. This page is practical guidance, not legal or compliance advice. If you work for a covered health care organization, follow its privacy officer's procedures.

Why a black box isn't redaction

Drawing a black rectangle over a patient's name in Markup, Word or a basic PDF editor only adds a shape on top. The text is still in the file. Anyone can select it, copy it, search for it, or delete the box. Real redaction removes the text and images under the mark from the PDF itself. Our own test in how to redact a PDF shows the difference: text under a drawn box is still extracted; text under a true redaction is gone.

What to redact in medical records

US health privacy rules describe a "safe harbor" way to de-identify health information. 45 CFR 164.514(b)(2) lists 18 kinds of identifiers of the patient, or of relatives, employers or household members, that must be removed:

IdentifierWhere it hides in medical records
NamesHeaders on every page, signatures, referral letters, family history
Geographic details smaller than a state (street, city, county, ZIP code)Address blocks, pharmacy and facility addresses
All date elements except the year (birth, admission, discharge, death), and ages over 89Visit headers, lab timestamps, medication start dates
Telephone and fax numbersFax cover sheets and fax headers at the top of each page
Email addressesPortal messages, referral notes
Social Security numbersRegistration and billing pages
Medical record numbersPage footers, barcodes, wristband images
Health plan beneficiary numbersInsurance cards, billing statements
Account numbersBilling statements, payment pages
Certificate and license numbersDriver's license copies, professional license references
Vehicle identifiers and license platesAccident and injury reports
Device identifiers and serial numbersImplant records, pacemaker and pump reports
Web URLsPortal links, personal websites
IP addressesTelehealth and portal logs
Biometric identifiers (finger and voice prints)Rare in PDFs; check attachments
Full-face photos and comparable imagesDermatology photos, ID copies, wound photos
Any other unique identifying number, characteristic or codeClaim numbers, case IDs, rare details that point to one person

The rule also requires that the organization has no actual knowledge that what's left could identify the person. If you're only sharing your own records, you may need to remove less: for a lawyer or insurer, they often need your name and dates. Redact what the recipient doesn't need, such as other family members' details, unrelated conditions or account numbers.

For US federal court filings, Rule 5.2 of the Federal Rules of Civil Procedure separately says filings may include only the last four digits of Social Security and financial-account numbers, the year of birth and a minor's initials, unless the court orders otherwise.

Ways to redact medical records, compared

MethodPlatformRemoves the text?Watch out for
Preview, Redaction SelectionMacYes, once you close the fileTable of contents entries aren't removed; check metadata
Adobe Acrobat RedactMac, WindowsYes, once applied and savedPaid plan; use its option to remove hidden information
Markup box, then convert pages to imagesiPhone, iPadYes, the text layer is goneThe PDF is no longer searchable; file grows
Markup or a drawn box aloneAnyNoText stays under the box
Marker on paper, then scanPaperUsuallyInk can show through; copy, then scan the copy
Online redaction toolsBrowserVariesYou upload health records to a third party

How to redact medical records on Mac with Preview

  1. Make a copy first: in Finder, select the PDF and choose File > Duplicate. Redact the copy and keep the original safe.
  2. Open the copy in Preview and click the Show Markup Toolbar button.
  3. Click the Redaction Selection button. Apple describes it as: "Select text to remove it from view."
  4. Drag over each identifier. Use Edit > Find (Command-F) to search for the patient's name, record number and dates so you don't miss repeats on later pages.
  5. Check headers, footers and fax lines on every page. They repeat identifiers on each sheet.
  6. Choose File > Save, then close the document. Apple says that "once you close the document, the redaction becomes permanent."
  7. Reopen it and check your work (see the checklist below).

Apple also notes that "if the PDF has a table of contents, entries in it that link to redacted text aren't removed." Look at the sidebar's table of contents and remove or rename bookmarks that contain a name. More on Mac: how to redact a PDF on Mac.

Scanned records

Many medical records are scans. A scan is an image, so Find won't locate words unless the PDF has an OCR text layer. If it does, that hidden text layer also contains the patient's name, and it must be redacted too. Select the whole area of the image around the words, and search the OCR text afterwards.

How to redact medical records on iPhone or iPad

Apple's iPhone User Guide lists no redaction tool in Preview or Markup. A shape drawn in Markup covers text but leaves it in the file. This workaround removes it:

  1. Open the PDF in Preview and tap Duplicate in the Actions Menu, so the original stays safe.
  2. Tap the Markup button. Tap the Add button, choose the square shape, set the fill to black, and cover each identifier.
  3. Tap the Actions Menu button, tap Export, choose PNG or JPEG and save. This turns each page into a picture with no text layer. On iOS 27 set Resolution to 200 ppi or more so the rest stays readable.
  4. Turn the images back into a PDF: select them in Files, touch and hold, and choose Create PDF, or see how to convert a picture to PDF on iPhone.
  5. Check the result. Try to select text: there should be none.

If export gives you only one page, use a shortcut with Make Image from PDF Page for every page. The PDF is then image-only. That's safe, but the recipient can't search it.

What built-in tools don't cover

  • No redaction on iPhone or iPad. You rely on the image workaround.
  • Metadata stays. Preview's redaction doesn't clear the document's title, author or keywords, which may contain the patient's name.
  • Bookmarks stay. Apple says table of contents entries aren't removed.
  • No search-and-redact-all. You find and mark each match yourself.
  • No report. Nothing lists what was removed, which matters when you have to show your work.

Check your redaction before you send it

  1. Search: open the redacted PDF and search for the patient's last name, record number and date of birth. Zero results is what you want.
  2. Copy test: select the area of a black bar, copy, and paste into a note. Nothing should paste.
  3. Metadata: on Mac, choose Tools > Show Inspector in Preview and check the title, author, subject and keywords. On iPhone, tap the Info button in Preview.
  4. Bookmarks and comments: check the sidebar for bookmarks, notes and attachments.
  5. File name: rename Jane_Doe_MRN123456.pdf to something neutral.
  6. Images: look at photos and scans for faces, wristbands and labels burned into the image.

For a technical check, the free command-line tool pdftotext prints all text in a PDF. Run it on the redacted copy and search the output.

Remove hidden data as well as visible text

A PDF can carry more than its pages: document metadata, comments and sticky notes, form field values, attached files, layers that are switched off, and earlier versions saved inside the file. Redaction removes what's under your marks. Removing hidden data is a separate step. Background: PDF security, encryption, passwords and redaction.

Adobe Acrobat

Acrobat's Redact tool removes content once you apply the redactions and save, and Adobe recommends saving under a new name. It also offers an option to remove hidden information such as metadata. Redaction is part of a paid Acrobat plan. Menu names differ between Acrobat versions.

Paper records

A black marker on paper can let text show through, especially on thin paper or under a scanner's bright light. Mark the page, make a photocopy, check the copy against the light, and scan the copy, not the original. Then check the scan.

Online redaction tools

Web tools upload your file to their servers. For health records, that hands sensitive information to a third party, and for an organization it may need a formal agreement with that vendor. Redact on your own device instead. See are online PDF editors safe.

Common mistakes

  • Using the highlighter in black, or a black rectangle shape.
  • Redacting page 1 and forgetting the same name in every page header.
  • Leaving the patient's name in the file name or the PDF title.
  • Redacting the visible scan but not its OCR text layer.
  • Sending the original instead of the redacted copy. Name files clearly, such as records_redacted.pdf.
  • Removing too much: the recipient still needs the clinical content that answers their question.

Troubleshooting

Preview has no Redaction button

Show the Markup toolbar and look for Redaction Selection. It's in current macOS versions of Preview. On iPhone and iPad there is none.

I can still find the name after redacting

The redaction wasn't applied to that spot, or the name also appears in metadata or bookmarks. Redact again, close the file and repeat the checks.

The text isn't selectable, so I can't redact it

It's a scan. Draw the redaction over the area, and redact any OCR text layer as well.

The redacted file is huge

Converting pages to images makes larger files. Compress the PDF afterwards.

PDF Opus: the best app for redacting medical records (top pick)

The best app for redacting medical records is PDF Opus. PDF Opus redacts a PDF by removing the text and images under each mark from the file. It redacts by area or by search, so every match of a name or record number on every page is marked at once. Text under the marks: removed from the file. Images and drawings under the marks: removed. Matching metadata scrubbed. Search verified. Remove metadata, hidden layers, comments, scripts, attachments and earlier revisions, with a report. Redaction doesn't remove whole hidden layers or all metadata; run Remove Hidden Data for that. Make scanned PDFs searchable on your device with Apple Vision; the original image stays unchanged. Your documents are processed on your device. The app only goes online for purchases, licence checks (direct version) and update checks (direct version).

Frequently asked questions

How do you redact medical records?

Use a redaction tool that removes the text, such as Preview's Redaction Selection on Mac. Mark every identifier, save, close, then search the file to confirm nothing remains.

What information should be redacted from medical records?

For de-identification under US rules, the 18 identifiers in 45 CFR 164.514(b)(2): names, small-area geography, date elements except year, phone and fax numbers, emails, SSNs, record, plan and account numbers, license, vehicle and device numbers, URLs, IP addresses, biometrics, full-face photos and other unique codes.

Can I redact a PDF on my iPhone?

Not with a built-in redaction tool. Cover the text in Markup, export the pages as images and make a new PDF from them, or use a PDF app with real redaction.

Is a black box in Markup enough?

No. The text stays under the box and can be copied or found by search.

Do I need to redact my own medical records before sending them?

Usually there's no legal duty to. It's still wise to remove what the recipient doesn't need, such as other people's details or account numbers.

Does redaction remove metadata?

Not fully in Preview. Check the title, author and keywords and remove hidden data separately.

Can redacted text be recovered?

With true redaction, the text under the mark is deleted from the file. With a drawn box, it was never removed. Always run the search and copy tests.

How do I redact a scanned medical record?

Draw the redaction over the area of the image, and also redact the OCR text layer if the scan has one. Then search to confirm.