Remove Metadata from a PDF
First the hidden fields are listed for you — author, software, timestamps — then you decide. After clearing, the file is re-read to confirm every field really is empty.
What is hiding in a PDF
Besides the pages you can see, a PDF carries a short invisible description of itself: who created it,
with what software, when it was created and last modified, and what it is called. You never typed any
of it — it was written automatically on export. Word records your Windows account name. Office suites
record their version. Scanning software records the device model.
All of it is visible in File → Properties. Send a CV, a quote or a proposal and that field frequently
contains your full name or an internal company login, neither of which you meant to share.
The two places it lives
- The Info dictionary — the standard document information: Title, Author, Subject,
Keywords, Creator, Producer, creation and modification dates. This is what a reader's property
panel shows.
- XMP — an XML packet in the document catalogue that Adobe tools use for finer
detail: edit history, camera parameters, original author, software version. Many readers never
display it, but it is in the file and a script can read it in bulk.
Both are removed and the file re-serialized. Then the exported file is loaded again and every field is
read back — success is reported only when all of them come back empty.
What this does not reach
File-level metadata is one layer of the exposure surface. Author names in comments and tracked changes,
default values in form fields, and fake redactions — a black rectangle drawn over text that is still
present in the file — are all outside the scope here. They are page content, and removing them changes
the document.
Also: any digitally signed file loses its signature the moment it is modified, including by removing a
line of metadata. If the signature has to remain legally valid, leave the file alone.
Why this has to run locally
The point of stripping metadata is to stop a file travelling around carrying your details. Doing that
on someone else's server would mean uploading the file — metadata and all — first, which makes no
sense at all. This is one operation that only belongs in the browser.
What exactly is metadata, and how would anyone see it?
Besides page content, a PDF carries a small block describing itself: title, author, the software that produced it, creation and modification dates, sometimes a company name. None of it appears on the page, but File → Properties shows it in any reader, and a command-line tool can dump it from a whole folder in one go. Send a CV, a quote or a contract and the author field is often your real name or your company account name.
Can clearing it damage the file?
No. Only the description fields and the XMP block are removed; pages, fonts, images and bookmarks are untouched. After clearing, the tool re-reads the exported file and verifies the fields are actually empty — if anything survives, it reports an error rather than quietly claiming success.
What is XMP, and why treat it separately?
XMP is XML embedded in the file that Adobe applications use to record finer detail: edit history, camera model, colour profile, software version, sometimes the original author and the last person to modify it. It lives in the document catalogue’s /Metadata entry, which most readers’ property panels never display, so it is easy to forget. It is removed along with the Info fields.
Are annotation author names cleared too?
No, deliberately. An annotation’s author is part of page content — removing it either breaks the structure or leaves the comment unattributed. Handling those means deleting the comments individually in a reader, or using Acrobat’s Redact/Sanitize features. This tool works at the file level and does not touch anything visible on the page.
Is a digital signature still valid afterwards?
No. Any modification, including removing one metadata line, breaks the digest. If the document is signed and that signature must remain legally valid, do not run this on it.
Why does the author still show up in Properties after clearing?
Usually you are looking at a reader’s cache, or at the filename. Verify with an independent tool — pdfinfo, or the document information dialog in a different application. The result here is verifiable at file level: re-read the output and both the Info dictionary and the XMP packet are empty.
Can the removed information be recovered?
Not from the output file. Clearing happens on the new file you download; your original is never modified, so if you still need that information it is still on your disk.
Apart from metadata, what else can a PDF leak?
Three common ones: author names and timestamps inside comments and tracked changes; default values left in form fields; and text that was "redacted" with a black rectangle drawn over it while the characters remain in the file. Each needs dedicated handling. This tool addresses only the first layer — file-level metadata. For sensitive documents, use Acrobat Pro’s Sanitize Document for a full sweep.