Getting found by Google · 2 min read

How to properly redact PDFs so Google can't read them

Google warns that files and images can carry details people can't see, such as tiny or color-matched text, covered text, cropped image areas, change history and metadata, which search engines and OCR can still read.

What it means for your Maryland business

To properly redact a PDF so Google can't read the hidden part, delete the information from the file itself with a true redaction tool, rather than covering it with a black box, a white font or an image. Covered text can stay in the file, where search engines can index it. This affects every Maryland organization that posts documents online, especially law firms, tax preparers, medical offices, property managers, school systems, municipal offices and nonprofits that publish minutes, filings or reports.

To show residents a repair has been scheduled, a property management company in Silver Spring posts a redacted inspection report. Someone drew black rectangles over tenant names and pasted in a photo that was cropped only inside the document editor. The original names are still in the file's text layer, and the full uncropped photo, with a unit number visible, is embedded in it. The right approach is to crop the photo first and save it as a flat PNG, run the PDF program's actual redaction feature, check the metadata for editor names, and give the file a neutral name rather than one containing a tenant's name.

Trusting what you see on screen is the root problem in Google's list. Tiny type, matching colors and covering images all fool the eye but not a search engine or screen reader. Exporting to another format doesn't strip change history or metadata. Blocking a folder with robots.txt doesn't stop its addresses from being indexed. If a bad file is already indexed, act fast with the Removals tool.

If a bad file amounts to a breach of personal information, Maryland's Personal Information Protection Act requires a reasonable and prompt investigation into the likelihood that the information has been or will be misused, and when notice is due, individuals must be told within 45 days after the business discovers or is notified of the breach.

Maryland laws and agency guidance cited above:

What to do this week

4 steps. Ticks are saved to Your plan on this device.

Open Your plan

01
Use a real redaction tool in your PDF software instead of drawing boxes over text, and check the file's metadata before posting it.
02
Crop and edit images before putting them into a document, then save them as flat image files such as PNG or WebP.
03
Verify your website in Google Search Console so you can remove a document quickly if needed.
04
If a badly redacted file gets indexed, take it down, request removal in the Removals tool, and post the fixed version at a new address.

In Google's words

“For example, avoid placing black rectangles over text as a redaction method, as this can result in the text still being included in the public document.”

Google, exact quote · Keep Redacted Information out of Google · checked against this page 2026-11-28

What Google says

Google warns that files and images can carry details people can't see, such as tiny or color-matched text, covered text, cropped image areas, change history and metadata, which search engines and OCR can still read. It advises editing and flattening images before embedding them, using real redaction tools instead of black boxes, and checking metadata. If a badly redacted file gets indexed, remove it, use the Removals tool, republish the fix at a new address and ask other hosts to take copies down.

Report an error