PDF XMP Metadata & Info Dictionaries
A PDF stores metadata in two ways. The legacy method uses the /Info dictionary in the trailer (containing string keys for Author, Title, etc.). The modern method embeds an entire XML packet known as Extensible Metadata Platform (XMP) inside a stream object.
These sample files allow you to test enterprise search indexers and Data Loss Prevention (DLP) scanners. By reading the hidden XMP stream, your application can classify documents based on custom taxonomy tags without ever analyzing the visual text.
No metadata
A stripped document where all metadata has been aggressively purged. Essential for testing how your parser handles null fields without crashing.
Metadata
A document populated with standard legacy `/Info` dictionary tags (Author, Title, Keywords).
XMP metadata
A document containing a deeply structured embedded XML (XMP) packet to test advanced metadata extraction and XML parsing.
Frequently Asked Questions
Use Cases
- Testing Enterprise Search indexers (Elasticsearch) to ensure they map `/Info` Author and Title fields correctly.
- Validating Data Loss Prevention (DLP) scanners that read XMP tags to determine document sensitivity (e.g., Confidential=True).
- Ensuring metadata scrubbers (sanitization tools) correctly wipe both the `/Info` dict and the XMP stream before publishing.