PDF Guide

How to Remove Hidden Metadata From a PDF Before You Share It

A PDF can carry your name, software, edit dates and even old content you thought was gone. This guide shows how to find that hidden data, remove it properly and confirm it is really gone.

By NaxaHub Team
Laptop illustrating how to remove hidden PDF metadata, including author details, creation dates, location and device information, to protect privacy before sharing.

How to Remove Hidden Metadata From a PDF

A PDF you send to someone can carry more than the pages they see. It may include your name, the software you used, when the file was created and edited, comments, attachments, and sometimes older data that the visible pages no longer show. Removing it takes a few minutes, but only if you pick the right method and test the result.

The short version: clean the source file first (Word's Document Inspector), then sanitize the PDF (Acrobat Pro's Sanitize document tool), and finally re-check the file's properties. Free command-line tools work too, but some of their edits can be reversed unless you take one extra step.

Quick Answer

  • Best option if you have Acrobat Pro: All tools, then Redact a PDF, then Sanitize document. Save the result as a new file.
  • Best option if you created the PDF from Word: run Document Inspector before exporting.
  • Free option: ExifTool plus qpdf. Use qpdf afterwards, because ExifTool's own edits are reversible.
  • Always: work on a copy, then check the cleaned file.

What Metadata Can a PDF Contain?

Metadata is information about the document rather than the text on its pages. In a PDF it sits in several places, and removing one does not necessarily remove the others.

Layer

Examples

How to see it

Visible content

Headers, footers, watermarks, text under black boxes

Open and read the pages

Document properties

Author, title, subject, keywords, creating software, dates

In Acrobat: File, then Properties

Hidden objects

Comments, attachments, bookmarks, hidden layers, hidden text, form fields

Acrobat's Hidden Information panel

File structure leftovers

Older metadata or content kept by incremental saves

Specialist tools such as ExifTool

Adobe's documentation describes hidden information as including metadata, comments, file attachments and similar items you may not want to share. Information such as the file's date and its location on your computer belongs to the file system, not the PDF itself, so it behaves differently.

Check What Your PDF Reveals First

Do this before and after cleaning, so you have proof the process worked.

  1. Open the PDF in Acrobat or Acrobat Reader and choose File, then Properties. Note the Author, Title, Subject, Keywords and Application fields.
  2. Check the Comments and Attachments panels, and the bookmarks.
  3. If you use ExifTool, run exiftool -all:all yourfile.pdf to list every metadata tag it can read.
  4. Also look at the visible pages. A name in a footer is not metadata, but it identifies you just as well.

Method 1: Fix the Source File in Word Before Exporting

If the PDF came from Microsoft Office, the cleanest fix is upstream. Word has a Document Inspector that finds and removes comments, revisions, document properties and personal information, headers and footers, hidden text and custom XML data.

  1. Save a copy of your Word file.
  2. Go to File, then Info, then Check for Issues, then Inspect Document. Menu labels can vary slightly between versions.
  3. Choose the content types to check and click Inspect.
  4. Review the results and click Remove All next to the items you want gone.
  5. Export to PDF from this cleaned copy.

Treat this as a first layer, not a guarantee. The PDF export step can add its own properties, such as the creating application, so still check the PDF afterwards.

Method 2: Sanitize the PDF in Adobe Acrobat Pro

Acrobat Pro offers two related tools, and the difference matters.

  • Remove all: one step that strips hidden data and metadata with no choices.
  • Selectively remove: shows a list of what was found so you keep what you want, such as bookmarks, and remove the rest.

Steps (as described in Adobe's guide):

  1. Open the PDF in Acrobat Pro and make a backup copy.
  2. Go to All tools, then Redact a PDF.
  3. In the left panel, choose Sanitize document.
  4. Pick Remove all, or Selectively remove and tick the items to delete, then click Remove.
  5. Save the file under a new name. Adobe states the selected content is permanently removed once you save.

Two cautions. First, Sanitize is not the same as redaction. If sensitive text is on the visible page, you must redact it with the Redact tool first, then sanitize. Second, some users in Adobe's community forum report that Sanitize document did not clear certain deleted or cropped images until they also ran Remove Hidden Information. That is user experience, not an Adobe statement, but it is a good reason to verify the output.

Official reference: Sanitize PDFs in Acrobat Pro (Adobe)

Method 3: Free Tools With ExifTool and qpdf

ExifTool is a free, widely used metadata tool. It can write native PDF and XMP metadata, but it does so with an incremental update. That is fast and reversible, and it is also the catch: the original values can still be in the file. ExifTool's own documentation explains the original can be recovered by deleting the PDF-update pseudo-group, and says old information can be removed permanently afterwards with qpdf.

A typical workflow, run on a copy:

  1. Clear the tags: exiftool -all:all= copy.pdf
  2. Rewrite the file with qpdf: qpdf --linearize copy.pdf cleaned.pdf
  3. Verify: exiftool -all:all cleaned.pdf

The linearize step is the one that matters for privacy, since it writes a fresh file rather than appending to the old one. Linearizing also optimises the PDF for fast web viewing as a side effect.

Some security practitioners go further: building a new PDF from the pages of the old one (for example with qpdf's page-selection options) so nothing from the original file structure comes along. Test any approach on a non-sensitive file first, and note that embedded objects such as images can carry their own metadata.

Official reference: ExifTool PDF tags documentation

Which Method Should You Use?

Situation

Suggested approach

Why

You still have the Word file

Document Inspector, then export, then check

Fixes the problem at the source

You only have the PDF and own Acrobat Pro

Sanitize document

Single tool, clear steps

You need to keep bookmarks

Selectively remove

You choose what goes

No paid software

ExifTool, then qpdf, then verify

Free, but needs the command line

PDF contains sensitive visible text

Redact first, then sanitize

Metadata tools do not erase visible text

Legal, tender or regulatory filing

Follow the receiving body's rules, then verify

Some bodies have specific requirements

A Realistic Example (Hypothetical)

Say a freelance designer exports a proposal from Word and emails it to a prospective client. The PDF's Author field shows the name of a former employer's licensed Office account, and a comment from an earlier draft mentions a competitor's quote. Running Document Inspector on the Word file would have caught both. If only the PDF is left, Sanitize document in Acrobat removes the metadata and comment, and a final look at File, then Properties confirms the Author field is empty. This is an illustration, not a real case.

Common Mistakes and Fixes

  • Editing the Author field and stopping there. Changing one field leaves other metadata, XMP data and comments in place. Use a full sanitize or scrub, then check.
  • Trusting a tool that reverses. If you used ExifTool alone, run qpdf afterwards and confirm.
  • Forgetting to save. Adobe notes removal takes effect when you save, so a closed, unsaved file is unchanged.
  • Overwriting your only copy. Removal cannot be undone once saved. Keep a backup.
  • Mixing up redaction and sanitization. Hiding text with a black rectangle does not delete the text beneath it. Use a proper redaction tool.
  • Not re-checking. Reopen the cleaned file and inspect its properties before sending.

Important Limitations

  • Acrobat's Sanitize and Remove Hidden Information are features of Acrobat Pro. Reader does not offer them.
  • Cleaning metadata does not hide what the pages themselves say.
  • Digital signatures and some compliance formats may break if you modify the file. Clean before signing.
  • Menu names and features change between software versions, so check against your version.
  • Some organisations require specific metadata, such as titles for accessibility. Removing everything can reduce usability, so keep what you need.
  • No method here is guaranteed against a determined forensic examiner. For high-risk documents, use a professional document-security workflow.

Frequently Asked Questions

Does Save as PDF in Word remove metadata? No. Export can carry document properties across, so inspect the Word file first and check the PDF afterwards.

Can I remove PDF metadata for free? Yes. ExifTool and qpdf are free, though they use the command line. Verify the result.

Can removed metadata be recovered? After an Acrobat sanitize and save, Adobe says the content is permanently removed. With ExifTool alone, edits can be reversed unless you rewrite the file, for example with qpdf.

Is Sanitize the same as Redact? No. Redaction removes visible content you mark. Sanitization removes content you cannot see. Use both when needed.

Will it change how the PDF looks? Normally not, but always compare the cleaned file with the original, particularly if you removed layers, bookmarks or form fields.

Should I remove all metadata? Not always. A document title helps accessibility and search. Remove personal and internal data, and keep what the reader needs.

Final Recommendations

Build the habit as a short routine: copy the file, clean the source, sanitize the PDF, then open the properties and confirm. If you have Acrobat Pro, Sanitize document is the simplest path. If you do not, ExifTool with qpdf is a sound free route, as long as you run the qpdf step. For anything legally or commercially sensitive, add a second person's check before the file leaves your hands.

We use optional Google Analytics cookies to understand website use. Choose whether to allow them; the PDF tools work either way. Read our Privacy Policy. You can change your choice in Cookie settings.