New Tool Radar

AI PDF

How to Check Whether a PDF’s XMP Metadata Matches Its Document Information Fields

Compare the XMP metadata in a PDF with the Title, Author, and Subject shown in Document Properties to catch stale or mismatched fields.

Schematic with three steps: Read the document information fields; Read the XMP metadata; Compare field by field and fix mismatches.

A PDF stores its title and author twice: once in the document information fields and once in the XMP metadata stream. When the two copies disagree, search results and catalogues can show the wrong title or an old author name.

What you need

  • Adobe Acrobat or another PDF reader that shows Document Properties
  • A PDF whose metadata you maintain
  • Access to the Additional Metadata view in Acrobat

Step 1: Read the document information fields

Open the PDF, choose File, then Properties, and read the Title, Author, Subject, and Keywords on the Description tab.

Step 2: Read the XMP metadata

In the same dialog, click Additional Metadata, then Advanced, and read the same fields grouped by schema in the XMP stream.

Step 3: Compare field by field and fix mismatches

Note every field where the two copies differ. Edit the Description tab fields, save, and re-open the metadata to confirm both copies now agree.

Worked example: synthetic metadata comparison on a white paper

The table below is a synthetic example. It shows the expected result of the comparison; no comparison was run.

Field Document info XMP metadata
Title Cloud Migration Guide Cloud Migration Guide
Author J. Rivera Old Team Name
Subject Migration planning Migration planning
Verdict Mismatch Update the XMP author

Expected result (UNTESTED). the title and subject match, but the XMP author still shows the old team name while the document information shows the current author, so the XMP copy needs updating. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • Some PDF tools update only one of the two metadata copies, so a fix must be re-checked in both places.
  • Third-party metadata editors can write XMP that Acrobat displays differently.
  • Metadata is not visible on the page, so a mismatch is easy to miss without this check.

Sources

See all