New Tool Radar

AI PDF

How to Check XMP Metadata Matches Document Info in a PDF

Check that the XMP metadata in a PDF matches the document info dictionary before you archive or share the file.

Schematic illustration of a metadata check: read the document info title, read the XMP title, and compare the fields.

A PDF carries its title and author twice: once in the old document info dictionary and once in the newer XMP metadata stream. When the two disagree, search tools and archivers pick one at random, and the file is catalogued under the wrong title. This guide checks both on one PDF.

Prerequisites

A PDF and a tool that shows both metadata sets, such as Acrobat Pro, exiftool or qpdf with JSON output. Work on a copy.

Steps

1. Read the document info title

Open the document properties and read the title. Expected result: the title reads Annual Report 2026.

2. Read the XMP title

Read the XMP metadata title with the same tool. Expected result: the XMP title also reads Annual Report 2026.

3. Compare the author in both places

Read the author from document info and from XMP. Expected result: both read Maple Corner Ltd.

4. Record any mismatch

Record every field where XMP and document info disagree. Expected result: a note that lists the mismatches or confirms both sets matched.

Practice check: fictional annual report PDF, metadata check

The table below is fictional practice material. It lists the fields and the values both metadata sets must hold.

Field Value
Title Annual Report 2026
Author Maple Corner Ltd
Subject Community report
Keywords report, 2026

Expected result. the XMP metadata matches the document info on all four fields: title, author, subject and keywords.

Limits

  • Matching metadata proves the two sets agree, not that they are right; a wrong title copied into both places still needs a human to catch it.
  • UNTESTED – no OCR tool or AI tool was run; all results above are expected results. The practice file is fictional.

Sources

See all