Remove metadata from a PDF: hidden information checklist

Remove metadata from a PDF before sharing it: clear the title, author and XMP fields, then check comments, attachments, layers and the copy you send.

To remove metadata from a PDF, open its document properties, clear or replace the title, author, subject and keywords, then use a cleanup function that also removes the extended XMP metadata and save the result as a new copy. Metadata is only one part of the hidden information in a PDF: before sharing, also check comments, attachments, layers, form fields and bookmarks, and reopen the saved copy to confirm what is left.

Redaction and metadata removal are separate jobs. Applying redaction removes text or areas from the page; it does not clean the document properties or the attachment list by itself. For the page-level steps, follow the guide on how to redact a PDF before sharing, then use this checklist for everything outside the visible page.

PDFRedactLab keeps that second step in the same workflow: it reviews document properties, comments, attachments and layers separately from visible redaction, so you decide what the sharing copy keeps before you export it. The PDFRedactLab review workflow describes each check, and the fictional redaction example shows the review with invented data.

What metadata does a PDF contain?

PDF metadata is information about the file rather than the content of its pages. A PDF typically stores it in two places: a document information dictionary with a few standard fields, and an XMP metadata stream, an XML block that can repeat those fields and add many more.

Field or areaWhat it can revealTypical source
TitleAn internal subject, a client name or a case referenceTyped by the author or copied from the source document
AuthorThe person or account that created the fileUser profile of the creating program
Subject and keywordsInternal labels, project codesTyped by the author
Creator and producerThe program and version that made the PDFWritten automatically on export
Creation and modification datesWhen the file was made and last savedWritten automatically on save
XMP metadataAll of the above, plus custom fields and editing history entriesWritten by the creating or editing program
Image metadataCamera details, dates, sometimes a location, for photos placed in the PDFCarried inside the embedded images

The title field deserves particular attention. A viewer may display it in the window or tab instead of the filename, so a title such as “Disciplinary file — J. Carter” can appear in front of the recipient even after every page has been redacted.

How to see a PDF’s metadata

Open the file in a PDF viewer and look for Document Properties, usually under the File menu. The description tab lists the title, author, subject, keywords, creator, producer and dates. Note each value that relates to a person, a client or an internal project.

That panel rarely shows everything. Extended XMP fields, image metadata and custom properties may need an inspection tool that can display the full metadata. If your viewer cannot show a category, write “not inspected” rather than “empty”: the two statements are different, and only one of them is a check.

Also open the comments panel, the attachments panel and the layers panel, if your viewer has them. A file can look clean on screen and still carry review notes, an embedded draft or a hidden layer.

How to remove metadata from a PDF, step by step

  1. Work on a copy. Keep the original unchanged and name the copy for its recipient.
  2. Decide what the recipient needs. A neutral title or a document date can be useful. Remove values that identify people or internal context the recipient has no reason to see.
  3. Edit the basic properties. In the document properties, clear or replace the title, author, subject and keywords.
  4. Remove the extended metadata. Editing the visible fields does not always rewrite the XMP stream. Use a function whose documentation says it removes metadata or hidden information, and check which categories it covers.
  5. Save as a new file. A plain save can append changes to the end of the PDF, and earlier values may remain in the file structure. Saving as a new copy usually rewrites the whole file.
  6. Reopen and check. Open the new copy, read the properties again and compare them with your decisions in step 2.

Some PDFs are protected so that their properties cannot be changed. If you are authorized to share the file, obtain an editable version from its owner rather than working around the protection.

Comments, attachments, layers and form fields

Metadata describes the file; hidden information is everything else that can travel with it outside the visible page. Review each category on its own and record the result.

CategoryWhat to look forCheck in the saved copy
Comments and repliesReview notes, sticky notes, highlights with text, replies explaining a redactionThe comments list is empty or contains only what the recipient should read
Embedded attachmentsDrafts, spreadsheets, earlier versions, email filesThe attachment list contains only approved files, each reviewed on its own
Optional layersContent switched off on screen but still in the fileEvery layer is listed and checked, including hidden ones
Form fieldsFilled values, choices, names typed into fieldsField values match what the recipient should see, or the fields are flattened
Bookmarks and outlineA section label that repeats a removed nameEach bookmark label is neutral and points to a page that still exists
Hidden textWhite text, text under an image, text outside the page areaSearch and selection do not reveal removed words

Attachments need the most care. A PDF embedded inside another PDF has its own pages, metadata and comments, and cleaning the parent file does not clean the attached one. Either remove the attachment or review it as a separate document.

Does redaction remove metadata?

Not as a rule. Applying redaction removes the text and images under the marked areas, but the title, author, XMP fields, comments and attachments are stored elsewhere in the file. Some redaction tools offer a separate step that removes hidden information; it is still a separate step, with its own scope.

The opposite mistake is also common: removing metadata does not redact anything on the page, and drawing a black shape over text does neither. To see why a drawn box leaves text in the file, read what changes between a black rectangle and real PDF redaction.

Scanned pages add a third layer to check: the hidden OCR text behind the page image. The guide on how to redact a scanned PDF and its OCR text covers that case.

Sanitize a PDF: what a global cleanup covers

“Sanitize” usually means one operation that removes several categories of hidden information at once: metadata, comments, attachments, hidden layers, form data, scripts and links, depending on the tool. It is fast, but its scope varies.

Before you run it, read which categories the function lists and note anything the recipient needs, such as a neutral bookmark or an approved attachment, because a global cleanup can remove useful content too. After you run it, reopen the saved copy and check each category against your list. A function called “clean” or “sanitize” shows what the program intended; only the reopened file shows the result.

Flattening or printing to a new PDF is not the same thing. It often drops comments and form fields, but the new file receives its own properties, and the title may be taken from the filename. Check the properties of the new file as if it were a different document, because it is one.

Example: a fictional report with three leaks

Imagine a fictional HR report. The name “Maya Reed” has been redacted on every page, and the copy looks ready. Three things remain outside the pages:

  • the document title still reads “Maya Reed — internal review”;
  • a comment on page 4 explains why a paragraph was removed;
  • an attachment contains the unedited draft.

A search of the page text finds nothing, because none of these items is page text. The fix takes three decisions: replace the title with “Team review — shared copy”, delete the comment, remove the attachment. Then save a new copy, reopen it and read the properties, the comments list and the attachment list again. If the recipient needs an annex, attach a separately reviewed version, not the draft.

Check the file you actually send

Before attaching the PDF to an email or uploading it, run a short final check on the exported copy:

  • Properties: title, author, subject and keywords match your decisions; note whether extended XMP was inspected.
  • Comments, attachments, layers: each list is empty or contains only approved items.
  • Search: removed names return no result. This shows the page text no longer contains them; it does not prove that images or attachments are clean.
  • Filename: the outgoing filename does not repeat a removed name.
  • The right file: the copy you attach is the one you checked, not the original.

What this check does not prove: an empty properties panel says nothing about categories the viewer does not display, and a clean main file says nothing about attached files you did not open. Record the open points in a short note such as “comments removed; attachment list empty; extended metadata not inspected”, without copying the removed personal values into it.

Every new export or edit can write new properties, especially when you export again from a Word source that still holds the author name. Repeat the check on each new version. This checklist supports a careful review; it does not establish complete anonymity or decide whether a disclosure is lawful.

Frequently asked questions

Does redacting a PDF remove its metadata?

Not necessarily. Applying redaction removes the marked page content, but the document title, author, XMP fields, comments and attachments are separate parts of the file. Check and clean them as their own step, then reopen the saved copy.

How do I see the metadata of a PDF?

Open the document properties in your PDF viewer, usually from the File menu. The description tab shows the title, author, subject, keywords, creator, producer and dates. Some viewers also show extended XMP fields; others do not, so record what you could not inspect.

Does flattening or printing to PDF remove metadata?

It often drops comments and form fields, but the new file gets its own properties, such as a producer, dates and sometimes a title taken from the filename. Open the properties of the new file instead of assuming it is clean.

Can removed PDF metadata come back?

Yes. Exporting again from a Word source that still holds the author name, or saving the cleaned file in a program that writes its own properties, can add values back. Repeat the properties check on every new export.

A thoughtful last step before sharing a PDF.

See the fictional review example

Request access to PDFRedactLab

Leave your professional email to get access to PDFRedactLab.

Submitting sends your email and visit context to BankStatementLab’s infrastructure for PDFRedactLab. No account, payment or automatic email is triggered. Privacy.