What PDF metadata is
Besides its pages, a PDF can carry information about itself that is not printed on any page. The classic place is the document information dictionary. ISO 32000, the PDF standard, defines these entries:
| Entry | Shown here as | What it usually holds |
|---|---|---|
| Title | Title | The document title |
| Author | Author | The person who wrote the document |
| Subject | Subject | A short description |
| Keywords | Keywords | Search words |
| Creator | Creator | The app the original document was written in |
| Producer | Producer | The app or library that wrote the PDF |
| CreationDate | Created | When the PDF was made |
| ModDate | Last modified | When it was last changed |
Apps can add entries of their own, which the tool lists under Other properties so you can remove them. In PDF 2.0, every entry above except the two dates is deprecated in the information dictionary, and the same details are expected in XMP metadata instead.
XMP metadata
XMP (Extensible Metadata Platform) is an XML format for metadata, stored in a PDF as a metadata stream of the document catalog. It can hold the title and author again, the app that created the file, dates, and IDs. Adobe's XMP specification describes a document ID shared by all versions of a document and an instance ID that changes with each save, and an original document ID that links a file to the file it was saved from. Some apps also write an edit history. The tool shows the common XMP values and the full XML, so you can see exactly what is there.
When you edit the fields above, the XMP copy is not rewritten. That is why Remove the XMP metadata when saving is ticked: otherwise an app that reads the XMP could still show the old title or author. Keep the XMP only when you need it, for example in a PDF/A archive file, which declares its PDF/A level in the XMP; the tool tells you when it finds that declaration.
Remove all metadata
Remove all metadata deletes the document information dictionary and every XMP metadata stream in the file, including XMP attached to single pages, images or fonts. The tool writes the whole file anew and leaves out every object the document no longer uses, so the old values are not left behind in the saved copy. Your original stays as it is.
Metadata is not the only place where a PDF tells something about where it comes from. After you open a file, the tool lists what else it finds, without changing it:
- Names on comments: sticky notes and markup carry the name of their author. Remove them with Remove PDF Annotations.
- Attached files: their file names and contents stay in the PDF.
- Layers: a hidden layer is not shown, but its content is still in the file.
- Form values: text typed into form fields stays in the form.
- Font names: the pages need their fonts, so they stay, and their names stay with them.
And of course the pages themselves: names, signatures or letterheads printed on them are content, not metadata. To black out text on the pages, use Redact PDF.
How to edit or remove PDF metadata
- 1Drop your PDF on the box or choose it. The fields show its title, author, apps and dates, and the XMP section shows the XMP metadata if there is any.
- 2Edit the fields, or empty the ones you want gone. To clear everything, press Remove all metadata instead.
- 3Save. The new copy downloads with "-edited" or "-no-metadata" in its name. Open it in your PDF viewer and check its document properties.
Sources
- Arlington PDF Model, PDF Association: DocInfo: the entries of the document information dictionary, the PDF versions that introduced them, and that all but CreationDate and ModDate are deprecated in PDF 2.0
- Arlington PDF Model, PDF Association: Catalog: the Metadata stream of the document catalog (PDF 1.4)
- Adobe XMP Specification Part 1 (April 2012): 8.3 Dublin Core properties such as dc:title and dc:creator, 8.4 xmp:CreatorTool and dates, 8.6 xmpMM:DocumentID, InstanceID and OriginalDocumentID
- Adobe Acrobat JavaScript API reference, Doc properties: info, the document information dictionary, and metadata, the XMP metadata as XML
Guide on this topic
Frequently asked questions
What is PDF metadata?
Information about the document that is stored inside the file but not printed on the pages: title, author, subject, keywords, the app that made it and the dates it was created and last changed. Many PDFs also hold a second copy in XMP, an XML format, which can include more, such as document IDs and an edit history.
Does Remove all metadata make a PDF anonymous?
It removes the document properties and every XMP metadata stream, the places where names and app details are stored as metadata. It does not remove what is on the pages, comment author names, attached files, layers or form values. The tool lists those it finds, so you can deal with them separately.
Why should I remove the XMP when I edit the title or author?
The XMP holds its own copy of title, author and dates, and the tool does not rewrite it. If you keep it, apps that read the XMP may still show the old values. Removing it leaves only the values you typed.
Can I change the creation date?
Yes. Both dates can be set, cleared or set to the current time. They are shown and saved in your own time zone. A date only says what is written in the file, so it is not proof of when a document was really made.
Is my PDF uploaded?
No. Your browser reads the PDF and writes the new copy on your device. Nothing is sent to a server, which matters most for files whose metadata you want to keep private.
Does it work with encrypted PDFs?
No. If the PDF has a password or editing restrictions, its metadata can only be changed after it is unlocked. If you are allowed to, remove the protection with Unlock PDF first.