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.
What lives inside a PDF
- Document metadata: Author name, title, creation and modification dates, producing software.
- Your user name: Most programs fill the author field automatically from your OS account.
- File path traces: Some producers embed the full path of the source file.
- Comments and annotations: Present in the file even when hidden in the viewer.
- Layers: Hidden layers can be switched back on.
- Orphaned objects: Content deleted from the page but not from the file.
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.
How to actually remove it
- Delete the text, do not cover it. Remove the information from the document, then add a black box if you want the visual marker.
- Rasterise the page. Once a page is pixels there is no text underneath. You lose searchability — which in this case is the point.
- Remove the page entirely. If the sensitive material sits on one page, extracting the rest is the cleanest route.
- 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
| Check | How |
|---|---|
| Author and title fields | Open document properties and read them |
| Comments and annotations | Open the comments panel and confirm it is empty |
| Hidden text | Select all and paste into a plain text editor |
| Remnants of deleted pages | Run the file through an operation that rewrites it |
| Form fields | Flatten 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
PDF Printing Problems: Margins, Scaling and Shifted Pages
Why a PDF that looks fine on screen gets clipped on paper, what "fit to page" really does, where margins go, and what to check before printing.
Filling and Flattening PDF Forms
How fillable PDF forms work, why your entries sometimes disappear, what flattening means, and how to fill a PDF that has no form fields at all.
Archiving PDFs So They Still Open in Ten Years
What PDF/A is, how it differs from ordinary PDF, what degrades over long-term storage, and which archiving decisions cannot be undone.
Try Konta PDF
Merging, splitting, reordering, encrypting, OCR and image-to-PDF are free. Files are processed in your browser.
Open the tools