Hidden Data in PDFs: Metadata and the Redaction Trap

When you share a document you are usually sending more than the pages you can see. A PDF can carry its author, its editing history, deleted text, and sometimes an entirely different document inside it.

Updated:

What lives inside a PDF

None of this appears on the page, all of it sits in the file, and all of it is accessible as text. Learning who prepared a document, in which folder and when, is often one "document properties" window away.

The redaction trap: a black rectangle hides nothing

Drawing a black rectangle over information is the most dangerous habit in PDF work. The rectangle is a separate graphic object drawn on top of the text. The text underneath remains in the file exactly as it was.

The consequence: anyone who selects and copies the text reads the redacted information directly. So do screen readers. So do text extraction tools. This has happened repeatedly with public documents and has caused real disclosures.

Advertisement

How to actually remove it

  1. Delete the text, do not cover it. Remove the information from the document, then add a black box if you want the visual marker.
  2. Rasterise the page. Once a page is pixels there is no text underneath. You lose searchability — which in this case is the point.
  3. Remove the page entirely. If the sensitive material sits on one page, extracting the rest is the cleanest route.
  4. Rewrite the document. An operation that builds the output from scratch, such as compressing or extracting pages, leaves orphaned objects behind.

A checklist before sharing

CheckHow
Author and title fieldsOpen document properties and read them
Comments and annotationsOpen the comments panel and confirm it is empty
Hidden textSelect all and paste into a plain text editor
Remnants of deleted pagesRun the file through an operation that rewrites it
Form fieldsFlatten them

The third row is the most useful and takes thirty seconds: select all the text in the document and paste it into a plain text editor. Everything you see there is everything the recipient can see — redacted or not.

When this matters

These checks are not needed for every document. They should not be skipped for legal files, freedom-of-information responses, HR paperwork, medical records, reports containing customer data, and anything intended for public release.

If a document is leaving your organisation and contains information about other people, whoever shares it is responsible for the invisible content as well.

Frequently asked questions

Does a black rectangle hide the text?

No. The rectangle is a separate object drawn over the text; the text underneath stays in the file and is readable when copied. This mistake has caused real disclosures.

How do I actually redact a document?

By deleting the text from the document, rasterising the page, or removing that page entirely. Covering something is not redaction.

What personal information might my PDF carry?

The author field is filled automatically from your OS account in most programs. Files also carry creation dates, the producing software, sometimes the full path of the source file, and comments that look hidden.

How do I check before sharing?

The fastest method takes thirty seconds: select all the text and paste it into a plain text editor. Everything you see there is everything the recipient can see.

More guides

Try Konta PDF

Merging, splitting, reordering, encrypting, OCR and image-to-PDF are free. Files are processed in your browser.

Open the tools