Blog
GuidesUpdated Nov 8, 2026·11 min read·By Lars

How to Check What Metadata Your PDF Contains (and Confirm It’s Actually Gone)

PDFmetadataverificationAdobe Acrobatprivacy

Most guides tell you how to remove metadata from a PDF. Far fewer tell you how to check that it worked, which is the step that actually matters, because the most common way people leak data isn’t failing to remove it, it’s thinking they removed it when they didn’t.

The classic example: in 2019, lawyers for Paul Manafort filed a court document with sensitive passages hidden under thick black bars. The underlying text had never been deleted from the file, only visually covered. A reporter highlighted the blacked-out sections, copied them, and pasted them into a blank document. The hidden content appeared instantly, and it was front-page news within hours.

That’s the gap between “looks clean” and “is clean.” Here’s how to check what’s actually in your PDF, and how to confirm it’s gone before you share it.

TL;DR

Clearing a PDF’s Author field in the Properties panel doesn’t mean the metadata is gone. A PDF keeps it in five places: the Document Info fields, the XMP stream (Acrobat’s Additional Metadata, Advanced), hidden content such as comments and failed redactions, the file properties your operating system shows, and earlier versions of the file itself, because many tools save a change by appending it and leaving the old values in place. Checkers, Acrobat’s Properties panel included, only show the current version. The reliable workflow is check, remove with a tool that rewrites the whole file, then check again, including a search of the file for any name you removed. A browser-based viewer like MetaStrip shows the Info fields and the XMP stream, flags leftovers from earlier edits, and writes a fresh file when it removes them.

Why clearing the Author field isn’t enough

A PDF stores metadata in more than one place, and clearing the obvious field doesn’t touch the others. There are really five distinct layers to check:

The Document Information dictionary, the basic fields: Title, Author, Subject, Keywords, Creator (the app that made the content), Producer (the app that wrote the PDF), and dates. This is what you see in the “Properties” panel.

The XMP metadata stream, a separate, more extensive metadata block in Adobe’s XMP format. It can hold copies of the Doc Info fields plus edit history and custom properties. Critically, clearing the Description fields does not automatically clear the XMP stream. This is the single most common reason a PDF looks clean but isn’t: the Author field reads blank while the same name still sits in the XMP block.

Hidden content, comments, annotations, tracked-change remnants, cropped-but-not-deleted objects, overlapping layers, form-field data, and failed redactions (the Manafort problem). This isn’t “metadata” in the strict sense, but it’s hidden data that leaks the same way.

OS-level file metadata, the creation/modification dates and author your operating system shows in the file’s properties. This is separate from the PDF’s internal metadata, and confusing the two is a common mistake: a blank Author in Windows Explorer tells you nothing about what’s inside the PDF.

Earlier versions of the file. Many PDF tools save a change as an incremental update: the new values go on the end of the file and the old ones stay where they were. The file opens showing only the latest version, so every checker shows the latest version too, but the old author, title or deleted comment is still in the bytes. More on this below, because it’s the layer almost nobody checks.

Verification means checking all five, not just the first.

See what your PDF is actually carrying

Reads the Info dictionary and the XMP packet, in your browser. Nothing uploaded.

Open MetaStrip →

How to check metadata in Adobe Acrobat

If you have Acrobat, here’s the full verification pass.

Basic fields: Open the PDF, go to the top-left Menu (or File) → Document Properties (shortcut Ctrl+D / Cmd+D). The Description tab shows Title, Author, Subject, Keywords, plus Creator and Producer. This is the first thing anyone receiving your file can see in seconds.

The XMP stream: In that same Description tab, click Additional Metadata → Advanced. This exposes the XMP entries, which is where data hides after a basic field-clear. If you cleared the Description fields but skipped this, anything in here survived.

Hidden content: In current Acrobat, go to All tools → Redact a PDF → Sanitize document and choose Selectively remove. (Older versions call this Tools → Redact → Remove Hidden Information.) Acrobat scans the whole file and returns a checklist of everything it found: metadata, comments, hidden text, attachments, bookmarks, overlapping objects, form data. You don’t have to remove anything to check; running the scan tells you what’s actually in there. If it reports comments, hidden text, or attachments you thought were gone, the file isn’t clean yet.

That three-part pass, Description, Additional Metadata/XMP, and the hidden-information scan, is the difference between assuming and confirming for the current version of the file. It won’t show you earlier versions; for those, see below.

How to check without Acrobat

You don’t need a paid Acrobat licence to inspect a PDF.

Any PDF reader’s properties panel shows the basic Document Info fields. Free readers expose File → Properties / Document Properties. This covers the first layer but not XMP or hidden content.

A browser-based metadata viewer reads the full property set, Doc Info and XMP, without installing anything. This is the fastest way to see what’s embedded, and a client-side one keeps the file on your device. MetaStrip’s free tool to check PDF metadata does exactly this: drop the PDF in and it shows you what metadata is present (Author, Producer, Creator, Title, Subject, Keywords, dates, and the XMP/custom properties) before you decide to remove anything. It also flags leftovers from earlier edits, objects the document no longer uses but the file still contains, and it tells you when a PDF is password-protected rather than calling it damaged. Because it runs entirely in your browser, the file never gets uploaded, which matters when the whole point is checking a sensitive document for leaks.

ExifTool (command line) reads everything in the current version for technical users: exiftool document.pdf dumps the full metadata set, including fields some GUI tools don’t surface. Don’t rely on it to remove PDF metadata, though, for the reason in the next section.

The layer checkers miss: earlier versions inside the file

When you change a PDF and save it, many tools don’t rewrite the file. They append an incremental update: the changed objects go on the end, and the old ones stay where they were, no longer used but still there. It’s a legitimate part of the PDF format, and it’s how signed PDFs keep their signatures valid as people add to them. It also means a file can show one author in every checker while another name is still sitting in its bytes.

ExifTool, the most widely used command-line metadata tool, works this way on purpose. Its own manual says: “Changes to PDF files by ExifTool are reversible […] because the original information is never actually deleted from the file. So ExifTool alone may not be used to securely edit metadata in PDF files.” We tested it on 8 November 2026: after exiftool -all= on a PDF, ExifTool reported no Author or Title, and the original author’s name was still in the file twice.

The same test caught MetaStrip. It rewrites the whole PDF, but the library it uses kept every object it had loaded, including ones nothing referred to any more, so a PDF that ExifTool had “stripped” came out of MetaStrip with its first author’s name still inside. That’s fixed: MetaStrip now drops everything the document no longer uses before it saves, and lists it in the review as “Leftovers from earlier edits”, so you can see it was there.

Search the file for what you removed. Open the PDF in a plain text editor, or run grep -a "Alice" file.pdf, and search for the name or text you took out. If it’s found, it’s still in the file. Not finding it isn’t proof, because some PDFs compress their metadata, but finding it settles the question.

Count the end-of-file markers. Each incremental update adds a %%EOF line, so grep -c %%EOF file.pdf returning more than 1 means the file has been updated in place. A PDF saved for fast web view (linearised) has two by design, so treat 2 as a reason to look, not as proof.

How to remove it: use a tool that writes a fresh file instead of appending to the old one. MetaStrip does, in your browser. qpdf input.pdf output.pdf does too: in our test, its rewrite of the ExifTool-stripped file no longer contained the old name. Then search the new file again. One caution: rewriting a digitally signed PDF breaks its signature, MetaStrip’s rewrite included, so clean a document before it’s signed, not after.

The verification workflow: check, clean, check again

The reliable pattern is to inspect before and after removal, because “I ran a remover” isn’t proof the file is clean.

1. Check first. See what’s actually in the file. You may find things you didn’t expect: a previous employee’s name in Author, your software version in Producer, a location, a custom property from your template, or comments you thought were deleted.

2. Remove. Strip what you found, using whatever tool you prefer. (MetaStrip removes the Doc Info fields, the XMP stream and any leftovers from earlier edits, then writes a fresh file, all client-side; Acrobat’s Sanitize document handles hidden content like comments and attachments too.)

3. Check again; this is the step people skip. Reopen the cleaned file and re-inspect. The Author, Creator, Producer, and custom fields should read empty, a hidden-information scan should come back clear, and a search of the file for any name you removed should find nothing. This catches the XMP-survival problem, any hidden content the first pass missed, and an old version left behind by an incremental save.

The reason step 3 matters so much: the failure modes are silent. Nothing warns you that the XMP stream still has your name, or that a comment survived. The only way to know is to look.

“Should I even remove PDF metadata?”

A fair question, and the answer is: it depends on where the file is going.

Remove it when the PDF is leaving your organization, going to a counterparty, a client, a court, a public website, anywhere outside your control. Producer/Creator fields reveal your software and OS; Author reveals names; custom properties can leak template origins and internal data; and comments or tracked-change remnants can expose your editing process or things you meant to delete.

Keep it when metadata serves a purpose: internal document management, searchability, accessibility (screen readers use some fields), archiving, and compliance contexts where provenance is required. Metadata isn’t inherently bad; it’s a privacy risk specifically when a file crosses a trust boundary carrying data you didn’t mean to share.

The practical rule: inspect every PDF before it leaves your hands, and remove what shouldn’t travel with it. Inspection is cheap; the leak is not.

A note on “does downloading change the metadata?”

One genuine point of confusion: some workflows (re-saving, printing-to-PDF, exporting from certain tools) do alter or strip metadata as a side effect, and others preserve it exactly. Printing to PDF, for instance, strips most metadata but not always all of it. If you need a file’s metadata to stay intact (for provenance or recordkeeping) or to be reliably gone (for privacy), don’t assume the download/export did what you want; verify the resulting file with one of the checks above. The output of a “Save As” or “Print to PDF” is a new file, and its metadata is whatever that operation produced, not necessarily what the original had.

The bottom line

Removing PDF metadata is easy. Confirming it’s gone is the part that actually protects you, and it takes more than one check: the basic Description fields, the XMP stream behind Additional Metadata, a hidden-information scan for comments and buried content, and a search of the file itself for anything you removed, because a normal save can leave the old version inside. A file that’s blank in the Properties panel can still carry your name in XMP, in a hidden layer, or in an earlier version of itself, and you’ll never know unless you look.

Drop a PDF into MetaStrip to see exactly what it’s carrying right now, across both the standard fields and the XMP stream, then remove what shouldn’t be there, in your browser, and check again to confirm it’s clean before you send it.

FAQ

How do I check what metadata a PDF contains? Open Document Properties (Ctrl+D / Cmd+D) for the basic fields, then Additional Metadata, Advanced for the XMP stream, and run All tools, Redact a PDF, Sanitize document (Selectively remove) for comments and buried content. Without Acrobat, a browser-based metadata viewer like MetaStrip shows the Document Info fields and the XMP stream in one pass.

Why does my PDF still show an author after I cleared it? Because clearing the Description fields doesn’t automatically clear the XMP metadata stream, which keeps its own copy of the author name and other fields. This is the single most common reason a PDF looks clean but isn’t; you have to clear the XMP block too.

Does removing PDF metadata delete hidden text or comments? Not necessarily. Metadata removal clears the Document Info and XMP fields, but comments, annotations, tracked-change remnants, and failed redactions are hidden content, not metadata. Acrobat’s Remove Hidden Information or Sanitize Document handles those.

Do I need to remove PDF metadata at all? It depends on where the file is going. Remove it when the PDF leaves your organization: Producer and Creator reveal your software, Author reveals names, and custom properties can leak template origins. Keep it for internal document management, searchability, and archiving, where provenance is useful.

How do I confirm PDF metadata is actually gone? Reopen the cleaned file and re-inspect it: the Description fields, the XMP stream, a hidden-information scan, and the OS file properties. Author, Creator, Producer, and custom fields should read empty and the hidden-information scan should come back clear. Then search the file itself for any name you removed, to catch an earlier version left inside. Skipping this second check is how people leak data they thought they’d removed.

Can deleted PDF metadata be recovered? Yes, if it was removed with an incremental save. Many tools, ExifTool included, append changes to the end of the file and leave the old values in place, so the original author or title can still be read from the file’s bytes. To remove it for good, use a tool that rewrites the whole file, such as MetaStrip or qpdf, then search the new file for the text you removed.

Try it now

Strip metadata from your files.

Free, no account, no upload, no cookies.

Open MetaStrip →
Lars Holmstrom
Written by
Lars Holmstrom

Lars is a cybersecurity and privacy specialist and the developer of MetaStrip, an open-source, client-side metadata-removal tool.

More from Lars →